Contact Us

Home > Error Trying > Error Trying To Access Httpd.conf. You Will Need To Manually

Error Trying To Access Httpd.conf. You Will Need To Manually

Confirm that the created account is a member of the Users group. This has been driving me nuts. Back to top #3 SuperBlue SuperBlue Advanced Member Members 306 posts Posted 04 February 2010 - 10:19 AM It wouldn't let me save the changes that i made to the file. The error log gives it as: [error] [client] client denied by server configuration: E:/public_html/test.php Please help (and please note that I am a beginner) Thanks reply October 14, 2012 - weblink

reply Main menuHome Javascripts PHP Scripts Apache on Windows Technical Documents Apache on WindowsInstalling Apache Installing PHP Installing MySQL Installing Perl Other Software Sharing Server Scripts & design created 2000-2016 Instead, I realized if you double click the tray icon you open a window with a lot of extra options, including the restart button. Editing Apache Conf File Using Notepad open httpd.conf (should be start-menu shortcut "Apache HTTP Server 2.2 > Configure Apache Server > Edit the Apache httpd.conf Configuration File"). e.g.:file:///C:/public_html/test.php The php is just not executed.

I have php5apache.all under my C:/PHP folder but not sure why I get this error. When starting Apache as a service you may encounter an error message from the Windows Service Control Manager. Start - Settings - Control Panel - Administrative Tools - Event Viewer.

When the MSI is opened, click on the AppSearch table in the left frame. When I try to open http://localhost/test.php, I get a 404 Not Found page, although I have followed your guide to a letter. eg;file:///C:/public_html/test.html However, if it is a PHP file, it doesn't work. reply March 9, 2011 - 7:05pm — ricocheting Answer: PHP file trying to download or displaying PHP code The behavior you are describing usually occurs when Apache hasn't been restarted after

It has, however, wide privileges locally. I'm running on Vista. HOw would I go about manually configuring the web server because of something like the message "httpd.conf file. It tries to download the file instead of displaying it in the browser.

You need the thread safe version to get the php5apache*.dll files Back to top prem1preJoined: 04 May 2012Posts: 7 Posted: Tue 08 May '12 2:57 Post subject: I get this error.."Error Back to top #2 corbin corbin Advanced Member Staff Alumni 8,129 posts Posted 03 February 2010 - 10:09 PM What in the world do you mean? It is really a simple procedure to configure Apache with PHP. To test your PHP simply create a test.php file in your Apache "DocumentRoot" folder (C:\public_html\ in my case).

in my case: extension_dir = "C:\php\ext" VC9 Note VC9 will have ;extension_dir = "ext" so make sure you remove the ; from in front of it also. Faq Reply With Quote December 20th, 2007,08:36 PM #6 No Profile Picture ptr2void View Profile View Forum Posts  I haz teh codez! If you need Apache to be able to access network resources, create a separate account for Apache as noted below. Results 1 to 2 of 2 Thread: [RESOLVED] PHP Installation Error Tweet Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded

Check this:http://news.softpedi...he2-62975.shtml Back to top #4 Maq Maq Advanced Member Administrators 9,406 posts LocationPennsylvania, USA Posted 28 October 2010 - 12:36 PM Just FYI, this post was from over 3 years But, so long as you don't put the PHPIniDir in a container, you can make it the first or last line in the file. Faq Reply With Quote December 20th, 2007,09:19 PM #7 No Profile Picture cwhite View Profile View Forum Posts  Registered User Devshed Newbie (0 - 499 posts)  Join Date Then i search for extension_dir = "./", and i add there extension_dir = "ext" without ";".

Dev Shed Forums Navigation Forums Tools Newsletter Signup Articles Help Devshed Network Developer Shed ASP Free Dev Shed Dev Articles Dev Hardware Tutorialized SEO Chat Scripts Codewalkers Web Hosters Dev Mechanic Privacy Statement Terms of Use Contact Us Advertise With Us Hosted on Microsoft Azure Follow us on: Twitter Facebook Microsoft Feedback on IIS Powered by IIS8 Apache LoungeWebmasters About Forum Index The general layout of the file described in the comments you're looking for is just an organization of convenience, guided by an implicit logical flow. check over here Testing the Installation After starting Apache (either in a console window or as a service) it will be listening on port 80 (unless you changed the Listen directive in the

Click on that and you'll see only one signature, that of CheckFile. Back to top #4 corbin corbin Advanced Member Staff Alumni 8,129 posts Posted 05 February 2010 - 02:41 AM Hrmmm perhaps.If you ran the installer as the user you're logged on Rather handy in a 2k text file. ^_^ Comments on this post jharnois  agrees Faq Reply With Quote December 20th, 2007,02:17 AM #3 No Profile Picture cwhite View Profile

Either at the very beginning or end of the file add the following lines: (NOTE: be sure to change BOTH C:/php parts to the directory you installed your php to) LoadModule

Mine looks like: DirectoryIndex index.php index.html default.html Testing Restart Apache if it is already running (if it doesn't start or you get errors, use your Apache "Test Configuration" I am putting it back up, but will no longer update it. If Apache2.4 is installed at C:\Program Files, then the root directory, Program Files and Apache2.4 must all be visible to Apache. To start an installed Apache service you'll use this: httpd.exe -k start -n "MyServiceName" To stop an Apache service via the command line switches, use this: httpd.exe -k stop -n "MyServiceName"

Maybe someone can explain why this occurs though. reply February 26, 2011 - 11:15am — Anonymous Question: Zip file does not contain php5apache2_2.dll I have downloaded '' file and but can not find the file 'php5apache2_2.dll'. Other than that, great instructions, best I found on the web. this content I get error "The requested operation has failed" #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL PHPIniDir "C:/webserver/Apache2.2/php/" LoadModule php5_module "C:/webserver/Apache2.2/php/php5apache2_2.dll" AddType application/x-httpd-php .php #END PHP INSTALLER EDITS - REMOVE

Back to top Apache Forum Index -> Other Software Page 1 of 1 Register Help Remember Me? Apache can also load ISAPI (Internet Server Application Programming Interface) extensions such as those used by Microsoft IIS and other Windows servers. It's very easy to miss a single letter when re-reading or your work. These are the same files used to configure the Unix version, but there are a few different directives for Apache on Windows.

During the process, an error occured error trying access httpd.conf file. If you don't specify a configuration file with -f or -n, Apache will use the file name compiled into the server, such as conf\httpd.conf. reply August 17, 2011 - 7:20pm — Anonymous Thanks a lot to ricocheting Thanks for the help with the 404 not found problem. To be able to manage an Apache service with the monitor, you have to first install the service (either automatically via the installation or manually).

Devshed Frequenter (2500 - 2999 posts)                Join Date Dec 2003 Posts 2,574 Rep Power 2340 I'm If Apache is running as a service, you can tell it to stop by opening another console window and entering: httpd.exe -k shutdown Running as a service should be preferred over Steffen Apache Lounge is not sponsored by anyone.Your donations will help to keep this site alive and well, and continuing the building of the binaries. I prefer a manual install myself.

Since it is often difficult to manage files with names like .htaccess in Windows, you may find it useful to change the name of this per-directory configuration file using the

But I wouldn't have looked for that if not for your reply. The main differences in Apache for Windows are: Because Apache for Windows is multithreaded, it does not use a separate process for each request, as Apache can on Unix. Now it's changed and says "No input file specified." Also, should I install PHP with API or CGI. While filenames are generally case-insensitive on Windows, URLs are still treated internally as case-sensitive before they are mapped to the filesystem.

I'm having an issue with Step 5 (Editing Apache Conf File).