Bug #15193: Module loads but does not work
| From: | stephen at brightonline dot com dot au | Date: | Thu, 24 Jan 2002 02:34:28 +0000 |
| Subject: | Bug #15193: Module loads but does not work | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-77954@lists.php.net to get a copy of this message | ||
From: stephen@brightonline.com.au
Operating system: solaris 2.8
PHP version: 4.1.1
PHP Bug Type: Dynamic loading
Bug description: Module loads but does not work
I am trying to get php 4.1.1 as a DSO to work with apache 2.0.28 running on
solaris 2.8.
While I can compile both apache and php fine, when I load it as a module,
php does not work, and it stops any other CGI (such as perl) working as
well. Apache returns a 500 error saying the script header did not complete
when I try to run a .cgi program. When I test a php script it asks to be
downloaded.
apache config
./configure --prefix=/opt/apache --localstatedir=/var/run --enable-proxy
--enable-proxy-http --enable-proxy-connect --enable-cgi --enable-rewrite
--enable-so
I have also try with --enable-php4
php config
./configure --prefix=/opt/php --with-apxs2=/opt/apache/bin/apxs
--enable-track-vars --enable-versioning
I have also tried with --enable-libgcc --with-gnu-ld
httpd.conf file is change to add the
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php
--
Edit bug report at: http://bugs.php.net/?id=15193&edit=1