I've built php DSO on HP-UX for apache 1.3.14. I performed a "make" OK but the make install failed, so I manually copied the libphp4.sl (renamed to libphp4.so) to the relevant apache directory. Edited the httpd.conf file and tried to start apache. This is when I got the following error;
apachectl restart: httpd not running, trying to start
/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage: /us
r/lib/libcl.2
/usr/lib/dld.sl: Exec format error
Syntax error on line 241 of /opt/apache/etc/httpd.conf:
Cannot load /opt/apache/lib/modules/libphp4.so into server: Exec format error
apachectl restart: httpd could not be started
Can anyone help me ?
Thanks in advance
Andy