Apache.exe Syntax Error On Line 133
Contents |
contribution towards the costs, the time and effort that's going in this site and building. Thank You! Steffen Apache Lounge is not sponsored cannot load php5apache2_4.dll into server: the specified module could not be found. by anyone.Your donations will help to keep this site alive and well,
Cannot Load Php5apache2_4.dll Into Server %1 Is Not A Valid Win32 Application
and continuing the building of the binaries. PHP module not found Apache Forum Index -> Other Software
Cannot Load Modules/mod_access_compat.so Into Server
View previous topic :: View next topic Author Message MegamanXGoldJoined: 17 Jul 2006Posts: 2 Posted: Mon 17 Jul '06 2:32 Post subject: PHP module not found Since this is
Cannot Load C:/php/php5apache2_4.dll Into Server: %1 Is Not A Valid Win32 Application.
a software problem I won't bother with posting the hardware. This is for a personal web server. I have had some experience with Apache2, PHP4, and MySQL. With servers running stable (scary enough) on a Windows 98 Environment (phpBB and low-pop visits to the rest of the site) and later in Windows 2000 (when higher pop). Just so there's some php5apache2_2.dll download background experience here. It's been nearly 3 years since, however, that I've had a running web server. The software today: Windows XP Professional SP2 Apache 2.2.2 PHP 5.0.22 MySQL5 phpBB3 (soon) If I have problems I don't mind starting over and trying something different. But right now the problem is that Apache2 can't find the module for PHP. I have PHP5 in my C:\php\ directory, and my php5apache2.dll file in that folder. In the install.txt file that came with the PHP5 distribution, it says to put these lines in the httpd.conf file: Code: LoadModule php5_module "c:/php/php5apache2.dll" AddType application/x-httpd-php .php PHPIniDir "C:/php" I do that, and sure enough, Apache2 reports this: apache2.2.2 Test Configuration wrote: httpd.exe: Syntax error on line 121 of C:/Apache/conf/httpd.conf: Cannot load C:/php/php5apache2.dll into server: The specified module could not be found. I've tried changing it to these and no improvements occurred: Code: LoadModule php5_module c:/php/php5apache2.dll LoadModule php5_module "c:\php\php5apache2.dll" LoadModule php5_module C:/php/php5apache2.dll LoadModule php5_module "C:\php\php5apache2.dll" I've even tried copying the entire php folder into my Apache root, and using ./php/php5apache2.dll and that didn't help. And I tried copyi
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 cannot load modules/mod_actions.so into server Time Job Ways to Get Help Expand Search Submit Close Search Login Join the specified procedure could not be found apache Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > Cannot start php5apache2_4.dll download 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 https://www.apachelounge.com/viewtopic.php?t=566 directive Posted on 2008-09-23 Apache Web Server 1 Verified Solution 2 Comments 13,647 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 https://www.experts-exchange.com/questions/23755276/Cannot-start-Apache-due-to-a-Syntax-Error-in-httpd-conf-file-Related-to-AccessFileName-directive.html occurs. I placed a new directive at line 235 in the httpd.conf: "AccessFileName .htaccess" When I try to restart 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
addition causing Apache to not start Posted by: skiglades (---.static.mammoth-mtn.com)Date: June 10, 2013 11:51PMHi,I'm installing the ModSecurity Apache module but noticed that when a "LoadModule ... " statement is added to httpd.conf, Apache fails to start with the error:"C:\wamp\bin\apache\apache2.4.2\bin>httpd.exehttpd.exe: Syntax error on line http://forum.wampserver.com/read.php?2,115347 150 of C:/wamp/bin/apache/apache2.4.2/conf/httpd.conf: Cannot load C:/wamp/bin/apache/apache2.4.2/modules/mod_security2.so intoserver: The specified procedure could not be found."If I comment out that line, Apache starts just fine. I don't believe this is an Apache issue as http://community.southpawtech.com/content/apache-doesnt-start-on-windowsworks-on-linux all the guides on this I've seen are straightforward and recommend the install procedure below....The directions for installing ModSecurity are simple enough:# Install:- Copy mod_security2.so to your modules folder# Add to cannot load your httpd.conf:- LoadModule security2_module modules/mod_security2.so- Enable the module unique_id by uncommenting:LoadModule unique_id_module modules/mod_unique_id.soCould there be something in WAMP that needs to be done to load additional modules? Thanks!My build...Apache 2.4.2 – Mysql 5.5.24 – PHP 5.4.3 XDebug 2.1.2 XDC 1.5 PhpMyadmin 3.4.10.1 SQLBuddy 1.3.3 webGrind 1.0Options:Reply•QuoteRe: Apache LoadModule addition causing Apache to not start Posted by: RiggsFolly (---.ppp.as43234.net)Date: June 11, 2013 10:03AMAre you sure php5apache2_4.dll into server you got a module that is compatible with Apache you are using?I assume by the version of Apache you have, you are using the 64 bit WAMP and Apache. Are you sure you downloaded 64bit modules?? Is it compatible with code compiled with VC9?IF not try here [www.apachelounge.com]Options:Reply•QuoteRe: Apache LoadModule addition causing Apache to not start Posted by: skiglades (---.static.mammoth-mtn.com)Date: June 11, 2013 04:40PMThanks, RiggsFolly.I pulled modsecurity from Apache Lounge for the 64-bit versions of WAMP/Apache I'm using. (http://www.apachelounge.com/download/win64/modules-2.4/mod_security-2.7.4-win64.zip)For fun I pulled down the 32-bit version of modsec and got the same issue with Apache not starting.When I hover over the modsecurity folder, the tool tip states "Build with VC10" ... That seems to not be the issue as the notes from Apache Lounge state "Modules below are build VC10 and loads when Apache 2.4 Win64 is build with x64 VC9, VC10 or VC11"The Visual C++ 2010 SP1 Redistributable Package x64 is recommended in the ModSec readme. My Add/Remove Programs lists the package as: "Microsoft Visual C++ 2010 x64 Redistributable - 10.0.40219" but makes no mention of "SP1" so I'm going to check into that now...Thanks so far....Opti
comments Last post Thu, 10/10/2013 - 01:28 #1 Community (not verified) apache doesnt start on Windows(works on linux) http://community.southpawtech.com/tactic-sys-admin_sys-admin_install-tac... i followed this to install tactic enterprise and apache. While tactic is working, apache is not. I tried the same for linux and i can run tactic through apache and its fine. In windows when i start apache, it gives me this error. Any idea or any page on how to properly run tactic through apache for Windows(7)? Image: Top Log in or register to post comments Thu, 10/24/2013 - 10:43 #2 oboreo If you have Skype or certain security software running blocking the port, it could cause Apache not starting. Top Log in or register to post comments Mon, 10/28/2013 - 11:16 #3 albert To determine the exact error, run the Apache executable directly from the command line. eg. "C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin\httpd.exe" Albert Top Log in or register to post comments Mon, 10/28/2013 - 12:35 (Reply to #3) #4 X-jo (not verified) C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin>httpd.exe httpd.exe: Syntax error on line 35 of C:/Program Files (x86)/Apache Software Fou ndation/Apache2.2/conf/httpd.conf: ServerRoot must be a valid directory C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin>httpd.exe Syntax error on line 177 of C:/Program Files (x86)/Apache Software Foundation/Ap ache2.2/conf/httpd.conf: DocumentRoot must be a directory fixed those, and it started working. Thanks a bunch Top Log in or register to post comments Main menu Get Started Docs Forum Downloads Plugins Support