![]() |
.php file permisions
There is one thing that concerns me recently... after upload of any .php files to my server they get automatically permissions 755 for e.g. wordpress files and any other .php files.
Is that correct? Shouldn?t it be 644 like all other file types? :helpme |
That is fine, unless you got something crazy that shouldnt be seen.
755 is owerner can read, write excute, others in group can read and excute but cannot write, and the rest of the world can read and excute but cannot write. |
Quote:
|
Yeah, you can just chmod it to whatever permission you want when you upload it.
|
generally PHP files that are uploaded to the servers get the 755 permission
while directories have 750... |
.php files should be 644
|
Yes Fris is also right, as I said in my post unless you have something really important in the php file that has an open password or what not 755 will be fine and you wont have risk but if you have a php file with passwords or open directorys so forth 644 should be the setting for example configure.php that would hold the mysql data base name and password should be set to 644 but most other php files are safe as 755
|
Thx for all replays. I've chmoded all .php's to 644 just in case. :thumbsup
|
you can find a lot of doc and example asking google
|
All times are GMT -7. The time now is 05:53 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123