Kaltura 4.0 PHP 5.2/3 Prerequisite, CentOS 5.6 Repository installs PHP 5.1

3 replies [Last post]
Joined: 07/01/2011
Points: 37

Hi

I'm looking for some advice on installing Kaltura 4.0 on the recommended CentOS 5.6 (x64).

I can see from the installation guide (http://www.kaltura.org/kaltura-ce-v40-prerequisites) that I need the following versions of PHP and MySQL:

1. PHP 5.2.x/PHP 5.3.x are supported.
2. MySQL 5.1.37 or higher

If I install these two dependencies using the out of the box repositories through "yum" (sudo yum install php; sudo yum install mysql), the versions I get are PHP 5.1.xx & MySQL 5.0.xx.

For mySQL I added the following 3rd party repository and re-ran "yum":

rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm
yum install mysql55 mysql55-server --enablerepo=webtatic

This installed mySQL version 5.5.xx, so far so good (any advice on 5.5 suitability is welcomed here).

My primary problem really started when I tried to install PHP. I found that I could install PHP53 (sudo yum install php53), however, I cannot install all the prerequisites PHP dependencies as outlined in the guide (Gd, Curl, Memcache, Mysql, Mysqli, Exif, ftp, iconv, json, Session, apc, spl, DOM, SimpleXML, xml, xsl, imap, ctype, ssh2)

Can I ask, has anyone hit similar issues and/or got advice on how to mitigate? If the resolve if build PHP from source, can you help me identify a list libraries / dependencies that need to be manually installed.

Many thanks

Gavin.

Joined: 05/13/2009
Points: 164

I found that using the IUS and EPEL repos made most (maybe all?) of the packages available on stock CentOS:

http://iuscommunity.org/
http://fedoraproject.org/wiki/EPEL

I think you'll need to remove existing apps before re-installing them from a new repo.

Joined: 07/01/2011
Points: 37

Thanks papyromancer, I'll give that a go later this evening. On previous attempts i found there were repo issues between php53_common and php_common and many (well truth be known all) of the extension wouldn't install. It appears this is an upstream issue with PHP53 and wont be fixed in CentOS 5.6 until fixed in RedHat.

I'll post back my findings.

Joined: 07/01/2011
Points: 37

okay - I've taken a look at the websites suggested above and papyromancer is right, it looks like adding the repos from (http://iuscommunity.org/) will allow me to get to the versions of PHP/MYSQL I need. I didn't take this any further as i had more success installing Kaltura 4.0CE on Ubuntu 10.4 x64 (no repo / package version issues).

thanks for the advice!

Gavin.