LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   apache won't parse php argghgh (https://www.linuxquestions.org/questions/linux-software-2/apache-wont-parse-php-argghgh-285087/)

dtra 02-01-2005 06:36 PM

apache won't parse php argghgh
 
hi all

using apache 2 from redhat9 cd
php5.0.3 src

i really desperately need to get apache2 to parse php5 on my devserver

but it just won't parse php

this line is in the httpd.conf
Code:

LoadModule php5_module        /usr/lib/httpd/modules/libphp5.so
and that libphp5.so exe is where it should be

these lines are included in the httpd.conf via a file called php.conf
Code:

<IfModule mod_php5.c>
        AddType application/x-httpd-php .php .php5
</IfModule>

DirectoryIndex index.php index.php5 index.php3

php runs from the command line, so that's not the problem

bit of background
originally had php 4.3.9 running fine
tried to install php 5 parallel, didn't work, and then php4 stopped working
so i removed the apache package, and reinstalled it
then reinstalled php5, restarted apache, nothing
html is fine, but php is not, so obviously the module is not loaded correctly or something

would really appreciate if someone can give me something here
if possible using msn or mirc or something for live help would very much be appreciated

thanks
dave

cs-cam 02-01-2005 07:49 PM

Did you actually compile the apache module or have you only got the php cli?

dtra 02-01-2005 08:03 PM

ok, apache i installed from the redhat cd
and php i compiled from src, '--with-apxs2filter', is that it?

Polaris408 02-17-2005 05:28 PM

what was your config command line for php?


All times are GMT -5. The time now is 12:06 PM.