1. TO CHECK UBUNTU VERSION;
- Open a Terminal (Applications -> Accessories -> Terminal).
- Type "lsb_release -a" and press Enter.
- The Ubuntu version will be displayed on the screen.
when you have install php in tour system in var/www/testphp.php. con't having write permission means you can do the command
If you can do this, try the following:
sudo chmod -R 777 /var/www
sudo cp hello.php /var/www
I only recommend doing this if you know 100% that it is ok to set permissions on the whole WWW folder. By the sounds of it, you are running on your own production server as most live/shared hosting servers are setup so that the WWW folder is not in the /var folder (instead it is in the home folder of the user).
Be VERY careful when doing anything with the sudo prefix though, you can seriously damage your
No comments:
Post a Comment