Go Back   HostGator Peer Support Forums > HostGator Announcements > General Announcements

Notices

Reply
 
Thread Tools
  #1  
Old 12-07-2006, 12:33 AM
GatorDaveC's Avatar
GatorDaveC GatorDaveC is offline
HostGator Staff
 
Join Date: Mar 2006
Location: Ontario, Canada
Posts: 2,147,483,721
Exclamation PHP5 Update.

All of the Shared and Reseller servers are going to have the PHP5 environment upgraded from 5.1.6 to version 5.2.0. There have many fixes and improvements in this release. The upgrade will take place on Friday night or early Saturday morning between the times of 11PM - 3AM EST.

The downtime should not be anymore then about 5-10 seconds on the server, Apache may not even require a restart, since PHP5 runs as CGI.

If anyone has suggestions for modules that you want included in the PHP5 environment, please post them here. The modules that will be compiled as default will be parsed from the PHP 4.4.x configuration.

I should also include the change log, which is at the following URL http://www.php.net/ChangeLog-5.php#5.2.0
Reply With Quote
  #2  
Old 12-10-2006, 02:39 PM
Flinty Flinty is offline
Hatchling Croc
 
Join Date: Aug 2006
Posts: 8
Default Re: PHP5 Update.

Any plans on upgrading PHP on gator138.hostgator.com? CPanel says it's version 4.4.4.
Reply With Quote
  #3  
Old 12-10-2006, 03:06 PM
quietFinn's Avatar
quietFinn quietFinn is offline
Emperor Croc
 
Join Date: Feb 2005
Posts: 2,764
Default Re: PHP5 Update.

Quote:
Originally Posted by Flinty View Post
Any plans on upgrading PHP on gator138.hostgator.com? CPanel says it's version 4.4.4.
That's PHP4.

Quote:
All of the Shared and Reseller servers are going to have the PHP5 environment upgraded from 5.1.6 to version 5.2.0.
__________________
quietFinn - netFinn Finland
"Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss
Reply With Quote
  #4  
Old 12-10-2006, 03:42 PM
barrrt barrrt is offline
Hatchling Croc
 
Join Date: Dec 2006
Posts: 1
Default Re: PHP5 Update.

Quote:
Originally Posted by GatorDaveC View Post
If anyone has suggestions for modules that you want included in the PHP5 environment, please post them here.
David,

Per the above, as well as your e-mail response to my support ticket.

I would like to request that SOAP module is added to PHP5 during the next update. From what I hear, many affiliate marketers use HostGator, and with Commission Junction releasing their web services API recently, SOAP might become important for more and more people.

Another thing I noticed about PHP5 setup is that, unlike under PHP4, it is no longer possible to "include" using URL, as opposed to a file name. This is due to addition of allow_url_include directive in php.ini, which is off by default. My second request is to have it turned on to allow PHP5 to work with services such as goldenCAN.

Thanks,

Bart

PS. Thanks for installing the pear SOAP module.
Reply With Quote
  #5  
Old 12-10-2006, 04:21 PM
prabudh prabudh is offline
Baby Croc
 
Join Date: Jul 2006
Posts: 50
Question Re: PHP5 Update.

hi,
is it possible to have php4 and php5 on a same dedicated box ?
if yes how would one let one account use a new version(php5) and other using older one(php4).

Any suggestions ???

see ya,
pk
Reply With Quote
  #6  
Old 12-10-2006, 04:26 PM
quietFinn's Avatar
quietFinn quietFinn is offline
Emperor Croc
 
Join Date: Feb 2005
Posts: 2,764
Default Re: PHP5 Update.

Quote:
Originally Posted by prabudh View Post
hi,
is it possible to have php4 and php5 on a same dedicated box ?
if yes how would one let one account use a new version(php5) and other using older one(php4).
http://forums.hostgator.com/showthread.php?t=10335
__________________
quietFinn - netFinn Finland
"Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss
Reply With Quote
  #7  
Old 12-10-2006, 05:01 PM
prabudh prabudh is offline
Baby Croc
 
Join Date: Jul 2006
Posts: 50
Default Re: PHP5 Update.

thanks quietFinn, i might give it a try in coming days.

see ya,
Reply With Quote
  #8  
Old 12-10-2006, 09:17 PM
GatorDaveC's Avatar
GatorDaveC GatorDaveC is offline
HostGator Staff
 
Join Date: Mar 2006
Location: Ontario, Canada
Posts: 2,147,483,721
Default Re: PHP5 Update.

Quote:
Originally Posted by prabudh View Post
thanks quietFinn, i might give it a try in coming days.

see ya,
If you have a dedicated server, PHP5 may not be installed as a 2nd environment. If it isn't installed, just submit at ticket, and it will be done shortly.
Reply With Quote
  #9  
Old 12-11-2006, 07:07 PM
Serra's Avatar
Serra Serra is offline
Veteran Croc
 
Join Date: Feb 2005
Location: Orange Park, FL
Posts: 5,067
Default Re: PHP5 Update.

Quote:
Originally Posted by GatorDaveC View Post
If you have a dedicated server, PHP5 may not be installed as a 2nd environment. If it isn't installed, just submit at ticket, and it will be done shortly.
So, if it isn't installed, we should put in a ticket to be told it can't be installed?
__________________
Six stages of Dedi Ownership

Fashionable broken link
image included
Reply With Quote
  #10  
Old 12-12-2006, 03:05 AM
GatorDaveC's Avatar
GatorDaveC GatorDaveC is offline
HostGator Staff
 
Join Date: Mar 2006
Location: Ontario, Canada
Posts: 2,147,483,721
Default Re: PHP5 Update.

Quote:
Originally Posted by Serra View Post
So, if it isn't installed, we should put in a ticket to be told it can't be installed?
Hello,
No, I was saying if PHP5 is not installed on your dedicated server, we can install it if you would like. It is free of charge. Sorry if the sentence was confusing.
Reply With Quote
  #11  
Old 12-12-2006, 10:26 AM
quietFinn's Avatar
quietFinn quietFinn is offline
Emperor Croc
 
Join Date: Feb 2005
Posts: 2,764
Default Re: PHP5 Update.

Quote:
Originally Posted by kmaw View Post
You just mean we can't have PHP4 and PHP5 running together on a dedicated and use php.ini to decide which we want to run....
That's right, you must use a command in .htaccess if you want to use PHP5.
__________________
quietFinn - netFinn Finland
"Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss
Reply With Quote
  #12  
Old 12-13-2006, 02:49 PM
acornies acornies is offline
Hatchling Croc
 
Join Date: Dec 2006
Posts: 1
Default Re: PHP5 Update.

I require php5 with xslt on my shared hosting account, and after several tickets, I finally got this module intalled. Shortly after the issue was resolved, I found that the module was removed after one of the system wide updates of php5. I ask that for your universal php5.2.0 installation across all of your shared hosting servers to include the xslt modules. This functionality is becoming increasingly popular in web applications today, and I don't see why it wouldn't included.

If this can't be done across all shared hosting servers, please make sure that the xslt modules for php5 are included in the updates on gator137.

The support team has been great, but I just dont want to keep creating the same ticket everytime there is an update.
__________________
thanks,
Acorn
Reply With Quote
  #13  
Old 01-03-2007, 11:33 PM
etaham etaham is offline
Hatchling Croc
 
Join Date: Jan 2007
Posts: 1
Default Re: PHP5 Update.

Would it be possible to enable pdo_mysql support. with mysql as the only option for a database, it seems odd that the mysql driver wouldn't be enabled.
Furthermore, PDO is now included with php and is picking up speed among developers.
I am on gator205.
Thank you very much for your help

Last edited by etaham; 01-04-2007 at 11:20 AM.
Reply With Quote
  #14  
Old 01-11-2007, 08:24 AM
GatorJR
HostGator Guest
 
Posts: n/a
Default Re: PHP5 Update.

Quote:
Originally Posted by acornies View Post
I require php5 with xslt on my shared hosting account, and after several tickets, I finally got this module intalled. Shortly after the issue was resolved, I found that the module was removed after one of the system wide updates of php5. I ask that for your universal php5.2.0 installation across all of your shared hosting servers to include the xslt modules. This functionality is becoming increasingly popular in web applications today, and I don't see why it wouldn't included.

If this can't be done across all shared hosting servers, please make sure that the xslt modules for php5 are included in the updates on gator137.

The support team has been great, but I just dont want to keep creating the same ticket everytime there is an update.

All of our shared servers should have PHP 5 installed as a 2nd environment. Gator90 and above should all be PHPsuexec server.
Please see http://forums.hostgator.com/showthread.php?t=10335
Reply With Quote
  #15  
Old 01-17-2007, 11:13 AM
go77306 go77306 is offline
Hatchling Croc
 
Join Date: Jan 2007
Posts: 3
Default Re: PHP5 Update.

Quote:
Originally Posted by etaham View Post
Would it be possible to enable pdo_mysql support. with mysql as the only option for a database, it seems odd that the mysql driver wouldn't be enabled.
Furthermore, PDO is now included with php and is picking up speed among developers.
I am on gator205.
Thank you very much for your help
I want PDO_Mysql too!
Also PHP5's SOAP extension!
Reply With Quote
  #16  
Old 01-24-2007, 05:29 PM
mwookie mwookie is offline
Hatchling Croc
 
Join Date: Jan 2007
Posts: 4
Default Re: PHP5 Update.

I am also very interested in SOAP for PHP. Is there any plan as of right now to implement it? I would be using it for CJ's web services (plus other things someday).

Thanks.

_________________
You cannot escape the responsibility of tomorrow by evading it today." Abraham Lincoln
Company – Projects (Affordable Stock PhotosSell Your Photos)
Reply With Quote
  #17  
Old 02-02-2007, 03:36 AM
sorin.spanu sorin.spanu is offline
Hatchling Croc
 
Join Date: Feb 2007
Posts: 2
Default Re: PHP5 Update.

Quote:
Originally Posted by go77306 View Post
I want PDO_Mysql too!
Also PHP5's SOAP extension!
I am hosted on gator211
Customer support told me that i have to wait until pdo_mysql will be configured on the server.
Can any admin tell me when will be possible to install pdo_mysql on gator211?
I have deadlines.
Reply With Quote
  #18  
Old 02-02-2007, 09:51 AM
Sam Sam is offline
Emperor Croc
 
Join Date: Jan 2007
Location: /bin/false
Posts: 3,059
Default Re: PHP5 Update.

Hi, will this mean that i cant use php4 any more? my site only runs of php4 and doesnt work with php5.
Reply With Quote
  #19  
Old 02-02-2007, 02:10 PM
cjnoyes cjnoyes is offline
Swamp Croc
 
Join Date: Jan 2006
Posts: 250
Default Re: PHP5 Update.

nope, php5 is an option, php4 is the default, you turn on php5 with a .htaccess item
Reply With Quote
  #20  
Old 02-02-2007, 02:12 PM
cjnoyes cjnoyes is offline
Swamp Croc
 
Join Date: Jan 2006
Posts: 250
Default Re: PHP5 Update.

Please make sure simplexml is turned on
Reply With Quote
  #21  
Old 02-04-2007, 10:09 AM
sersuesp sersuesp is offline
Hatchling Croc
 
Join Date: Jan 2007
Location: Mexico
Posts: 23
Default Re: PHP5 Update.

Quote:
Originally Posted by cjnoyes View Post
nope, php5 is an option, php4 is the default, you turn on php5 with a .htaccess item
Ok, so, how i turn php5 in my .htaccess?? Thanks for your help in advance.
Reply With Quote
  #22  
Old 02-04-2007, 12:47 PM
quietFinn's Avatar
quietFinn quietFinn is offline
Emperor Croc
 
Join Date: Feb 2005
Posts: 2,764
Default Re: PHP5 Update.

Quote:
Originally Posted by sersuesp View Post
Ok, so, how i turn php5 in my .htaccess?? Thanks for your help in advance.
http://forums.hostgator.com/showthread.php?t=10335
__________________
quietFinn - netFinn Finland
"Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss
Reply With Quote
  #23  
Old 02-06-2007, 09:19 PM
mjbanks's Avatar
mjbanks mjbanks is offline
Swamp Croc
 
Join Date: May 2006
Posts: 201
Default Re: PHP5 Update.

Quote:
Originally Posted by quietFinn View Post
I have PHP5 enabled in the htaccess in the root of my public_html as needed for my default domain. I have 3 addon domains. Is there any way to revert back to PHP4 for any of those domains?

I tried adding the line "AddHandler application/x-httpd-php4 .php" per advice of a tech support rep from HostGator, but that breaks all applications (I can't access any php files). Anyone have any ideas?

My main reason for asking, is that memory_limit in the php.ini for php5 is set to 8M, which is too small for Gallery to run from either a manual install or from the Fantastico install. So having the PHP5 php.ini running breaks Gallery for one of my sub-domains. I really need to get that back up and running.
Reply With Quote
  #24  
Old 02-07-2007, 12:46 AM
Impavidus Impavidus is offline
Junior Croc
 
Join Date: Feb 2006
Posts: 155
Default Re: PHP5 Update.

You can try to see if can change the memory_limit with:

Server without phpSuExec:
In your .htaccess put
php_value memory_limit 32M

Server with phpSuExec:
In you php.ini put
memory_limit 32M

OR

Add this to install/index.php and in main.php
ini_set("memory_limit","32M");

Are you adding the "AddHandler application/x-httpd-php4 .php" to the addon .htaccess and not the main directory .htaccess?

I can not test "AddHandler application/x-httpd-php4 .php", because I do not have php 4 installed.
Reply With Quote
  #25  
Old 02-07-2007, 03:21 AM
GatorDaveC's Avatar
GatorDaveC GatorDaveC is offline
HostGator Staff
 
Join Date: Mar 2006
Location: Ontario, Canada
Posts: 2,147,483,721
Default Re: PHP5 Update.

I didn't want to wait any longer on the PHP5 updates, as all of you are waiting to have SOAP, PDO_MYSQL, and SimpleXML installed on the servers. All of the Shared and Reseller servers are getting PHP 5.2.0 installed with the current flags, plus SOAP, PDO_MYSQL, and SimpleXML. The php.ini file on PHP5.2.0 has been adjusted slightly as well.

Below are the basic PHP5 configuration options which we are using.

register_globals = Off (We are keeping register globals off, as this is what we originally installed PHP5 with)

memory_limit= 40M (This is the maximum amount of memory we allow on both shared and reseller servers)

enable_dl = Off (Securityrisk)

max_execution_time = 30 (Maximum execution time for a PHP script on a Shared / Reseller server)

max_input_time = 60(The maximum amount of time we allow to parse inputdata)

magic_quotes_gpc = On (All ' " \ are escaped automatically)

upload_max_filesize =10M (The maximum PHP upload limit we allow on a Shared / Resellerserver)

short_open_tag = On(Allows the use of <? ?> Instead of <?php ?>)
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 08:53 AM.

 
Forum SEO by Zoints