Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: thefff-fr on December 27, 2005, 11:56:43 AM
-
Hi,
Is there a way to install PHP 5 on SME 7 ?
I can't find any RPM for this.
-
Check out centosplus repository in your nearest centos-mirror
http://mirror.nsc.liu.se/CentOS/4.2/centosplus/i386/RPMS/
-
Hi,
Thanks for the link, but, i download the rpm php-5*, install it, and crash my server :cry:
I'm noob in SEM (2 month) can you tell me if i can found a How To for php 5 on centos ?
Thanks you
-
Hi!
I don't think only upgrading PHP4 to PHP5 would crash your server... Anyway best way to upgrade would be via YUM
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.
Good luck.
-
I read your answer, and meabe it's so easy, but, in etc/yum.repos.d/ i've got nothing to edit. It's empty.
-
Sorry for the missleading...
You either create /etc/yum.repos.d/CentOS-Base.repo or add following lines into /etc/yum.conf
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
baseurl=http://mirror.nsc.liu.se/CentOS/4.2/centosplus/$basearch/
gpgcheck=1
enabled=1
I hope this'll help.
-
Hello,
After add the line ton yum.conf, i run a "yum update".
But, at the final, i've got a erro message :
--> Processing Dependency: php-domxml for package: e-smith-horde
--> Finished Dependency Resolution
Error: Missing Dependency: php-domxml is needed by package e-smith-horde
I look on the CentOsPlus server, and the file no found.
-
There is no php-domxml package for php version 5.0.x (PS: I hade to do the same when I created php-5.0.x RPMS for SME6)
0domxml support should be "bundled" within php so what you could is to uninstall php-domxml and then run update
# yum remove php-domxml
# yum update
-
....................
Error in line 109 in http.conf..........and crachs server. Juste this error on the screen, nothing to do.
Php 5 is not for me
-
....................
Error in line 109 in http.conf..........and crachs server. Juste this error on the screen, nothing to do.
Php 5 is not for me
Can you post what you've got in line 109 of your httpd.conf file
-
Sorry, i can't.
After upgrade with yum, the server reboot.
And, at the reboot, it say error in...... and i can't do anything. No acces to server.
-
Hi!
I had to find out what was wrong so I installed a test server SME7b9, line 109 is
LoadModule php4_module modules/libphp4.so
This shows that some modifications needs to be done, pls read
http://ergin.dyndns.org/download/RPMS/contribs/PHP/php505_experimental/php5_howto.txt
make sure to make changes in STEP 5 before you reboot...
-
hi,
I'm afraid to install this.
Now, my server is in perfect condition (web site, mail, and samba run great) and i'm afraid to crash it now.