Phone: +44 1865 980583
 
 
Welcome to the Knowledge Base
 
  Articles
 
  Blogging Setup
 
  Disk and Bandwidth quota e-mails
 
  Domains
 
  Dynamic Content (PHP and CGI)
 
  E-mail
 
  How to upload your website
 
  Troubleshooting

Your own custom php.ini

At Digital Crocus we allow you full control over your PHP configuration. You can create a php.ini configuration file with any of the configuration options listed in php.ini-dist and php.ini-recommended. If you have set PHP values with .htaccess files in the past, php.ini gives you much greater control over your PHP configuration and is the preferred way to set all PHP options with your Digital Crocus hosting service.

The most commonly required options are for enabling URL fopens, URL includes or register globals. A combination of these options are often needed to make certain older applications work under new PHP installations.

To set up your own php.ini, simply create a file by this name in your favourite text editor and enter the following lines or any of the configuration options you find in the example config files above:

register_globals = On
allow_url_fopen = On
allow_url_include = On

You should then upload your php.ini file to your main home directory, this is the folder above your domain folders; the one you're dropped into when you first login to FTP. This should be enough to enable any option you need for PHP.

For more information on PHP runtime configuration see the following links:

PHP Runtime configuration

Description of core php.ini directives

 


Top ]


Questions Resellers Hosting Domains Home