Re: PHP4 and Apache 1.3.20 DSO mode not working?

From: Date: Sun, 02 Sep 2001 17:01:18 +0000
Subject: Re: PHP4 and Apache 1.3.20 DSO mode not working?
References: 1  Groups: php.general php.install 
Request: Send a blank email to php-general+get-65652@lists.php.net to get a copy of this message
If Apache wasn't detecting the PHP script files your testing with (and 'loading' PHP to parse and execute it), you'd at least just have the 'text' of the script displayed in the browser. You haven't provide much detail on 'how' you installed the products or the 'config' statements you used... ----- Original Message ----- From: "Bill Carter" <nospam@austin.rr.com> To: <php-install@lists.php.net>; <php-general@lists.php.net> Sent: Sunday, September 02, 2001 9:52 AM Subject: [PHP-INST] PHP4 and Apache 1.3.20 DSO mode not working? > I'm running RedHat Linux 7.0+ and trying to get PHP 4.0.6 working > with Apache 1.3.20 as a DSO. These are the most recent stable versions. > I'm compiling the sources, the compiles finish with no errors and I get > a libphp4.so file. > > Has anyone been able to compile these versions of Apache and PHP4 and > be able to run PHP4 as a DSO? I don't see how it can be done. Has > anyone been able to do this successfully? > > Apache won't load the PHP module, it complains that its "garbled" and > maybe isn't really a DSO module. When I look at the Apache source it > appears to be expecting a MODULE_MAGIC_COOKIE field in the "module" > structure of a DSO, if it doesn't see this then the load will fail. > Searching around through the PHP4 code I don't see anyplace where it > is referencing MODULE_MAGIC_COOKIE. Did the Apache module structure > change at some point and the PHP code not retain compatibility? Maybe > I should try backing up to an earlier revision. Can someone suggest > versions of Apache/PHP that do definitely work together? > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > For additional commands, e-mail: php-install-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#65652) next »