Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 02-28-2008, 03:26 PM
Phred
HostGator Guest
 
Posts: n/a
Default PHP questions

Hi,

I'm seriously considering moving my hosted domains to HostGator but have a couple of questions about PHP.

1. Can someone please provide me with HG output of phpinfo(); or give me a link to a phpinfo() script hosted on a HG server? Specifically PHP5 thanks.

2. I'm a little confused about the "Please note, PHP 5 will not work work using a temporary URL. PHP 5 is only accessible when using the domain name to access your account." as it relates to add-on domains. Is PHP5 available to all add-on and sub domains? Do all php scripts have to be located in the public_html folder or can they be located in the sub-directories for each add-on domain located under the public_html folder? What is a temporary URL?

TIA for your time.

Cheers,
P
Reply With Quote
  #2  
Old 02-28-2008, 07:36 PM
gwyneth's Avatar
gwyneth gwyneth is offline
Veteran Croc
 
Join Date: Sep 2006
Location: Apostle Islands, Lk Superior
Posts: 5,926
Default Re: PHP questions

Quote:
Originally Posted by Phred View Post
2. I'm a little confused about the "Please note, PHP 5 will not work work using a temporary URL. PHP 5 is only accessible when using the domain name to access your account." as it relates to add-on domains. Is PHP5 available to all add-on and sub domains? Do all php scripts have to be located in the public_html folder or can they be located in the sub-directories for each add-on domain located under the public_html folder? What is a temporary URL?
I can't do your first question, but here are some answers to the second.

You can use your PHP scripts for both your "main" domain and your add-ons. They can be placed anywhere in your account's directory structure.

The limitation about the temporary url refers to the server's IP-based URL you receive with your welcome email that allows you to log into cPanel or see your content before your DNS propagates to HG. PHP scripts for add-ons won't work with the IP-based URL.
Reply With Quote
  #3  
Old 03-08-2008, 04:35 PM
Phred
HostGator Guest
 
Posts: n/a
Default Re: PHP questions

Quote:
Originally Posted by gwyneth View Post
You can use your PHP scripts for both your "main" domain and your add-ons. They can be placed anywhere in your account's directory structure.

The limitation about the temporary url refers to the server's IP-based URL you receive with your welcome email that allows you to log into cPanel or see your content before your DNS propagates to HG. PHP scripts for add-ons won't work with the IP-based URL.
Thanks gwyneth. Ok, so no one can point me to a phpinfo() page - Q1. Is GD support enabled? Q2. Is mcrypt enabled? Q3. Is PDO enabled for mysql and pdo_mysql at ? TIA, Phred
Reply With Quote
  #4  
Old 03-08-2008, 05:00 PM
jimbug's Avatar
jimbug jimbug is offline
Baby Croc
 
Join Date: Jan 2008
Location: California, USA
Posts: 83
Default Re: PHP questions

Quote:
Originally Posted by Phred View Post
Thanks gwyneth. Ok, so no one can point me to a phpinfo() page - Q1. Is GD support enabled? Q2. Is mcrypt enabled? Q3. Is PDO enabled for mysql and pdo_mysql at ? TIA, Phred
To me phpinfo contains sensitive data. Here's all I can give you...

http://www.jimbug.org/phpinfo.png


Someone else will have to reply about pdo. Don't see it in phpinfo.
__________________
Jim
http://www.jimbug.org/
Reply With Quote
  #5  
Old 03-08-2008, 05:20 PM
ghpk ghpk is offline
King Croc
 
Join Date: Nov 2006
Posts: 1,238
Default Re: PHP questions

ask Live chat about your pdo requirement, they'll might have it on some servers if not all.
Reply With Quote
  #6  
Old 06-23-2008, 04:21 PM
Prepress Forums Prepress Forums is offline
Hatchling Croc
 
Join Date: Jan 2008
Posts: 8
Default Re: PHP questions

PDO requires the object-oriented capabilities of PHP 5, so PHP 5.0 or higher is a prerequisite. The PDO extension ships with binary versions of PHP 5.1 and 5.2 but I am not sure if it's enabled by default or if HG will have it turned on?
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 09:10 PM.

 
Forum SEO by Zoints