The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

phpsuexec

Discussion in 'General Discussion' started by joana, Apr 4, 2003.

  1. joana

    joana Well-Known Member

    Joined:
    Sep 29, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    just rebuilt apache using option 6 selecting phpsuexec with other modules we need like the Curl/SSL , GD..etc.. after this, apache started OK but most php scripts on the server stopped working..Like OSCommerce will display 500 error, phpInfo will display "Unauthorized access"..etc.. any ideas?
     
  2. Deltax

    Deltax Guest

    How can I do that?:confused:
     
  3. YukFoo

    YukFoo Well-Known Member

    Joined:
    Sep 1, 2002
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    16
    CHMOD 755.

    - oops hit enter before I finished. :p

    Login via FTP, right click on the file, scroll to CHMOD, enter 755.
    That is if you're using WS_FTP Pro.
     
  4. Deltax

    Deltax Guest

    Do this to all the million scripts?:D

    I've rebuild apache without phpsuexec, and still having the same problem :confused:
     
  5. cerberus2k

    cerberus2k Member

    Joined:
    Feb 9, 2003
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Glasgow
    you could do a find | grep and then |chmod

    that should do it

    ie

    find / | grep ".php" | chmod 755
     
  6. djstudio

    djstudio Well-Known Member

    Joined:
    Oct 23, 2002
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    your command will produce
    too few arguments

    cPanel.net Support Ticket Number:
     
  7. perlchild

    perlchild Well-Known Member

    Joined:
    Sep 1, 2002
    Messages:
    279
    Likes Received:
    0
    Trophy Points:
    16
    don't you mean

    find / -iname '*.php' -exec chmod 755 \[\} \;
    on bash?

    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:
     
  8. hostultra

    hostultra Well-Known Member

    Joined:
    Aug 21, 2002
    Messages:
    167
    Likes Received:
    0
    Trophy Points:
    16
    Maybe im just lucky but I just installed the apache which was built today (May 29th) and selected Advanced and checked a few things, GD, SuEXEC, phpSuEXEC and it works perfectly

    Mail sent by PHP scripts gets sent from the user, and all scripts i have tested are working, and it works without chmod 755 :D

    http://server.hostultra.com/phpinfo.php

    BTW. Why does PHPinfo say
    MySQL
    Client API version 3.23.49
    when i am using MySQL 4?
     
    #8 hostultra, May 29, 2003
    Last edited: May 29, 2003

Share This Page