I have looked at every thread possible to try & resolve this problem, but no luck.

Basically, I installed apache & installed PHP. Both went fine except for the axps part which just required renaming the libphp4.sl to libphp4.so & re-running the apxs:

/usr/local/apache/bin/apxs -i -a -n php4 libs/libphp4.so

Which worked fine as well.

I added the following to the httpd.conf:

LoadModule php4_module /usr/local/apache/libexec/libphp4.so

AddModule mod_php4.c
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

Here is the result when I try to start up Apache:

/usr/local/apache/bin/apachectl start

/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage: /usr/lib/libcl.2
/usr/lib/dld.sl: Exec format error
Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: Exec format error
/usr/local/apache/bin/apachectl start: httpd could not be started

And here is the result of apachectl configtest:

/usr/local/apache/bin/apachectl configtest
/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage: /usr/lib/libcl.2
/usr/lib/dld.sl: Exec format error
Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: Exec format error

Any ideas? I would greatly appreciate any help.

Thanks,

Jason Martin

    6 days later

    Can anybody help me on this?

    Thanks in advance.

    Jason Martin

      Write a Reply...