Jump to content

leimeisei

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Posts posted by leimeisei

  1. Safe Mode is not enabled for PHP. Also, file_exists, if used with the same file path, returns a true. Here is the code I am using for writability testing:

     

    <?php

    die( "Status: ".is_writable("pages/default/settings.php"));

    ?>

     

    The output looks like....

     

    Status:

  2. Hi all,

     

    I've set up quite a few linux (more specifically Fedora) PHP/MySQL/Apache servers, but never had this problem before.

     

    Whenever I set up most PHP applications, like Joomla, Drupal, and SMF, I am prompted to make certain directories writeable. So I do an ssh into my server using the root user, and do chmod 777 [filenames/directories here]. However, it doesn't work on this particular server. On my other servers, doing the chmod 777 does the trick, but on this one, i'll just refresh, and the PHP app still complains about not having write permissions. I tried restarting httpd and everything, still doesn't work.

    When I do ls -la on my smf directory, all the directories/files I want to have writeable by PHP have permissions rwxrwxrwx so those are obviously okay, and they are all owned by root, of course I don't think owner matters because the third 7 in the octet should specify that it is writeable by everyone.

     

    Does anyone know what is causing this? If anyone needs more info, I can give it.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.