Knowledgebase

Resovled ini_set() error issue

Posted by jayeshk, 10-29-2014, 05:07 AM
Hello, Normally ini_set() php function was disable on linux server due to server security. For some php site need this ini_set() enable on server to browser there website functionally. For enable the ini_set() you need to contact to your service provider to enable it or you also enable it using creating custom php.ini files under your account. Follow below steps to ini_set() for your account using custom php.ini step 1 : Create php.ini file under you public_html directory : step 2: open php.ini file and put below line in this disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open, allow_url_fopen step 3 : open .htaccess file and add below line in .htaccess file suPHP_ConfigPath /home/username/public_html ini_set() function is enable for your account and you can access your site without ini_set() function error That’s it.

Posted by mrgeekchris, 10-31-2014, 09:09 AM
If your trying to disable add this at the end ini_set like this disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open, allow_url_fopen, ini_set per site you'd need to change this per folder or site which ever



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
Nameservers Fails (Views: 603)


Language:

Client Login

Email

Password

Remember Me

Search