Community Forums
Connect with us on LinkedIn
  
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Oct 2003
    Posts
    75

    Default phpsuexec

    hello all

    please can any one help us to fix this issue

    iam set sae_mode to on and global_registres to off it is great
    and i have use phpsusexe also that great

    but i have set

    safe_mode to off
    global_registres to on

    for 1 domain

    i use this

    <VirtualHost XXX>
    ServerAlias XXXnet
    ServerAdmin webmaster@XXX.net
    <IfModule mod_php4.c>
    php_admin_value open_basedir "/home/XXX:/usr/lib/php:/usr/local/lib/php:/tmp"
    php_admin_flag safe_mode Off
    php_admin_flag register_globals On
    </IfModule>
    #php_admin_flag safe_mode Off
    #php_admin_flag register_globals On
    DocumentRoot /home/XXX/public_html


    the safe_mode and global_registres dowsn't change value

    when i use

    <VirtualHost XXX>
    ServerAlias XXX.net
    ServerAdmin webmaster@XXX.net
    php_admin_flag safe_mode Off
    php_admin_flag register_globals On
    DocumentRoot /home/XXXpublic_html

    it change the value but i have error after support phpsuexec


    so how can i use

    php_admin_flag register_globals On
    DocumentRoot /home/XXXpublic_html

    with phpsuexec ??

    it was work great before i setup phpsuexec

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by kuwaitnt
    it change the value but i have error after support phpsuexec

    so how can i use

    php_admin_flag register_globals On
    DocumentRoot /home/XXXpublic_html

    with phpsuexec ??

    it was work great before i setup phpsuexec
    Since Phpsuexec is installed/activated on your server, Php scripts and/or documents should be owned by user:group and can NOT be world writable. Phpsuexec deals exclusively with Php. In addition, some directives in .htaccess may not work. This is because php is no longer running as an apache module and apache will not handle those directives any longer.
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  3. #3
    Member
    Join Date
    Oct 2003
    Posts
    75

    Default

    thanks andy


    but if i set safe_mode to off now it is secure ??

Similar Threads & Tags
Similar threads

  1. PHPsuexec
    By superwarp7 in forum Discusión en Español
    Replies: 5
    Last Post: 04-19-2006, 10:43 PM
  2. To phpsuexec or not to phpsuexec?
    By nothsa in forum cPanel and WHM Discussions
    Replies: 15
    Last Post: 01-07-2006, 11:29 AM
  3. phpsuexec
    By latpanel in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-19-2004, 06:43 PM
  4. Still 'nobody' after phpsuexec
    By Doctor in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-21-2003, 02:45 PM
  5. phpsuexec
    By jbix9 in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 10-15-2003, 03:52 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube