Control Web Panel

WebPanel => PHP => Topic started by: designst on November 01, 2013, 03:29:25 AM

Title: What version of PHP is in centos cpanel?
Post by: designst on November 01, 2013, 03:29:25 AM
What version of php is in centos webpanel-cpanel?
Title: Re: What version of PHP is in centos cpanel?
Post by: Administrator on November 01, 2013, 03:31:14 AM
CentOS WebPanel Automaticly installs latest version from avaliable repositorys and updates server every day.
Title: Re: What version of PHP is in centos cpanel?
Post by: cpass78 on December 31, 2013, 08:30:18 PM
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.
Title: Re: What version of PHP is in centos cpanel?
Post by: Administrator on December 31, 2013, 08:53:21 PM
you can try to install php version you want an then restart CWP

Restart CWP from command line
Code: [Select]
service cwp restart
Title: Re: What version of PHP is in centos cpanel?
Post by: cpass78 on December 31, 2013, 09:27:50 PM
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
Code: [Select]
service cwp restartand it all seems to be running fine.

Thanks for the help.
Title: Re: What version of PHP is in centos cpanel?
Post by: Administrator on January 01, 2014, 12:41:53 AM
ioncube is not needed for CWP but maybe you need to for yours scripts.
Title: Re: What version of PHP is in centos cpanel?
Post by: cpass78 on January 01, 2014, 09:14:47 PM
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 :)
Title: Re: What version of PHP is in centos cpanel?
Post by: ereo on October 16, 2014, 09:06:30 AM
i had PHP4 application, can i running on CWP, if need some tricks, tell me how to deploy it


thanks
Title: Re: What version of PHP is in centos cpanel?
Post by: Administrator on October 17, 2014, 01:39:10 AM
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