I have installed Xampp server properly in ubuntu 12.10. also changed permissions of htdocs folder where my php files are stored, but when I run my project these files are not accessed.
I am using xampp for running my android application.
I am connecting xampp to my android application. php files contains database queries. url of these files are stated in my code as 10.0.2.2/file_name. but when i run my code these files are not accessed. same code is running easily in windows but i think may file permission is creating problem in ubuntu. I followed instructions provided by link forums.bizhat.com/linux-freebsd-opensource/… but still querries in php files doesn't run. can anyone please help.
Sample project link is http://www.androidhive.info/2012/05/how-to-connect-android-with-php-mysql/
when I run this project I get "Json parser error". it is because my code is not able to reach database querries which are written in php files (saved in htdocs of xampp).
same code is running properly in windows but i want it to run in ubuntu. so is there any way to do so ???
How can i make my php files get accessed ??
thanks in advance..