I am unable to modify php stuff (wordpress, joomla etc) through their backend/control panel. Wordpress gives me this error. PHP Warning: " fopen(C:\Inetpub\wwwroot\wordpress/wp-content/themes/gridlock/style.css) [function.fopen]: failed to open stream: Permission denied in C:\Inetpub\wwwroot\wordpress\wp-admin\theme-editor.php on line 58 PHP Warning: fwrite(): supplied argument is not a valid stream resource in C:\Inetpub\wwwroot\wordpress\wp-admin\theme-editor.php on line 59 PHP Warning: fclose(): supplied argument is not a valid stream resource in C:\Inetpub\wwwroot\wordpress\wp-admin\theme-editor.php on line 60 " I am guessing that I dont have the permission to modify PHP code from the browser but how can I fix this. This is on my pc (as a server).
You need to edit the permissions to allow the webuser to write to the files. So in your example, you would need to ensure style.css has permissions which allow writing.
Well its not just the css of wordpress, its with every php software package (joomla etc). Any idea how to do it? Thanks