Results 1 to 1 of 1

Thread: [How to] fix ini_set() has been disabled for security reasons

  1. #1
    Alexander's Avatar
    Alexander is offline Technical Analyst
    Join Date
    Jul 2007
    Posts
    1,883

    Lightbulb [How to] fix ini_set() has been disabled for security reasons

    1. Create php.ini file inside your public_html folder, OR the folder in which you have installed your script, and paste the following code into it:

    Code:
    disable_functions = allow_url_fopen, escapeshellarg, escapeshellcmd, ini_alter, passthru, parse_ini_file, popen, proc_open, proc_close, proc_terminate, proc_get_status, proc_nice, readfile, show_source, system
    If you already have the disable_functions line, just append the code to match what is above.

    2. Open .htaccess file inside your public_html folder and append the following line:
    Code:
    suPHP_ConfigPath /home/username/public_html/
    where username is your Cpanel username. In case you don't have .htaccess file there, you need to create it.

    The most popular and easy ways to create/edit files inside your account are FTP clients or Cpanel File Manager.

    http://forums.glowhost.com/knowledge...file-2589.html
    http://forums.glowhost.com/knowledge...file-2590.html
    http://forums.glowhost.com/knowledge...ders-2581.html


    Hope it helps.
    Last edited by Matt; 02-03-2011 at 10:35 AM.

Similar Threads

  1. Security Certificate Expired
    By MyWeaverville in forum cPanel Topics
    Replies: 1
    Last Post: 04-23-2010, 08:31 AM
  2. Replies: 0
    Last Post: 05-01-2007, 03:20 AM
  3. Security Update:
    By Matt in forum Outages and Scheduled Maintenance
    Replies: 0
    Last Post: 01-22-2005, 03:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14