store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Tue May 21, 2013 8:21 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 9 posts ] 
Author Message
 Post subject: PHP 5.4 rpm-package available and ready for production?
Unread postPosted: Wed May 30, 2012 9:35 am 
Offline
Forum User
Forum User

Joined: Mon May 07, 2012 9:37 am
Posts: 49
Location: Zurich
hello everyone,

I am setting up Plesk 10 on Centos 6.2.

I'll install PHP 5.2 as fcgi-Version for a smooth migration of our customers and would like to offer PHP 5.4 as the alternative, rather than the default PHP 5.3.

Are there PHP 5.4-Packages available and are they reliable for production already or is it still too early?
I did find some packages in a repo from Remi, but have never heard of him before and would like to avoid any sort of conflict..

regards -Stephan


Top
 Profile  
 
 Post subject: Re: PHP 5.4 rpm-package available and ready for production?
Unread postPosted: Wed May 30, 2012 10:04 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7425
Location: earth
I might have some in atomic-testing today if you want to vet them against app compatibility. Thats usually the hold up, just waiting for all the php apps to catch up with the latest changes.


Top
 Profile  
 
 Post subject: Re: PHP 5.4 rpm-package available and ready for production?
Unread postPosted: Wed May 30, 2012 12:43 pm 
Offline
Forum User
Forum User

Joined: Mon May 07, 2012 9:37 am
Posts: 49
Location: Zurich
Thanks for the fast reply!

I'll gladly give it a shot. I can always downgrade back to 5.3 if necessary.. but if possible, I'd really like to just move ahead to 5.4.

Kind regards -Stephan


Top
 Profile  
 
 Post subject: Re: PHP 5.4 rpm-package available and ready for production?
Unread postPosted: Wed May 30, 2012 5:30 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
There are quite a number of backwards incompatible changes in PHP 5.4 (they also removed a bunch of features). Of course you're free to test it, but I'd read up on the changes first.

Migrating from PHP 5.3.x to PHP 5.4.x
http://php.net/migration54

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: PHP 5.4 rpm-package available and ready for production?
Unread postPosted: Thu May 31, 2012 9:13 am 
Offline
Forum User
Forum User

Joined: Mon May 07, 2012 9:37 am
Posts: 49
Location: Zurich
Thanks for the info. Our migration would actually be PHP 5.2 directly to PHP 5.4, at least that's what I had imagined.

Our old servers are still running PHP 5.2 and on our new servers, PHP 5.2 will be installed as fcgi-Version (and configured as default for all hostings) and PHP 5.4 would be installed as module. The customers can switch back and forth and test as they wish.

I thought this would be the easiest and most future-proof...but I'm not sure, because 5.4 is still so young...

regards -Stephan


Top
 Profile  
 
 Post subject: Re: PHP 5.4 rpm-package available and ready for production?
Unread postPosted: Thu May 31, 2012 1:46 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 1846
considering 5.4 does not have safe mode, using it as a module adds some risk compared to using it as fastcgi, I would think?

If you are skilled enough to be able to install two versions (I am not :-) ) maybe think about using mod_ruid2 with the module version? Just a suggestion. I'm avoiding mod_ruid2 even though I'd much prefer it to php-fastcgi as I have some strange idea then when Parallels finally adds native mod_ruid2 to Plesk (not in v11 - maybe 12?) it will add some pain to the transition if I already have a version installed.

_________________
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>


Top
 Profile  
 
 Post subject: Re: PHP 5.4 rpm-package available and ready for production?
Unread postPosted: Fri Jun 01, 2012 9:18 am 
Offline
Forum User
Forum User

Joined: Mon May 07, 2012 9:37 am
Posts: 49
Location: Zurich
Yes, I have mod_ruid2 installed for the module-version and also got the 'Run PHP as User' addon for Plesk... seems to work great, as far as I can see.

I compiled php5.2 as cgi-version and added a separate handler in apache. Users can now switch back and forth simply by adding 'AddHandler php5-fastcgi .php .php5' to their .htaccess.

Without that line it's php 5.3 (currently) and with that line it runs php5.2 in /opt/php52/bin..


Top
 Profile  
 
 Post subject: Re: PHP 5.4 rpm-package available and ready for production?
Unread postPosted: Fri Jun 01, 2012 4:45 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 1846
very cool.

_________________
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>


Top
 Profile  
 
 Post subject: Re: PHP 5.4 rpm-package available and ready for production?
Unread postPosted: Mon Jun 04, 2012 9:35 am 
Offline
Forum User
Forum User

Joined: Mon May 07, 2012 9:37 am
Posts: 49
Location: Zurich
And just to close this topic: We'll be going with PHP 5.3...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 9 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 1 guest


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
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group