logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Trouble Configuring Apache on Windows
Author
Audioicon



Joined: 21 Aug 2008
Posts: 2

PostPosted: Thu 21 Aug '08 6:01    Post subject: Trouble Configuring Apache on Windows Reply with quote

Hello everyone, this is my very first post in this forum. I'm very new to Apache. I'm currently learning PHP and need to install Apache on my computer to create a local sever for testing my pages.

I'm reading the book PHP Solutions - Dynamic Web design Made Easy, by David Powers.

I have configured the httpd.conf as instructed by the author but when I tried to save the configured file, I get the following error message.

cannot create the C:\program Files\Apache\Apache Software Foundation\Apache2.2\conf\httpd.conf file

I installed Apache in the default directory chosen by Windows during the installation process.

The book seemed helpful but does not cover recent software updates and this can be confusing.

I have heard very conflicting reports regarding all in one packages like XAMPP and that it's not endorsed by PHP.

Any ideas? Also is there a step by step guide that walks you through these installation process? I'm currently searching other areas.

For not I cannot save the httpd.conf file in windows Vista.

Thanks for your help and patients.

Patrick
Back to top
GreenMotion



Joined: 21 Aug 2008
Posts: 3

PostPosted: Thu 21 Aug '08 17:01    Post subject: Reply with quote

That doesn't sound at all Apache related; even when Apache is running, it does not put an exclusive lock on httpd.conf.

How did you configure your httpd.conf?

Did you start out with a blank httpd.conf and then try to save it into that directory?

or

did you launch your editor, load httpd.conf from that directory, make changes and try to save it back?

In case of the latter, have you done a right-click properties on the file? Is it toggled as read-only perhaps?
Back to top
Audioicon



Joined: 21 Aug 2008
Posts: 2

PostPosted: Fri 22 Aug '08 3:55    Post subject: Reply with quote

GreenMotion wrote:
That doesn't sound at all Apache related; even when Apache is running, it does not put an exclusive lock on httpd.conf.

How did you configure your httpd.conf?

Did you start out with a blank httpd.conf and then try to save it into that directory?

or

did you launch your editor, load httpd.conf from that directory, make changes and try to save it back?

In case of the latter, have you done a right-click properties on the file? Is it toggled as read-only perhaps?



I found the problem, I had to disable Windows UAC, this was causing Apache to install in the wrong directory so when I opened the file in notepad, edit them and tried to save them, it says directory does not exist, it explains I needed to recreate the path.

Have you experience this before?

Patrick
Back to top


Reply to topic   Topic: Trouble Configuring Apache on Windows View previous topic :: View next topic
Post new topic   Forum Index -> Apache