A php.ini file is not always immediately recognized by the server. Here are tips for Linux and Windows Shared Hosting to get your php.ini to take effect immediately.
NOTE: To check whether your php.ini file takes effect, open a plain text editor and create a file called phpinfo.php. Insert the following line: <?php phpinfo(); ?>. Save [...]
By default, ionCube support is not enabled on our Linux hosting accounts, but you can enable it. Windows hosting
accounts do not support ionCube.
To Enable ionCube SupportDownload the compressed Linux x86 binary file from ionCube’s site.Upload the compressed file to your hosting account. For more information, see Uploading a File to Your Hosting Account Using the [...]
Both gdform.php and webformmailer.php are form mailer scripts installed in the default scripts directory of your Linux shared hosting account. Webformmailer.php is a more recent script that provides additional functionality, including the ability to specify sort order, delivery schedule, and email format.
For more information, see Using PHP Form Mailers.
Yes. By replacing your existing form tag with the code below, you can upgrade to webformmailer.php without any additional changes.
<form action=”/webformmailer.php” method=”post”>
Our Linux hosting accounts run PHP versions 5.2.5 and 4.3.11.
For information on PHP 5.2.5, see the PHP 5.2.5 Release Announcement.
For information on running both PHP 4 and PHP 5 applications, see Can I run both PHP 4 and PHP 5 applications on my hosting account?.
To change your PHP version, see Changing Your PHP Language Version.
NOTE: This content only applies to our Linux shared hosting accounts running Hosting Configuration 2.0 and above.
PHP is automatically added to your hosting account. However, you can choose the version you’d like to use.
To Change Your Default PHP LanguageLog in to your Account Manager.
In the My Products section, select Hosting.
Next to the hosting [...]
No. Our hosting plans do not support non-parsed headers (NPH).
If you have older CGI scripts that are meant to run on apache/1.2, or are known as NPH scripts, then remove any lines that print out the HTTP headers, such as HTTP/1.1 200 OK, and your scripts will work properly.
PHP is a popular and simple server scripting language that enables Web developers to embed dynamic content into Web pages. PHP 4 and 5 are enabled for all Linux hosting accounts. PHP 5 is enabled for Windows hosting accounts running IIS 7, only.
If you have a Windows hosting account and the value application [...]
Error Message(s):
Warning: session_start(): Cannot send session cookie – headers already sent by (output started at /home/content/u/s/e/username/html/file.php:2) in /home/content/u/s/e/username/html/file.php on line 3
Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/content/u/s/e/username/html/file.php:2) in /home/content/u/s/e/username/html/file.php on line 3
Warning: Cannot modify header information – headers already sent by (output started at /home/content/u/s/e/username/html/file.php:2) in /home/content/u/s/e/username/html/file.php [...]
The default open_basedir restrictions for shared Linux hosting accounts have no value. PHP scripts can access all directories within your hosting account.
The open_basedir function defines the locations or paths from which PHP is allowed to access files using functions like fopen() and gzopen(). If a file is outside of the paths defined by open_basdir, PHP will refuse to open it. You cannot use a symbolic link as a workaround, because the path that the symbolic [...]
Other than the total available disk space in your Shared hosting account, we do not set any FTP upload limit. However, by default, PHP limits scripts uploading files to 8 MB. To change the limitation, edit the following values in your /php.ini file for PHP4 or /php5.ini file for PHP5:memory_limit = 50M
post_max_size = 10M
file_uploads = [...]
Yes. Zend Optimizer™ for PHP4 and GD Library for PHP4 and PHP5 are installed on all Linux Shared Hosting accounts.
GD Library is a PHP library that affects image resizing, among other things. Zend Optimizer™ works with Zend Guard™ to enhance the performance of PHP applications. Zend Guard protects the source code of PHP applications [...]
For security reasons, we run PHP as a CGI and not as a module. Because of this and the version of Apache we run (1.3.3), you cannot use extensionless PHP files on your website without employing a tool like mod_rewrite.
For more information, see What is mod_rewrite?.
Zend Optimizer™ is a free application that runs the files encoded by the Zend Guard, while enhancing the performance of PHP applications.
Zend Optimizer is installed on all Linux Shared Hosting accounts for PHP4. Customers can upload newer versions of Zend Optimizer (and other PHP modules) and reference the path to their files.
CAUTION: This will [...]