PHP 5.4 please


#1

Hi,

I got really excited about Easyengine. I am not a Linux expert but with easyengine it’s easy to setup and run bulletproof website. I really dig the idea and I love the way you implemented it.

Problem I have is that PHP 5.4 is not supported and it seems it won’t be for a long time. I have a plugin which is essential to my blog - max banner ads pro - which was not updated for some time. The latest PHP that plugin supports is version 5.4. I wish it was updated, but unfortunately this may not happen at all. I tried to find a premium plugin which would have the features and ease of use but so far I haven’t found it.

Do you have any plans for the future to include PHP 5.4 support? If yes, how long until you do? I saw Rahul’s post https://github.com/rtCamp/easyengine/issues/85

I followed instructions:

apt-get purge php5-common php5-mysqlnd php5-xmlrpc php5-curl php5-gd php5-cli php5-fpm php5-imap php5-mcrypt php5-memcache Change PHP repo

Then open file: /etc/apt/sources.list.d/ondrej-php5-precise.list

Change lines:

From:

deb http://ppa.launchpad.net/ondrej/php5/ubuntu precise main deb-src http://ppa.launchpad.net/ondrej/php5/ubuntu precise main To:

deb http://ppa.launchpad.net/ondrej/php5-oldstable/ubuntu precise main deb-src http://ppa.launchpad.net/ondrej/php5-oldstable/ubuntu precise main To install PHP 5.4

apt-get install php5-common php5-mysqlnd php5-xmlrpc php5-curl php5-gd php5-cli php5-fpm php5-imap php5-mcrypt php5-memcache

well after this was done, i typed php -v and PHP version returned was 5.5.9-1ubuntu4.4 ■■■ Second problem with Rahul’s solution is that I loose all EE customisations that make websites Rock.

Thanks for reading this


#2

Hello @Matias65,

To install PHP 5.4 you can do following: Remove PHP 5.5

apt-get remove php5-common php5-mysqlnd php5-xmlrpc php5-curl php5-gd php5-cli php5-fpm php5-imap php5-mcrypt  php5-memcache

Change Repo to PHP 5.4

vim /etc/apt/sources.list.d/ondrej-php5-precise.list

and make sure your file will look as following

deb http://ppa.launchpad.net/ondrej/php5-oldstable/ubuntu precise main
deb-src http://ppa.launchpad.net/ondrej/php5-oldstable/ubuntu precise main

After that

apt-get clean && apt-get autoclean
apt-get update

Now you can install PHP 5.4

apt-get install php5-common php5-mysqlnd php5-xmlrpc php5-curl php5-gd php5-cli php5-fpm php5-imap php5-mcrypt  php5-memcache

I hope this will solve your problem I am closing this issue now, as this is very old issue, Feel free to create new one if you face any problem


#3