Ok, I now know enough about Linux and Virtualmin to be able to totally screw it up. A couple of months ago, I decided to get a faster server, run VM on the new server, and move my domains over from the old one.
I ran into problems with it though, as my OS (Fedora 6) uses php5 by default. I saw that via fcgid, I can run both, and pick a default for each domain.
Of course, mind you, I had some domains already running.
I tried to add php4, but then apache wouldn’t start when I yum -installed php4, etc.
So, I removed that default version of php5, and put the php4 (fcgid) on the server. Now, in the individual domains I can see php5.fcgid and and php4.fcgid in the fcgi-bin. I looked at those scripts, and each is pointing to a real php4 or php file that if I run --version on, they answer correctly.
The problem is that Virtualmin insists I only have one php available, and so I can’t choose.
What the heck have I done to my server? I can’t go back now, as there are stores, etc, and I really can only experiment at night. I need to make it work so that future domains don’t have the problem.
By the way, the only way I got some of the domains currently running was to edit the php5.fcgi to point the php4 and copied the php.ini where the php5.ini is.
I know this is a mess. Please help someone.
Thanks,
Howard.