Home Technical Articles Drupal7 site loading with the errors

Drupal7 site loading with the errors

by SupportPRO Admin

Some of the errors are:

Warning: ini_set() has been disabled for security reasons in drupal_environment_initialize() (line 702 of /home/hemaid/public_html/includes/bootstrap.inc).
Warning: ini_set() has been disabled for security reasons in drupal_environment_initialize() (line 705 of /home/hemaid/public_html/includes/bootstrap.inc).
Warning: ini_set() has been disabled for security reasons in drupal_environment_initialize() (line 706 of /home/hemaid/public_html/includes/bootstrap.inc).

This error is caused by ini_set being disabled by the root. To solve this error follow as below:

Create a “php.ini” file in your public_html directory and add the following:

disabled_funcions =

Open .htaccess and add the folowing:

suPHP_ConfigPath /home/username/public_html

Use the username of the cpanel account as username.

If you require help, contact SupportPRO Server Admin

Server not running properly? Get A FREE Server Checkup By Expert Server Admins - $125 Value

Leave a Comment