What features does your PHP Support
You can see the exact details of the PHP installation on the server hosting your site by making a file in your webspace called (say) test.php containing:
Viewing this from a browser will then show exactly how PHP was installed.
Viewing PHP Errors
As from PHP 5.3.x, errors are switched off so for debugging purposes we recommend you add this line to your PHP code to switch them on. For security we would recommend removing this once you have finished debugging.
Custom PHP.INI for PHP 5 FastCGI
The php.ini file is where your PHP runtine settings are stored. When PHP is in module mode then this file is server-wide so cannot be changed by individual users. However, if you run your hosting in PHP 5 FastCGI mode (recommended) then it is now possible make amendments to own php.ini settings (experienced users only).
1. You first need to create a blank ascii file (for Windows users, using Notepad.exe would be fine) and call it php-cgi-fcgi.ini
This file should contain any amendments you want to make to the default PHP.INI settings. Some examples of the most common changes are included below:
a) Register_globals = ON
b) magic_quotes_gpc = OFF
c) Increasing post_max_size
d) Increasing upload_max_filesize
Once you have created your php-cgi-fcgi.ini file locally then you should upload it to your domains cgi-bin folder. You can do this with WebFTP or any other FTP application. Remember to upload in ascii mode and not binary.
Once uploaded your cgi-bin folder should contain:
Settings will activate on the next server update (normally 15 mins passed each hour)