Results 1 to 8 of 8
  1. #1

    Exclamation exclude account from safemode

    hello ,

    i'm run the server with safe_mode

    i want to exclude some user and turn safe mode for him


    please help

  2. #2
    Join Date
    Jan 2011
    Posts
    451
    Hello,

    If you are running PHP as suphp / cgi create a custom php.ini in the document root / directory of the domain in which you wants to disable safe_mode and do the modifications.

    If you are running PHP as DSO, you can use .htaccess instead.
    " Your work is to discover your work and then with all your heart to give yourself to it. "

    That's the mark of a true professional !

  3. #3
    Quote Originally Posted by cptechie View Post
    Hello,

    If you are running PHP as suphp / cgi create a custom php.ini in the document root / directory of the domain in which you wants to disable safe_mode and do the modifications.

    If you are running PHP as DSO, you can use .htaccess instead.
    i using DSO

  4. #4
    Join Date
    Feb 2011
    Posts
    129
    Quote Originally Posted by cptechie View Post
    Hello,

    If you are running PHP as suphp / cgi create a custom php.ini in the document root / directory of the domain in which you wants to disable safe_mode and do the modifications.

    If you are running PHP as DSO, you can use .htaccess instead.
    Hi,

    And if you are using FastCGI.. .htaccess or php.ini?

  5. #5
    i using DSO

  6. #6
    Join Date
    Feb 2011
    Posts
    129
    Yes, but I am asking (I am using this thread to not open another) if it was FastCGI what it would be custom .htaccess or custom .php.ini?

  7. #7
    Quote Originally Posted by moath1 View Post
    i using DSO
    you need to set the value in .htaccess


    Quote Originally Posted by XViD View Post
    Yes, but I am asking (I am using this thread to not open another) if it was FastCGI what it would be custom .htaccess or custom .php.ini?
    you need a custom php.ini for the account
    | LinuxHostingSupport.net
    | Server Setup | Security | Optimization | Troubleshooting | Server Migration
    | Monthly and Task basis services.
    | MSN : madaboutlinux[at]hotmail.com | Skype : madaboutlinux

  8. #8
    Join Date
    Jan 2011
    Posts
    451
    Hello,

    Yes, that's right. Cheers !
    " Your work is to discover your work and then with all your heart to give yourself to it. "

    That's the mark of a true professional !

Similar Threads

  1. exclude an account from cpbackup?
    By sharmaine1111 in forum Hosting Security and Technology
    Replies: 5
    Last Post: 06-23-2010, 02:46 PM
  2. cs-card safemode
    By Yurtseven in forum Ecommerce Hosting & Discussion
    Replies: 0
    Last Post: 02-23-2006, 12:25 PM
  3. do you use safemode on or off?
    By Lem0nHead in forum Hosting Security and Technology
    Replies: 16
    Last Post: 06-02-2004, 01:23 PM
  4. PHP safemode ON
    By inteltechs in forum Hosting Security and Technology
    Replies: 21
    Last Post: 06-24-2003, 05:20 AM
  5. php safemode.
    By babak in forum Hosting Security and Technology
    Replies: 3
    Last Post: 08-26-2002, 03:56 PM

Posting Permissions

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