N/APosted on - 08/17/2011
I am using Ubuntu 10.10 in my PC. After installing “XAMPP” software successfully I put my software's source file to 'htdocs' folder but when I try to run the source file using browser the software cannot run, but in windows I can use it easily.
How I can solve this problem?
XAMPP not work properly in Ubuntu
Xampp is a powerful program for Ubuntu 10.1. It is normal that when you successfully installed it, you'll get problems with the htdocs folder. You must know the other xampp error prevention codes.
The htdocs folder is a read only folder. Reassure that your PHP can detect the htdocs folder.
The file permission must be 755 or Linux/Ubuntu OS.
sudo chmod 77 -R /opt/lampp/htdocs/
By this code the folder will now change its ownership. It will change the htdocs' folders and files' permission. You must enter the code correctly to avoid errors in the future.
I hope this would solve your problem.