Is the access enabled to edit php.ini file?
On our servers PHP is installed as CGI handler (suPHP).
Therefore, any user may create a custom php.ini file and place it
into the folder where the scripts are located.
This is quite convenient, as you can manually edit your settings
without contacting the technical support.
If you've decided to place it somewhere in public_html, then please
add the following directives to .htaccess in order to prohibit
unauthorized users to view your php.ini file:
Deny from All
With the mentioned settings of PHP as CGI handler you cannot use
directives php_value in .htaccess file (this will cause 500 error).
If you are not going to perform global changes, you may simply use
ini_set() function directly in the script code.
_IMPORTANT TO KNOW:_ Custom php.ini file is valid only within the
directory, where it is located
- 100 Utenti hanno trovato utile questa risposta
What is DBI for Perl?
Perl module DBI is being used to connect to databases, e.g. MySQL.
Perl $dbh =...