简体   繁体   中英

How to set permission for a folder without cpanel access

Hello iam using wordpress and i need to set permission for a plugin folder to be 755, Iam the admin of the blog but i don't have permission in the cpanel is their a way to do it using php or any other stuff? badly need some help....

PHP you say?

chmod("/foo/bar", 0755);

http://php.net/manual/en/function.chmod.php

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM