Results 1 to 2 of 2

Thread: making sure php has correct permissions

  1. #1
    EMS
    EMS is offline
    BANNED
    Join Date
    May 2003
    Posts
    251

    Default making sure php has correct permissions

    This is a newbie question.

    How can I make sure that php can perform all the functions needed by scripts and temporary files etc ?

    When I first installed cpanel everything was working great with PHP. I beleive suexec was installed.

    The first time I ran easyapache things started to go a bit strange with PHP - some permission errors and problems writing to temp files etc.

    Some of these problems were fixed by making some files world writeable. This was not required before though.

    I presume that before, php was running as the user (owner) therefore the files did not need to be world writeable.(is it suexec that does this?) I need to get back to this situation asap.

    What I need to know is.....

    1. What happened ?
    2. What do I need to do to make sure that PHP has all the correct permissions or is running as the right user ?
    2. If the problem is with suexec ? How do I make sure its working correctly ?

    Any advice on this would be very much appreciated. I'm learning Linux and so far love it - im just a bit confuzzled with some of this stuff.

    cPanel.net Support Ticket Number:

  2. #2
    EMS
    EMS is offline
    BANNED
    Join Date
    May 2003
    Posts
    251

    Default

    There are so many experts on here and yet noeone will answer this easy question ?

    cPanel.net Support Ticket Number:

Similar Threads

  1. Correct Permissions for /etc/localdomains ?
    By mikelegg in forum cPanel & WHM Discussions
    Replies: 11
    Last Post: 02-03-2011, 07:22 PM
  2. correct permissions of .rnd
    By rs-freddo in forum cPanel & WHM Discussions
    Replies: 9
    Last Post: 06-25-2009, 05:53 AM
  3. RHEL3 + Exim: correct permissions for /mail directoy?
    By benlancaster in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 11-06-2005, 10:46 AM
  4. Just making sure this setup is correct
    By lexmark in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 07-11-2004, 10:19 PM
  5. Domain Parking does not correct permissions
    By bert in forum cPanel & WHM Discussions
    Replies: 6
    Last Post: 04-23-2002, 04:56 PM
bargain