installing PHP4 and PHP5 on apache
:newbie: :Pengy:
I have installed apache 1.3.27 on RedHat 8.0 and installed php 4.3.2 successfully i then configured, compiled and installed PHP5. so in httpd.conf it has LoadModule php4_module libexec/libphp4.so LoadModule php5_module libexec/libphp5.so then later on i have added AddType application/x-httpd-php .php # for php4 files AddType application/x-httpd-php5 .php5 # for php5 of course then in htdocs i have test.php & test.php5 both containg <?php phpinfo(); ?> test.php works but test.php5 comes with "page can't be displayed does anybody have a procedure i can follow for php4 & 5 to work together???? |
try something like
<IfModule mod_php5.c> AddType applicatoion/x-httpd-php .php .php5 </IfModule> if it succeeds in loading mod_php5.c (or php5) then you can run php5 |
hey thx man , just what i needed :)
|
All times are GMT -5. The time now is 12:31 PM. |