I had to recently rebuild my system as a result of my own stupidity
and now I can't get php to work with apache.  I don't remember doing
anything other than urpmi before, so I have no clue why it wouldn't
work.

[07:19:31 rpms]$ rpm -qa|grep php
mod_php-4.3.4-1mdk
php-ini-4.3.4-1mdk
libphp_common432-4.3.4-4.1.100mdk
[07:19:53 rpms]$ rpm -qa|grep apache
apache-1.3.29-1.2.100mdk
apache2-common-2.0.48-6.3.100mdk
apache-conf-2.0.48-2mdk
apache-mod_perl-1.3.29_1.29-3.1.100mdk
apache-modules-1.3.29-1.2.100mdk


When I try and open a php file it just tries to offer it up for download.

I'm not entirely sure what to look for in the conf files, but this
looks reasonable:

[07:25:23 conf]$ grep php *
apache-mime.types:application/x-php             php php3 php4
commonhttpd.conf:    DirectoryIndex index.html index.html.var
index.php index.php3 index.shtml index.cgi index.pl index.htm
Default.htm default.htm index.xml
commonhttpd.conf:    AddIcon /icons/p.png .pl .py .php .php3
commonhttpd.conf.orig:    DirectoryIndex index.html index.html.var
index.php index.php3 index.shtml index.cgi index.pl index.htm
Default.htm default.htm index.xml
commonhttpd.conf.orig:    AddIcon /icons/p.png .pl .py .php .php3
httpd2.conf:# cgi or php files
httpd.conf:LoadModule php4_module    extramodules/libphp4.so
httpd.conf:AddModule mod_php4.c
httpd.conf:# cgi or php files
httpd.conf:Include  conf/addon-modules/php.conf
httpd-perl.conf:LoadModule php4_module    extramodules/libphp4.so
httpd-perl.conf:AddModule mod_php4.c
httpd-perl.conf:Include  conf/addon-modules/php.conf


the directory that the files are in is marked executable.  I'm at a
loss.  Any ideas?

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to