What version of PHP is in centos cpanel?

Started by designst, November 01, 2013, 03:29:25 AM

Previous topic - Next topic

designst

What version of php is in centos webpanel-cpanel?

Administrator

CentOS WebPanel Automaticly installs latest version from avaliable repositorys and updates server every day.

cpass78

Is this in any way compatible with 5.5.7? Centos 6.5 repos only ship 5.3.3 yet I need 5.4.x for a project and 5.5.7 was released last week. On a fresh install with http://www.webtatic.com/packages/php55/ repos nginx crashes and the interface is unreachable.

Administrator

you can try to install php version you want an then restart CWP

Restart CWP from command line

service cwp restart

cpass78

Ok that worked but it took a few other changes to make it work.

After installing the latest php from the link above, ioncube is then out of date, so need to update that to ioncube_loader_lin_5.5.so and adjust the /etc/php.d/ioncube.ini to the new version.

Then mysql would fail to start for some reason so had to physically change the passwords in:
/etc/webpanel/mysql.txt (not sure if this was needed)
/etc/webpanel/panel/include/db_conn.php

to the current root passwords.

After this then a service cwp restart
and it all seems to be running fine.

Thanks for the help.

Administrator

ioncube is not needed for CWP but maybe you need to for yours scripts.

cpass78

yes however the centos repo for php installs ioncube automatically. Upgrading php to the latest with the webtatic repo does not do this so you need to change the ioncube from 5.3 to 5.5. I just wanted to outline what was needed in case somone else wanted to do the same :)

ereo

i had PHP4 application, can i running on CWP, if need some tricks, tell me how to deploy it


thanks

Administrator

I suggest running cloudlinux which will provide you option to run php4

more detailed info on how to install CloudLinux on the CWP server
http://centos-webpanel.com/how-to-install-cloudlinux