sir, is it right to configure php3 and php4 and make them work simultaniously.... will it create any problem later on. If yes then how to make them work simultaniously...
I have linux 6.1,and apache 3.1.12 Please reply..
Dear Kaushik,
you can make PHP3 and PHP4 work simultaniously without any problems. Therefore you have to install a second webserver, for example Apache 1.3.12 and compile this with PHP4. This webserver should act on an other port than 80 (default HTTP-Port), let's say it should work on port 81. The document-root can show to the same directory to which the other Webserver shows. Then you have a great test environment for switching between PHP3 and PHP4 with typing http://localhost/info.php or http://localhost:81/info.php
We tried this with two Apaches (1.3.9) and (1.3.12) and PHP 3.0.12 directly compiled in the first and PHP 4.0.0 as DSO in the second. This all on Suse Linux 6.3. Everything works fine.
Hope this helps!
Best regards
Alexander Bohndorf