Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Sep 13, 2013 10:17 am 
Offline
Senior Newbie

Joined: Thu Sep 12, 2013 9:41 am
Posts: 11
Website: http://www.barcelonads.com
Hello

What is your thought on the below PHP version with Linode cloud servers? and what do you advice? any better performance?

1) LAMP with PHP Version 5.5.3-1 + Memcache? and why?
2) LAMP with PHP 5.3 + APC + Memcache? and why?

Thanks
A newsbie dreamer


Top
   
PostPosted: Fri Sep 13, 2013 1:18 pm 
Offline
Senior Member

Joined: Fri Feb 17, 2012 8:20 pm
Posts: 365
The actual question is why would you stick with an older PHP version? PHP 5.5 has Zend opcache built in, which replaces APC (and is imo better, performance wise)


Top
   
PostPosted: Fri Sep 13, 2013 2:02 pm 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
Nuvini wrote:
The actual question is why would you stick with an older PHP version? PHP 5.5 has Zend opcache built in, which replaces APC (and is imo better, performance wise)

We're testing a VPS with PHP 5.5 on it, but we have some older sites that break in 5.4 (some open source ecom sites). Once we're done with our testing we may spin off the older sites onto a VPS of their own with 5.3, or we may just use the 5.5 VPS for all our new sites.

We just set up a Zimbra mail server that is using APC. Zimbra is a RAM pig (thanks java!), and it loves the swap space, but the APC helps keep the UI snappy.


Top
   
PostPosted: Fri Sep 13, 2013 3:21 pm 
Offline
Senior Newbie

Joined: Thu Sep 12, 2013 9:41 am
Posts: 11
Website: http://www.barcelonads.com
Thanks for your contribution.

So you point is to go with LAMP with PHP Version 5.5 + Memcache. But is any good reason for the huge change?

Regards
JJ


Top
   
PostPosted: Fri Sep 13, 2013 3:26 pm 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
jj,
Since you've rolled your own backend you should be sure to read these links to be sure nothing in your code will break (or start filling your logs with 'Warnings'):
- http://www.php.net/manual/en/migration5 ... atible.php
- http://www.php.net/manual/en/migration5 ... atible.php

You might also check out the 'Deprecated features' for both versions as well.


Top
   
PostPosted: Thu Sep 19, 2013 3:39 am 
Offline
Senior Newbie

Joined: Thu Sep 12, 2013 9:41 am
Posts: 11
Website: http://www.barcelonads.com
Thank you all. I have moved to php 5.5 and everything seems to be going well. But of course I needed to switch off APC


Top
   
PostPosted: Thu Sep 19, 2013 8:00 am 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
cloud,
You can easily disable APC by removing (or just moving) the apc.ini file. In most installations it's located here:
/etc/php5/conf.d/apc.ini

If it's not there it's in your PHP conf.d dir (unless you added "extension=apc.so" directly to your php.ini file).


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group