Dragoa Posted June 10, 2008 Share Posted June 10, 2008 Hi, I'm currently very new to using Apache and PHP and have gotten a fairly successful install of Apache2 and php 5.2.6 on my HP-UX 11 box. Although up until now I've been using root to start and stop the webserver, which is bad, and I'd like to remedy this by running it as my basic login[Lets call it user1]. As of right now whenever I try to ./apachectl start, everything works as normal, no errors, except the server doesn't start(When I try to connect to the web server it says it cannot access it). Any tutorials(preferably ones that don't abuse shorthand/variables names since I find them quite hard to use) or help would be greatly appreciated. Thanks. Link to comment https://forums.phpfreaks.com/topic/109629-solved-running-apachectl-from-non-root/ Share on other sites More sharing options...
trq Posted June 10, 2008 Share Posted June 10, 2008 It is quite normal to only be able to start/stop apache as root, it doesn't actually run as root but switches to the account specified within your httpd.conf file. if you would like to be able to start apache from your normal user account, look into sudo. Link to comment https://forums.phpfreaks.com/topic/109629-solved-running-apachectl-from-non-root/#findComment-562557 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.