[Solaris9 - Sparc - PHP4.3.2 - Apache 1.3.27 - mod_ssl2.8.14-1.3.27 - OpenLDAP2.1.17 - OpenSSL0.9.7b]
I've had this combination working for a while on a test box. When I tried to build it again on another server with the same OE, it misbehaves.
It appears my Apache is serving up the .php file and my browser is prompting me to save it. HTML and other files are served ok.
If I create a .php file with <?phpinfo()>, I'm prompted to Save As or Open File With. If I rename it .html, I get a blank page.
I'm guessing my apache/libexec/libphp4.so is not being loaded correctly or corrupted?
I've tried to attach output from CLI# php -i > php-i.txt but it doesn't seem to appear in this forum. I can send or post it if helpful.
The result of PHP 'make test' shows these errors -
SKIP PEAR_Error: basic test [pear/tests/pear_error.phpt]
SKIP PEAR_Error: die mode [pear/tests/pear_error2.phpt]
SKIP PEAR_Error: default error handling [pear/tests/pear_error3.phpt]
SKIP PEAR_Error: expected errors [pear/tests/pear_error4.phpt]
Are these related?? Critical?? The package seems to 'make install' successfully.
My apache httpd.conf includes -
LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c
DirectoryIndex index.html index.swf index.php
AddType application/x-httpd-php .php
I successfully compiled Apache_1.3.27 with -
./configure --prefix=/usr/local/apache --enable-module=ssl --enable-shared=ssl --enable-module=rewrite --enable-module=so
I successfully compiled PHP4.3.2 with -
./configure --with-apxs=/usr/local/apache/bin/apxs --with-zlib=/usr --with-mysql=/usr/local/mysql --with-netbpm=/usr/local/netbpm --with-ldap=/usr/local/openldap --with-openssl=/usr/local/ssl
Can anyone help shed some light on this??
Any help much appreciated.