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)
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)
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.
“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)
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)
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.