Using one php.ini for the whole site

''I don't want to copy php.ini in each folder with the script, is there any other way to set the parameters?'' Yes, of course it is possible, but is only valid for PHP5 on our servers, you should add a line 'SetEnv PHPRC/home/Login/public_html/php.ini' into your .htaccess file.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Which path to Perl should I mention?

The first line in the script should be a line: #!/usr/bin/perl

Do you have spam filters? How do they work?

SpamAssasin is installed on our servers, you can activate it by yourself using your hosting...

What is DBI for Perl?

Perl module DBI is being used to connect to databases, e.g. MySQL. EXAMPLE: Perl $dbh =...

What is the path to the interpreter PHP?

For PHP5 the following paths should be used /usr/local/bin/php5 or /usr/local/php5 For older...

May I use anonymous FTP access?

You may get Anonymous FTP only in case you have a dedicated IP address.