hari4php;10944942 wrote:But wheather i should create my own folder to test my php coding are should use the already existing folders...
Well those might be the folders where the two software packages are installed, yes, but normally you'd simply put your PHP scripts in the document root of the website, which is located in neither of those two folders. If you choose to place them in a different location, then you'd have to configure Apache to serve up web pages from that new location.
hari4php wrote:And also i am the admin user of this system..y i am getting this permission denied msg...Any suggetion.
While you didn't even tell us what the error message is ("permission denied msg" leaves approximately an infinite number of possibilities), it may very well be that you are logged in as root (then again, perhaps you aren't?), but that has no bearing on what user credentials Apache is attempting to use.