My PHP files are not working. What is wrong?

There are a number of reasons that your PHP files may not be working properly.

Check that you have requested PHP
Even though every hosting plan supports PHP you may not have the most recent version or the same option for every server. You can check that you are using the correct version of PHP from the front page of your control panel.

This will also confirm that PHP is working correctly for your account. If there is an error in the PHP binary or if the permissions were incorrect, an error may be listed on your error log.

Check that the cgi-bin and PHP binary have the correct permissions (UNIX platforms)
At times, you may make permission changes to your cgi-bin directory and files. If these permissions are not correct, PHP may not operate properly.

To check that the cgi-bin directory and PHP binary have the correct permissions.

The permissions must be one of the following:
" 751 (which equates to drwxr-x--x)
" 755 (which equates to drwxr-xr-x)

This can be done by your file manager or with our free ftp program here:

http://www.downloadspot.com

Check the directives in your php.ini file (UNIX platforms)
If you have uploaded a php.ini file and are experiencing problems with PHP, you may want to check what directives are included in the php.ini file. For example, you may be trying to use a feature that has been disabled in the php.ini file.

Since the php module does not have control over the httpd.conf (or .htaccess files), you need to put a php.ini file with your needed changes in file in the directory your php scripts are running in.

Please ask question in our web hosting support thread above, you will see other questions and help on there as well.

Was this answer helpful?

Also Read

How to access remote MySQL?

Unfortunately we do not have remote access for MySQL. The security and load risk is too much for...

What are your setup fees?

There are none. We believe a company should go out of it's way for new customers to show that...

301 web page, website, and domain name redirect

With a 301 redirect you can have just about any location move to another. Here we will list how...

My resource limits are overloading

Shared servers have software that stops certain websites from slowing down the other websites on...

Can I add Wordpress to an Easy Plan?

Keep in mind the Easy Plan is not made for Wordpress so you will need the keep the site optimized...