CANNOT SAVE HTML AND PHP FILE IN UBUNTU ( WWW )



Usually, it happen when we after coding and save in /var/www/ or localhost/apache folder , in Windows we can call it htdoc. Actually,  the problem
only in the system folder because /var/www/ is located at the system folder in ubuntu. Lets give the access right in /var/www  folder :

1. Open the Terminal first (ctrl+alt+t)
 


2. Type this code below

sudo su                           



3. Then type 

chmod 777-R /var/www/



No comments:

Post a Comment