PHP under FastCGI - Current versions : PHP 4.4.7 / PHP 5.2.5

 
Post new topic   Reply to topic    34SP.com Forum Index // Scripting Support
View previous topic :: View next topic  
Author Message
imknight
Administrator
Administrator


Joined: 16 Mar 2001
Posts: 3627
Location: Stroud,Gloucestershire

PostPosted: Mon Apr 02, 2007 4:14 pm    Post subject: PHP under FastCGI - Current versions : PHP 4.4.7 / PHP 5.2.5 Reply with quote
Due to the popularity of the phpcgi binaries making some scripts easier to run we have now introduced to the servers PHP under FastCGI.

This is very much in the testing stage at this time so we only have one version of php available under FastCGI, the php that is available is equivalent to the new PHPCGI-Minimal installation which contains just MySQL and GD as the main addon options (php5 still contains all its defaults such as sqlite xmlreader/writer)

The fastcgi binaries are versions 4.4.6 and 5.2.1 so they are the most current stable releases on each branch.

PHP under FastCGI should in most cases offer a speed increase based on using normal PHPCGI, it also does not use hardly any diskspace at all as the binaries are at system level and not within your own hosting account.

PHPFCGI opens up some FastCGI processes that keeps them in memory unless they idle for too long, this means that when the next request comes for your site it doesnt have to reload the phpcgi binary into memory hence it being a lot faster to load the following pages.

We would be grateful of any feedback on this forum thread especially with information of which scripts do run under it ok and which dont, we would be interested in details regarding the larger cmses such as Joomla / Mambo / Drupal.

The phpfastcgi installer can be found at http://scripts.34sp.com/phpfastcgi
_________________
Ian
34SP.com
Easy script installers for a small number of popular scripts are now available at http://scripts.34sp.com
Used our script installers? Please post your site here

| Wordpress Hosting |


Last edited by imknight on Thu Jan 03, 2008 4:25 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
trev
Junior Member
Junior Member


Joined: 15 Aug 2001
Posts: 112
Location: Southampton

PostPosted: Fri Apr 06, 2007 7:30 am    Post subject: Reply with quote
I have loaded Joomla and tested it with the php5 version of the script and it seems to be working OK albeit a little on the slow side. I'll continue testing and try and compare the speed with other scripts I have on the same site.

Have a good Easter
Trevor
Back to top
View user's profile Send private message
trev
Junior Member
Junior Member


Joined: 15 Aug 2001
Posts: 112
Location: Southampton

PostPosted: Fri Apr 06, 2007 11:02 pm    Post subject: Reply with quote
After further testing there is seems to be no noticeable difference in speed with the cgi version. The server (Colossus) has been running a bit slow up at times, especially around 7:30 this morning.

I would certainly recommend Joomla be added to the script installers. It's an impressive package that is well supported and there are loads of extensions available.

regards
Trevor
Back to top
View user's profile Send private message
imknight
Administrator
Administrator


Joined: 16 Mar 2001
Posts: 3627
Location: Stroud,Gloucestershire

PostPosted: Sat Apr 07, 2007 7:24 am    Post subject: Reply with quote
Thanks for the feedback on the fastcgi php version. When using it did you use php4 or php5 for testing of joomla?

Joomla was not looked at previously on the script installers due to the fact that it needed phpcgi to be installed to run it easily, but if we are able to confirm that it runs under fastcgi without any issues (using this very minimal php setup) then it is possible that we can do this as the setup for fastcgi php is much less in terms of space due to the binaries being already on the system, its also a much easier installer as no need to know your server etc, simply your ftp details.

I will look over the joomla site over the next week to see if they have any issues with redistribution of the files and if necessary will contact the developers to see if there are any issues, after that will look into creating a script installer for it.

Please continue any feedback of any issues you may encounter.
_________________
Ian
34SP.com
Easy script installers for a small number of popular scripts are now available at http://scripts.34sp.com
Used our script installers? Please post your site here

| Wordpress Hosting |
Back to top
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
trev
Junior Member
Junior Member


Joined: 15 Aug 2001
Posts: 112
Location: Southampton

PostPosted: Sat Apr 07, 2007 11:10 am    Post subject: Reply with quote
Quote:
Thanks for the feedback on the fastcgi php version. When using it did you use php4 or php5 for testing of joomla?


I am running it under php5 as that is what was recommended by Joomla. During the setup there is one edit to do to get it running with register_globals off - there is a file called globals.php in the Joomla root with a define that needs to be changed. The setting needs to be like this:
Code:
/**
 * Use 1 to emulate register_globals = on
 * WARNING: SETTING TO 1 MAY BE REQUIRED FOR BACKWARD COMPATIBILITY
 * OF SOME THIRD-PARTY COMPONENTS BUT IS NOT RECOMMENDED
 *
 * Use 0 to emulate regsiter_globals = off
 * NOTE: THIS IS THE RECOMMENDED SETTING FOR YOUR SITE BUT YOU MAY
 * EXPERIENCE PROBLEMS WITH SOME THIRD-PARTY COMPONENTS
 */
define( 'RG_EMULATION', 0 );

There is a new version of Joomla (1.5) that is in Beta at the moment which doesn't care what the setting is but it's not ready for production webs yet.
Back to top
View user's profile Send private message
imknight
Administrator
Administrator


Joined: 16 Mar 2001
Posts: 3627
Location: Stroud,Gloucestershire

PostPosted: Thu Jan 03, 2008 4:28 pm    Post subject: Reply with quote
The binaries that phpfastcgi called have all been updated, all php4 users will now be using PHP4.4.7 and likewise php5 users will be using the latest PHP5.2.5 changes there is no need to reinstall anything yourselves.

(if you are using phpcgi these binaries have not been updated at this time)

The phpfastcgi binaries have also been compiled with CURL added and in the case of PHP5 PDO-MYSQL has also been added as these were requested by a number of users.
_________________
Ian
34SP.com
Easy script installers for a small number of popular scripts are now available at http://scripts.34sp.com
Used our script installers? Please post your site here

| Wordpress Hosting |
Back to top
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
stratobiker
34SP Newbie
34SP Newbie


Joined: 20 Feb 2008
Posts: 3
Location: France

PostPosted: Wed May 13, 2009 9:17 am    Post subject: Cannot use phpfastcgi installer on prohost1 Reply with quote
Hi Ian,
Couldn't use the installer on prohost1 because it doesn't show in the server drop-down list.

SB
Back to top
View user's profile Send private message Visit poster's website
imknight
Administrator
Administrator


Joined: 16 Mar 2001
Posts: 3627
Location: Stroud,Gloucestershire

PostPosted: Wed May 13, 2009 10:25 am    Post subject: Reply with quote
Please use http://scripts.34sp.com/phpfastcgi1/ for installation on prohost1 at this time.
_________________
Ian
34SP.com
Easy script installers for a small number of popular scripts are now available at http://scripts.34sp.com
Used our script installers? Please post your site here

| Wordpress Hosting |
Back to top
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
stratobiker
34SP Newbie
34SP Newbie


Joined: 20 Feb 2008
Posts: 3
Location: France

PostPosted: Wed May 13, 2009 11:13 am    Post subject: Reply with quote
Thanks Ian.

That's worked

SB
Back to top
View user's profile Send private message Visit poster's website
ShadyCraig
34SP Newbie
34SP Newbie


Joined: 12 Jul 2004
Posts: 33
Location: Derbyshire, UK

PostPosted: Thu Jun 03, 2010 9:48 pm    Post subject: Reply with quote
Hello,

Any plans to add php 5.3 to the list?

Thanks,
Craig
_________________
GTM Workshop wiki
My blog
Back to top
View user's profile Send private message Visit poster's website
Post new topic   Reply to topic    34SP.com Forum Index // Scripting Support All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
Powered by phpBB © 2001, 2002 phpBB Group