Plz excuse the thread title.. i said "php and php5" instead of "php4 and php5"!
I recently followed the howtoforge article on setting up php4 and php5 on Sarge. (
http://www.howtoforge.com/apache2_with_php5_and_php4)
Everything seemed to work during the setup except that i couldnt install all the packages - it could not find some (e.g. php5-pdo-mysql). anyway, i carried on with the instructions and this is my problem:
.php files are correctly being handled by the apache2 handler, i have verified this by using the phpinfo() function. However when i try to browse a .php4 extension i get "object not found" (HTTP 404)
it is as though apache2 doesnt know what to do with .php4 files, even though i have added the following lines to apache2.conf:
AddHandler php-script .php4
Action php-script /cgi-bin/php4
heres what i have currently installed for php4 and php5:
~# apt-show-versions | grep php
php4-cgi/sarge uptodate 4:4.4.6-0.dotdeb.2
php4-pgsql/sarge uptodate 4:4.4.6-0.dotdeb.2
php4-common/sarge uptodate 4:4.4.6-0.dotdeb.2
libapache-mod-php5/sarge uptodate 5.2.1-0.dotdeb.1
php5-common/sarge uptodate 5.2.1-0.dotdeb.1
php4/sarge uptodate 4:4.4.6-0.dotdeb.2
libapache2-mod-php5/sarge uptodate 5.2.1-0.dotdeb.1
any suggestions? thanks in advance!
Recent comments
1 day 4 hours ago
1 day 9 hours ago
1 day 13 hours ago
1 day 15 hours ago
2 days 5 hours ago
2 days 5 hours ago
2 days 10 hours ago
2 days 17 hours ago
2 days 18 hours ago
2 days 19 hours ago