cmustard wrote:
I run apache 1.3.26 and mod_perl, i recently did 'apt-get install php4', which installed fine and ran apachectl when finished which i assumed meant that it set up apache and php to work together and loaded php4 as a DSO, so i edited the httpd.conf and uncommented all the #php4 lines like the LoadModule line and mime-type lines. I restarted apache and attempted toview php pages, with no luck.
what happened when you tried - any error messages in the logs ? did apache just send the php source ?
Do i have to ./configure php or re-compile apache to work together? I got plenty of doc support on apache and php sites but no specific debian 'apt-get' info on exactly what to do, orwhere to go from here. I know the beauty of apt-get is that you don't have to do a lot of the normal compiling etc, like on other systems.
apt-get php4 worked for me the relavent lines in my httpd.conf are LoadModule php4_module /usr/lib/apache/1.3/libphp4.so AddType application/x-httpd-php .php (and I may have adjusted these manually) -- Sean