- If you have access to the server's php.ini file, change the line that includes the disable_functions directive so that it says disable_functions = phpinfo
- For Drupal site
- If you don't have access to your server's php.ini file, you may be able to create your own php.ini file and change the disable_functions directive that way. If that doesn't work, you may be able to disable phpinfo() by configuring Drupal's .htaccess orsettings.php files.
- In .htaccess, add a line that says php_value disable_functions phpinfo
- In settings.php, add a line that says ini_set('disable_functions', 'phpinfo');
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2015
Categories |