Jump to content
The Uniform Server Community

Apache errors when running as a service


lscott
 Share

Recommended Posts

I've installed the Uniform Server, and after setting it all up and getting happy with it, I ran the .bat file that installs and sets up Apache and MySQL as services on a Windows Server 2003 box.

 

Now when Apache starts, I'm getting the following errors in the log file:

_____________________________________________________________

Warning: fopen() [function.fopen]: Unable to access /usr/local/apache2/conf/httpd.conf in C:\UniServerX.X\home\admin\www\aconfig.php on line 140

 

Warning: fopen(/usr/local/apache2/conf/httpd.conf) [function.fopen]: failed to open stream: No such file or directory in C:\UniServerX.X\home\admin\www\aconfig.php on line 140

 

Warning: filesize() [function.filesize]: Unable to access /usr/local/apache2/conf/httpd.conf in C:\UniServerX.X\home\admin\www\aconfig.php on line 141

 

Warning: filesize() [function.filesize]: stat failed for /usr/local/apache2/conf/httpd.conf in C:\UniServerX.X\home\admin\www\aconfig.php on line 141

 

Warning: fread(): supplied argument is not a valid stream resource in C:\UniServerX.X\home\admin\www\aconfig.php on line 141

 

Warning: fclose(): supplied argument is not a valid stream resource in C:\UniServerX.X\home\admin\www\aconfig.php on line 142

________________________________________________________________

 

I've looked at the httpd.conf file, and it's there, and the permissions look OK to me, so, any idea what the problem is? As far as I can tell, the website seems to function OK, so Apache is up and running, as is MySQL. The .htaccess file seems to be doing it's job as well, as I couldn't access the website remotely until I modified it.

 

Thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...