PHP5 along with PHP4

nobaloney

NoBaloney Internet Svcs - In Memoriam †
Joined
Jun 16, 2003
Messages
25,333
Location
California
Lots of people want to run PHP5 alongside PHP4 on a DA server.

Nothing but problems on finding anything for installing PHP5 along with PHP4 on any server platform.

The links on the net appear to be to two separate sites; one just hangs while trying to connect (it never times out); the other comes up with a PHP error.

Has anyone actually done it on DA?

If so, can you write something about how you did it?

Thanks.

Jeff
 
We're going to give it a try as soon as I have a usable testbed system.

Jeff
 
I also know a few companies in the netherlands that want to try it. I have some idea's, but to test it in combination with DirectAdmin I need temporarely (just for 2 weeks) an extra license (I don't test it on a production server). I will think about it and I have some idea's on how it should be possible.

When I'm ready with testing I will give the method away.

UPDATE:
I've found a method, now I only have to lower the load it generates (CPU usage is 99% and the load is 1,00). It is really slow and because off that it is not acceptable.
 
Last edited:
I will pay for good tutotrial for it.
Not for tutotrial licence but for public show of this tutotrial.. if it will be good
 
I installed PHP5 as cgi and add this into httpd.conf:
ScriptAlias /php5/ /usr/local/php5/bin/
<Directory /usr/local/php5/bin/>
Options +ExecCGI +FollowSymLinks
AllowOverride None
</Directory>
Action application/x-httpd-php5 "/php5/php5"
AddHandler application/x-httpd-php5 .php5
.php5 files working from IP/~USER/file.php5 but on USERDOMAIN.com/file.php5 not, why?
 
The only way to run both PHP4 and PHP5 on any apache-based system is to run one of them as a module, and the other as a CGI-based language.

There are some posts on these forums explaining how to do that.

Jeff
 
Back
Top