Page 1 of 1

making PHP files World executable

Posted: Thu Sep 01, 2005 3:28 pm
by hshigs
I have moved some code to a new server which requires PHP files to be world executable. I was hoping someone could let me know how to make my files world executable. Is it just a line of code that I need to enter into my PHP or does it have to do something other than that. Any help or direction towards a post that has already discussed would be appreaciated. i tried a search under world executable but nothing came up directly or that I could decipher from the titles of the post. Thanks for your time!

Posted: Thu Sep 01, 2005 4:00 pm
by feyd
unless I misunderstood, chmod'ing the files through FTP or your hosts control panel would do it.

Posted: Thu Sep 01, 2005 5:09 pm
by Chris Corbyn

Code: Select all

chmod 0777 filename_here

Posted: Thu Sep 01, 2005 6:13 pm
by hshigs
So just post the code from the above post within the PHP file. I didn't really understand what chmod'ing is. Please clarify what these things mean please... sorry newbie!

Posted: Thu Sep 01, 2005 6:21 pm
by patrikG
d11wtq wrote:

Code: Select all

chmod 0777 filename_here
surely you meant 0755

Posted: Thu Sep 01, 2005 8:00 pm
by feyd
you wouldn't do that from a php file. As I said, in FTP or your host's control panel.

Info on what chmod is: http://catcode.com/teachmod/