Httpd.exe Syntax Error On Line 456 Of C /xampp/apache/conf/httpd.conf
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up XAMPP is not starting Apache on XP up vote 2 down vote favorite 1 I setup a new XP machine with no software except drivers and VNC. I downloaded XAMPP 1.8 from their website. Apache won't start. I looked in the EventViewer for details and saw httpd.exe: Syntax error on line 456 of C:/xampp/apache/conf/httpd.conf: Syntax e rror on line 17 of C:/xampp/apache/conf/extra/httpd-xampp.conf: Cannot load /xam pp/php/php5ts.dll into server: The application has failed to start because its s ide-by-side configuration is incorrect. Please see the application event log for more detail. I've been searching the web high and low and can't figure this out. php windows apache xampp share|improve this question edited Aug 10 '12 at 17:56 hakre 134k26216387 asked Aug 10 '12 at 16:52 Cocoa Dev 3,2581883151 What is there in line 456 in httpd.conf and what is there in line 17 in httpd-xampp.conf –WatsMyName Aug 10 '12 at 16:56 Go to C:/xampp/apache/conf/httpd.conf and insert in here some of the text near line 456. Also insert some text near line 17 from C:/xampp/apache/conf/extra/httpd-xampp.conf –Isaac Gonzalez Aug 10 '12 at 16:58 add a comment| 1 Answer 1 active oldest votes up vote 7 down vote accepted I discovered that I needed to install the
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > Cannot start Apache due to a Syntax Error in httpd.conf file. Related to AccessFileName directive Want to Advertise Here? Solved Cannot start Apache due to a Syntax Error in httpd.conf file. Related to AccessFileName directive Posted on 2008-09-23 Apache Web Server 1 Verified Solution 2 Comments 13,716 http://stackoverflow.com/questions/11906037/xampp-is-not-starting-apache-on-xp Views Last Modified: 2012-08-13 I have recently instralled Apache 2.2, PHP 5, PHPMyAdmin, and MySQL on a Win 2003 Server.All is working perfectly! However I am now trying to harden security on the PHPMyAdmin which I have doen by renaming the directory (no problems there) and using .htacces this is where te problem occurs. I placed a new directive at line 235 in the httpd.conf: "AccessFileName .htaccess" When I try to restart https://www.experts-exchange.com/questions/23755276/Cannot-start-Apache-due-to-a-Syntax-Error-in-httpd-conf-file-Related-to-AccessFileName-directive.html Apache I get the following error: "Syntax Error AccessFileName not allowed here " at line 235 I have attached the full httpd.conf file for full info. Any help would be greatly appreciated. # # This is the main Apache HTTP server configuration file. It contains the # configuration directives that give the server its instructions. # See
of PHP 5.3.0. No need to figure out PECL and PEAR, set up the environment to compile from source, or beg for a Windows binary in PHP developer forums, thought I. Upgrading from 5.2.6 would be as easy as making the respective lines http://blog.dmitryleskov.com/programming/php/apache-2-2-cannot-load-php5apache2_2-dll-solved/ in Apache's httpd.conf point to the 5.3.0 installation… I was wrong. Apache won't start and it http://syntax.error.on.line.456.of.c.xamppapacheconfhttpd.conf.winwizards.org/ took me more than half an hour to figure out what's going on. First, PHP for Windows comes in several binary incarnations. The official site suggests that "VC6″ PHP binaries must be used with apache.org Apache binaries, whereas e.g. this SitePoint article states that "VC9″ PHP binaries must be used with Apache binaries provided by ApacheLounge. As far as I could recall, I had httpd.exe syntax the apache.org binaries, so I tried the VC6 build and Apache crashed on startup with access violation. Assuming a memory failure on my part, I tried the VC9 build but Apache still won't start, this time with the following event appearing in the Event Log: Event Type: Error Event Source: Apache Service Event Category: None Event ID: 3299 . . . Description: The Apache service named reported the following error: >>> httpd.exe: Syntax error on line 490 of O:/apache-2.2/conf/httpd.conf: Cannot load httpd.exe syntax error O:/php-5.3.0/php5apache2_2.dll into server: The specified procedure could not be found. So I searched for "Apache 2.2 cannot load php5apache2_2.dll" and spent the next twenty or so minutes reading various forums and blog posts, to no avail. When nothing helps, read the manual. I have re-read the "Apache 2.0.x on Microsoft Windows" section in the PHP install.txt file and noticed: Note: You should read the manual installation steps first! This made me think: "Hmm. Perhaps I had done something when installing PHP 5.2.6?" I scrolled to "Manual Installation Steps" and you know what, it turned out to be the case! The CGI and CLI binaries, and the web server modules all require the php5ts.dll file to be available to them. . . . To make php5ts.dll available you have three options: copy the file to the Windows system directory, copy the file to the web server's directory, or add your PHP directory, C:\php to the PATH. I blindly trust Windows Update to mess with my Windows system directory, but never manually copy files there, so the first option was ruled out. PHP was not in the PATH either, so looked into Apache bin/ directory and voila, php5ts.dll was right there. However, replacing it with php5ts.dll from PHP 5.3.0 did not help. Fortunately, at this point I recalled switching to the VC9 build in an attempt to solve the access violation problem. Switched back to VC6 and Apache finally starts!
456 Of C /xampp/apache/conf/httpd.conf) error you need to follow the steps below: Step 1: Download (Syntax Error On Line 456 Of C /xampp/apache/conf/httpd.conf) Repair Tool Step 2: Click the "Scan" button Step 3: Click 'Fix All' and you're done! Compatibility: Windows 7, 8, Vista, XP Download Size: 6MB Requirements: 300 MHz Processor, 256 MB Ram, 22 MB HDD Limitations: This download is a free evaluation version. To unlock all features and tools, a purchase is required. Syntax Error On Line 456 Of C /xampp/apache/conf/httpd.conf Error Codes are caused in one way or another by misconfigured system files in your windows operating system. If you have Syntax Error On Line 456 Of C /xampp/apache/conf/httpd.conf errors then we strongly recommend that you Download (Syntax Error On Line 456 Of C /xampp/apache/conf/httpd.conf) Repair Tool. This article contains information that shows you how to fix Syntax Error On Line 456 Of C /xampp/apache/conf/httpd.conf both (manually) and (automatically) , In addition, this article will help you troubleshoot some common error messages related to Syntax Error On Line 456 Of C /xampp/apache/conf/httpd.conf error code that you may receive. Note: This article was updated on 2016-10-12 and previously published under WIKI_Q210794 Contents 1.What is Syntax Error On Line 456 Of C /xampp/apache/conf/httpd.conf error? 2.What causes Syntax Error On Line 456 Of C /xampp/apache/conf/httpd.conf error? 3.How to easily fix Syntax Error On Line 456 Of C /xampp/apache/conf/httpd.conf errors What is Syntax Error On Line 456 Of C /xampp/apache/conf/httpd.conf error? The Syntax Error On Line 456 Of C /xampp/apache/conf/httpd.conf error is the Hexadecimal format of the error caused. This is common error code format used by windows and other windows compa