Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jun 2002
    Posts
    17

    Default PHP Safe Mode

    Is there any way *through WHM* to control safe mode? or do I have to do it &manually&?

  2. #2
    Member
    Join Date
    Aug 2001
    Posts
    707

    Default

    Turn safe mode on in php.ini. You can then turn it off and add open_basedir for each virtual account by modifying the new account creation script. If you leave safe mode off in php.ini and then use open_basedir, your server won't be safe as people can still access the dangerous PHP functions from a sub-domain.

  3. #3
    Member
    Join Date
    May 2002
    Posts
    249

    Default

    I wonder what file it is that creates the subdomains, and if it's possible to modify it the same way as the create account script add open_basedir to all new subdomains.

Similar Threads & Tags
Similar threads

  1. PHP Safe Mode
    By Tazz92 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-26-2007, 07:12 AM
  2. PHP Safe Mode
    By summy in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-31-2004, 06:18 AM
  3. PHP safe mode
    By hugo24 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-20-2003, 03:58 AM
  4. PHP Safe Mode
    By LinuxFreaky in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-15-2003, 02:20 PM
  5. Php Safe Mode
    By Brad in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-19-2001, 04:12 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube