in reply to Re^2: this program is not running in apache web server
in thread this program is not running in apache web server

Could you please tell me how to give access permission for the root folder as my webserver process have no rights to access /root folder.

Don't. On most Unix systems there's dedicated place for stuff like that, and it's /var/www/ or /srv/www/. Use that instead of fiddling with you root user's home directory.

Replies are listed 'Best First'.
Re^4: this program is not running in apache web server
by sanku (Beadle) on Oct 30, 2008 at 06:59 UTC
    hi moritz, Thanks a lot. Now the program is running.