You are here: Re: Permissions « PHP Programming Language « IT news, forums, messages
Re: Permissions

Posted by none on 03/06/06 04:39

Gordon Burditt wrote:
>>>>I had a nice php application running on my server here at home, and I
>>>>uploaded it to a shared public type server and it started to break all
>>>>over the place. It turns out that some scripts required higher
>>>>permissions that others, but I can't figure out what the difference is.
>>Some PHP scripts run OK at 644 while others require 755. These are all
>
>
> What error messages do you get when you violate this?

**********************
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator,
webmaster@sgimis.it-resources.com and inform them of the time the error
occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use
an ErrorDocument to handle the request.

************************

> How do you know some scripts require mode 755?

Because when I chmod the file to 755, it runs OK. So, I thought about
your question some more, and I chmoded the files to 644 and they ran OK,
too.

It turns out they were uploaded at 664. (Even though the chmod dialog
indicated they were 644). Now, why 644 works and 664 doesn't only
deepens the mystery for me.

Ken

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация