in reply to this program is not running in apache web server

I'm sure your webserver process have no rights to access /root folder.

  • Comment on Re: this program is not running in apache web server

Replies are listed 'Best First'.
Re^2: this program is not running in apache web server
by sanku (Beadle) on Oct 30, 2008 at 06:33 UTC
    hi Gangabass, 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. Thank you
      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.

        hi moritz, Thanks a lot. Now the program is running.