I am attempting to install RoundCube on my CentOS webserver which if fully up to date however when I run through the installer and it checks my version of PHP, I get 'NOT OK' because my version detected is not equal to the required version however I have the latest version available from my distributions package manager (Yum).
hecking PHP version
Version: NOT OK(PHP Version 5.2.0 or greater is required 5.1.6 detected)
I then check my version on the server:
[root@www main]# rpm -qa | grep php
php-cli-5.1.6-23.2.el5_3
php-5.1.6-23.2.el5_3
php-pdo-5.1.6-23.2.el5_3
php-mysql-5.1.6-23.2.el5_3
php-common-5.1.6-23.2.el5_3
Anyone know what I would do in this case? :confused:
hmmm ... update to newest PHP version!
if your package distributor got no newer version: compile php by yourself!
this is not too hard to do... version 5.2.9 is newest
download source and step through the READMEs...:)
I found some RPM's for php 5.2. My next question is I also fail on the DOM section:
DOM: NOT OK(See PHP: Introduction - Manual (http://www.php.net/manual/en/intro.dom.php))
I checked the URL and it explains how it is. I then used my distributions package manager to locate the file that I think it needs:
Installing:
perl-XML-DOM noarch 1.44-2.el5.rf rpmforge 188 k
Installing for dependencies:
perl-Compress-Zlib x86_64 1.42-1.fc6 base 52 k
perl-HTML-Parser x86_64 3.59-1.el5.rf rpmforge 149 k
perl-HTML-Tagset noarch 3.20-1.el5.rf rpmforge 14 k
perl-URI noarch 1.35-3 base 116 k
perl-XML-RegExp noarch 0.03-1.2.el5.rf rpmforge 8.0 k
perl-libwww-perl noarch 5.805-1.1.1 base 376 k
I then restarted Apache and re-ran the installer and it still fails on that same module. Is this not the correct package? If not, does any of these look correct:
-perl-XML-DOM.noarch : Perl module for building DOM Level 1 compliant document structures
-perl-XML-DOM-BagOfTricks.x86_64 : Functions for dealing with DOM trees
-perl-XML-DOM-XPath.noarch : XPath support for XML::DOM
-perl-XML-DOMHandler.noarch : Implements a call-back interface to DOM
This issue has been resolved!