Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I just moved from win where I'm a php programmer.
I'm now running on suse 9.2.
What I need is to have multiple instances of php installed because I have different customers using different version of PHP.
Suse automatically installs the latest version (4.3.x) and I already downloaded the other version I need (4.2.1)
Does anybody have an idea on how to do it?
Thanks for your answer Adam but I think I've not been clear...
I need to have both versions installed and to have a way to switch between one or the other.
In other words:
Today i want to run with php 4.2.1 tomorrow I want to use 4.3.1.
with WIN I was able to do it having both binaries installed and with a batch file I set the system to use one or the other. I don't know how to do it with LIN.
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
ahh, i c
ok, what you will need to do is probably change your apache config file to associate itself with different php versions, and compile one version somewhere else from where the other one is
because i have little experience with php, i cant help you with doing this, but i think the easier way is to have 2 seperate instances of apache with a common htdocs folder, then just close one version of apache and start the other one
now, again, i mention i have little experience with php, therefore i cannot help you much past this, but this is the easiest way i think to do it
so have 2 instances of apache compiled with 1 version of php associated with each of them, then stop one apache and restart the other
uhm.... Your inputs are quite similar. I think I'll try the way to have both apache and PHP installed twice having them configured "in couples".
The question now is (please don't blame me... I'm a good PHP programmer but a LIN newbie) how di I install apache and php without using YAST?
Because now it has to be done manually (of course).