Install Scripts dont work with PHP5

3 posts / 0 new
Last post
#1 Fri, 11/04/2005 - 06:34

Install Scripts dont work with PHP5


Seems like none (didnt check them all) of the Install Scripts work with PHP5, it claims they all require PHP4. I'm assuming that most of them will work with PHP5, its just that the PHP version checking is not that intelligent.


Fri, 11/04/2005 - 14:37
Joe's picture

Hey Chris,

PHP4 is provided for Fedora Core 4, but it's probably not autiomatically installed yet (will be in EA2).

You can install it by running:

yum install php4

You'll probably also want some of the bits and pieces...php-mysql and php-pgsql certainly, -domxml and -pear possibly. The whole stack is available. You can see what's available with:

yum list php4*

Note that I haven't implemented the wrapper script for this yet, so it'll take a little tweaking to make your scripts run. But not for much longer. In EA2 or soon after, the Script Installer will be able to choose which PHP version it wants and set it up automatically. I have to synchronize my work with Jamie on this, as it takes Virtualmin support and support in the installer, plus some wrapper scripts and extra packages.


Check out the forum guidelines!

Sun, 11/06/2005 - 10:55

Hi Joe,

I tried this, but as PHP5 is installed it breaks the config and PHP doesnt function at all.

I also tried removing PHP5, `yum remove php5` but this didnt work either...

Its not a desperate problem, so if an upcoming release will allow me to choose PHP verseions on a per-vhost basis then i will wait until then.

Topic locked