Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: jvels on July 04, 2006, 12:19:15 PM
-
Hi
Are there any official plan when a php5 would be ready for SME contribs 7?
Does anybody have have the php5_howto.txt file? Because the server were the file are locate is down :-/
Or any other metod to upgrade to php5?
Best regrads
Jesper vels
-
Found this on the web but doesn't have the guts to install it on my machine and do not have test machine available.
PHP 5 for CentOS 4.1
One nice thing about CentOS is the long support life and stability of the system. One not so nice thing is that because it is based on Red Hat Enterprise, the package selection is pretty conservative. That’s not too bad though, Apache is 2.0.52, MySQL is a 4.0.x version, so things are reasonably current. One thing that’s really dated though is PHP (4.3.x)… I’ve been using PHP 5 for a while and quite like it, so a PHP 5 package for CentOS would be nice. Good news though is that one already exists, its in the CentOSPlus repository. This post to the CentOS Mailing List explains what the CentOSPlus repo is for.
To enable CentOSPlus edit /etc/yum.repos.d/CentOS-Base.repo. After [centosplus] heading, you’ll see a line that currently says “enabled=0″. Change that to “enabled=1″ to enable CentOSPlus. Once the CentOSPlus repo is enabled, “yum update” will search the repository and offer to upgrade any packages to newer versions from CentOSPlus. If you had PHP installed previously, this will upgrade you to PHP 5.0.x.
Then I added a new repository file for the CentOS Plus repository:
/etc/yum.repos.d/centosplus.repo:
[centosplus]
name=CentOS Plus Repository
baseurl=http://mirror.nsc.liu.se/CentOS/4/centosplus/i386/
includepkgs=php*
protect=1
gpgcheck=1
enabled=1
Further additional help is offered here:
http://www.vinnia.se/2006/03/20/running-php5-on-tao-linux/
http://mirror.centos.org/centos/4/centosplus/Readme.txt
-
Hi Blockbuster,
When I tried that, I got the following errors:
Error: Missing Dependency: php-domxml is needed by package e-smith-horde
Error: Missing Dependency: php < 4.3.10 is needed by package smeserver-eaccelerator
I understand that php-domxml is not in PHP5 and you have to use DOM instead. The SME version of HORDE is not compatible with PHP5. The next version is.
Smeserver-eaccelerator for php5 can be found here:
http://mirror.contribs.org/smeserver/contribs/gswallow/sme7/do_not_install/php5/
Suggestions?
-
Beste Rien,
I have installed wiki and the latest version 1.7 and above requires PHP 5, but as you proved SME 7.0 is not ready for installation yet since work needs to be done on Horde.
Since I expected some problems I didn't want to install PHP 5 because if you modify the core system too much I expect future problems with updating aswell.
But let's have a look at some possibilities
I had a quick look at the horde site and the IMP package requires php 4.3.0 no words mentioned about PHP 5 yet. So a quick download of some php 5 compatible version of IMP is out of the question.
Let's have a look at PHP itself then:
If I give the following command in my shell (standard installation)
yum list installed php-*
Installed Packages
php.i386 4.3.9-3.12 installed
php-domxml.i386 4.3.9-3.12 installed
php-gd.i386 4.3.9-3.12 installed
php-imap.i386 4.3.9-3.12 installed
php-ldap.i386 4.3.9-3.12 installed
php-mbstring.i386 4.3.9-3.12 installed
php-mysql.i386 4.3.9-3.12 installed
php-pear.i386 4.3.9-3.12 installed
If you give this command you probably miss php-domxml, so we have to look either for a Centos or a Fedore rpm for installation. Please sent the output of your sme7.0 php 5 machine.
What will the following commands do on you machine? Please sent output
yum --enablerepo=centosplus install php-xml
Maybe it does do the trick and install both the xml and the dom modules?
-
Found the following article: for php5 and Horde
Jan Schneider is a core member of the Horde Project Team.
http://janschneider.de/news/25/183