When I try to save the file of PHP in Ubuntu I get that error:
unable to save /var/www/html/script.php
Error permission denied
How can I fix this error and save/run the PHP file?
When I try to save the file of PHP in Ubuntu I get that error:
unable to save /var/www/html/script.php
Error permission denied
How can I fix this error and save/run the PHP file?
the problem that I faced was in permissions so, I have to change the chmod of a directory which I working on so, in this case, I should write the following command:
The o stands for other and the + adds the permissions w is write.
at this moment the mode of the whole directory will change from reading to writing mode