Damon wrote:

I'm using Redhat 7.1.  I wanted to install Slash, which required recompiling
Apache through the mod_perl install.  I told apache to include mod_so so I
could compile a DSO version of php.

As a DSO you need the AddModule and LoadModule lines in httpd.conf, and "httpd -l" needs to show mod_so.c.....


The mod_php4 appears to be loading:

# /usr/local/apache/bin/httpd -l
Compiled-in modules:
 http_core.c
 ...
 mod_perl.c
 mod_php4.c

....but you seem to have compiled it into Apache itself (otherwise mod_php4.c would not be shown).

[Mon Dec 30 16:33:10 2002] [notice] Apache/1.3.27 (Unix) PHP/4.2.3 PHP/4.2.3

should there be two "PHP/4.2.3"'s in that line?  If I take out the

No, I don't think so. It shows you have both compiled-in and DSO loading.

LoadModule directive for PHP (there's only one in httpd.conf) then I get

[Mon Dec 30 16:46:49 2002] [notice] Apache/1.3.27 (Unix) PHP/4.2.3

That looks better.

I'd suggest deciding on one or the other, trying it then re-posting results here. I don' know these particular versions but they should be OK.

A phpinfo() will show where your php.ini should be. Its an option that you compiled PHP with.

HTH
Chris


--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to