making PHP files World executable

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
hshigs
Forum Newbie
Posts: 11
Joined: Tue May 24, 2005 9:38 am

making PHP files World executable

Post 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!
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

unless I misunderstood, chmod'ing the files through FTP or your hosts control panel would do it.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Code: Select all

chmod 0777 filename_here
hshigs
Forum Newbie
Posts: 11
Joined: Tue May 24, 2005 9:38 am

Post 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!
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

d11wtq wrote:

Code: Select all

chmod 0777 filename_here
surely you meant 0755
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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/
Post Reply