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" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]