Closed Thread
Results 1 to 6 of 6
Like Tree1Likes
  • 1 Post By essellar

Thread: PHP loading problems

  1. #1
    edgarasf12369 is offline x10Hosting Member edgarasf12369 is an unknown quantity at this point
    Join Date
    Jul 2011
    Posts
    7

    Unhappy PHP loading problems

    Hello, I have problems loading PHP pages on my host. I don't think it's something with permissions because it worked earlier.

    http://darke.x10.mx/e2images/image.php (Permissions: 755)

  2. #2
    essellar's Avatar
    essellar is offline Community Advocate essellar has a spectacular aura about
    Join Date
    Feb 2010
    Location
    Toronto, Ontario, CA
    Posts
    1,152

    Re: PHP loading problems

    It should never have worked with 755 permissions -- 644 is the max permissions for files. 755 for folders and 644 for files is really the only sane setting for shared hosting (folders need the execute bit set so people can get to them). It's not just here, either (although it is enforced by policy here); see this thread at the cPanel forums for more info.
    Dead-i likes this.
    “Beware of bugs in the above code; I have only proved it correct, not tried it.” --Donald Knuth
    "It was as if its architects were given a perfectly good hammer and gleefully replied, 'neat! With this hammer, we can build a tool that can pound in nails.'" -- Alex Papadimoulis (on TheDailyWTF.com)

  3. #3
    edgarasf12369 is offline x10Hosting Member edgarasf12369 is an unknown quantity at this point
    Join Date
    Jul 2011
    Posts
    7

    Re: PHP loading problems

    Quote Originally Posted by essellar View Post
    It should never have worked with 755 permissions -- 644 is the max permissions for files. 755 for folders and 644 for files is really the only sane setting for shared hosting (folders need the execute bit set so people can get to them). It's not just here, either (although it is enforced by policy here); see this thread at the cPanel forums for more info.
    I changed to image.php permissions to 644 , and folder to 755. I still have the same problem. It doesn't respond to requests :/ .

  4. #4
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,635

    Re: PHP loading problems

    Quote Originally Posted by essellar View Post
    It should never have worked with 755 permissions -- 644 is the max permissions for files. 755 for folders and 644 for files is really the only sane setting for shared hosting (folders need the execute bit set so people can get to them). It's not just here, either (although it is enforced by policy here); see this thread at the cPanel forums for more info.
    Unfortunately, that is not the case here. .php files with permissions set to 0777 inside of folders set to 0777 will function (at least on Chopin they do).
    Nothing is always absolutely so.

  5. #5
    essellar's Avatar
    essellar is offline Community Advocate essellar has a spectacular aura about
    Join Date
    Feb 2010
    Location
    Toronto, Ontario, CA
    Posts
    1,152

    Re: PHP loading problems

    They didn't used to -- the change was (just) before my time as a CA, as part of the Lightspeed migration. The indication was, though, that reverting to 755/644 was a possibility, so folks ought to stick to that level to avoid nasty surprises.
    “Beware of bugs in the above code; I have only proved it correct, not tried it.” --Donald Knuth
    "It was as if its architects were given a perfectly good hammer and gleefully replied, 'neat! With this hammer, we can build a tool that can pound in nails.'" -- Alex Papadimoulis (on TheDailyWTF.com)

  6. #6
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,635

    Re: PHP loading problems

    Maybe if we ask him what his .php script is doing we can figure out why it is hanging.

    Edit: Never mind. He's been ZT Suspended.
    Last edited by descalzo; 10-29-2011 at 04:21 PM.
    Nothing is always absolutely so.

Closed Thread

Similar Threads

  1. Site loading problems
    By mirkan0331 in forum Free Hosting
    Replies: 0
    Last Post: 03-25-2011, 06:09 AM
  2. Php loading problems
    By muscovy in forum Free Hosting
    Replies: 6
    Last Post: 12-06-2009, 01:31 PM
  3. Problems loading
    By Fyro956 in forum Free Hosting
    Replies: 1
    Last Post: 09-17-2008, 05:55 PM
  4. Loading Problems
    By TheChosenOne in forum Free Hosting
    Replies: 7
    Last Post: 05-15-2008, 04:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers