Apache Error Serverroot Must Be A Valid Directory
Contents |
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
Serverroot Must Be A Valid Directory Apache Windows
Stack Overflow the company Business Learn more about hiring developers or posting ads with serverroot must be a valid directory mac us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is
Xampp Serverroot Must Be A Valid Directory
a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Apache will not start error - error in cmd please up vote 2 down httpd.conf serverroot must be a valid directory vote favorite 1 Diese Eingabeforederung nicht des Running beenden bitte erst bei einem gewollten Shutdown schliessen Please close this command only for Shutdown Apache 2 is starting . . . httpd.exe: Syntax error on line 35 of C:/Program Files (x86)/xampp/apache/conf/httpd.conf: server root must be a valid directory. Apache konnte nicht gestartet werden Apache could not be started Press any key to continue... This is what I get the CMD prompt... server root must be a valid directory apache Can someone help? apache share|improve this question edited Aug 31 '12 at 4:59 mu is too short 284k40549557 asked Aug 31 '12 at 4:56 Alexander Besse 1112 1 Hi Alexander, welcome to Stack Overflow! This site is for questions related to code that you have written or are intending to write - see the FAQ. Another site in the StackExchange network, Server Fault, would be a more appropriate forum for your question. I have voted to have your question migrated there, but that won't happen automatically until another 4 voters concur or a moderator intervenes. Good luck! –eggyal Aug 31 '12 at 4:59 I'd be curious to understand why you originally tagged a problem with Apache using a MySQL tag. Accurate tagging will get your questions read by people who may be able to answer it. –Jonathan Leffler Aug 31 '12 at 5:02 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote Syntax error on line 35 of C:/Program Files (x86)/xampp/apache/conf/httpd.conf: server root must be a valid directory I suggest that you: Open the file C:\Program Files (x86)\xampp\apache\conf\httpd.conf; Inspect line 35; and Change the value of ServerRoot to a valid directory. share|improve this answer answered Aug 31 '12 at 5:02 eggya
windows If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the
Server Root Must Be A Valid Directory Xampp
register link above to proceed. To start viewing messages, select the forum that documentroot must be a directory you want to visit from the selection below. Results 1 to 8 of 8 Thread: [RESOLVED] Problem starting apache
Cannot Load Modules/mod_access_compat.so Into Server
on windows Tweet Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 11-26-2012,06:48 PM #1 Derokorian View Profile http://stackoverflow.com/questions/12209109/apache-will-not-start-error-error-in-cmd-please View Forum Posts Registered User Join Date Oct 2010 Location Ohio Posts 233 [RESOLVED] Problem starting apache on windows Hi all, getting the following error: httpd.exe: Syntax error on line 35 of C:/Program Files (x86)/Zend/Apache2/conf/httpd.conf: ServerRoot must be a valid directory However line 35 of that file is: Code: ServerRoot "C:/Program Files (x86)/Zend/Apache2" As you can see, the path to the conf is just http://www.webdeveloper.com/forum/showthread.php?269209-RESOLVED-Problem-starting-apache-on-windows a sub-dir away from the server root. So I have no idea why it would say its not a valid directory. Any thoughts would be greatly appreciated. Thanks. ~Ryan www.rdennispallas.com <-- Personal Site, changing regularly cuz its ugly. Reply With Quote 11-26-2012,11:21 PM #2 ZABI View Profile View Forum Posts Registered User Join Date Mar 2009 Posts 452 how did you come to this ? did you change any setting, renamed, moved or deleted something ? or is it a fresh installation Reply With Quote 11-27-2012,09:56 AM #3 Derokorian View Profile View Forum Posts Registered User Join Date Oct 2010 Location Ohio Posts 233 Thanks for looking, sorry I left that information out. I installed Zend Server CE and tested it, it was working well. Then I opened httpd.conf to uncomment the line that includes the vhost.conf file so I could use sub-domains of localhost (IE app.localhost/ instead of localhost/Projects/Application/public/ ). I've always set up apache this way on linux, however this is the first time I've tried to use ZSCE and apache on windows. If I move my original httpd.conf file overwriting my changes (which should just be uncommenti
extracted path, say: c:\ranjith\softies\httpd-2.4.12-x86\Apache24 2) Change the Define SRVROOT "/Apache24" into Define SRVROOT "c:/ranjith/softies/httpd-2.4.12-x86/Apache24" Note: http://javabyranjith.blogspot.com/2015/02/resolved-httpdconf-serverroot-must-be.html Don't forget to change backward slash into forward slash :) Posted by Ranjith Sekar at 5:30 AM Email This BlogThis! Share to Twitter Share to Facebook Share to Pinterest Labels: APACHE Newer Post Older Post Home Subscribe to: Post Comments ( Atom ) Search on this Blog Loading... CATEGORIES ANT APACHE DB must be DB-ORACLE DB-SQL Errors DESIGN PATTERN - CREATIONAL DESIGN PATTERN - STRUCTURAL ECLIPSE GENERAL GitHub GWT HADOOP HIVE JAVA 5 JAVA BASICS JAVA-Exceptions JBOSS FUSE JQUERY JSON JSP JUNIT JUNIT Errors LINUX MAVEN MOCKITO OOPs CONCEPTS OPEN SOURCE DB PHP PL-SQL PYTHON QUARTZ SPRING-CORE SPRING-Exceptions SPRING-INTERVIEW SQL Errors TECHNOLOGIES TOMCAT TOMCAT-Exceptions UNIX UNIX-Errors must be a WEB TOOLS XML Get My Posts Blog Archive ► 2016 ( 4 ) ► August ( 3 ) ► January ( 1 ) ▼ 2015 ( 38 ) ► December ( 1 ) ► November ( 5 ) ► October ( 7 ) ► August ( 8 ) ► July ( 3 ) ► June ( 1 ) ► March ( 2 ) ▼ February ( 7 ) [SOLVED] /httpd.conf: ServerRoot must be a valid d... how to install apache http server in windows 7 junit example how to set java classpath for windows 'javac' is not recognized as an internal or extern... [SOLVED] ORA-28001: the password has expired [SOLVED] SQL Error: ORA-00997: illegal use of LONG... ► January ( 4 ) ► 2014 ( 48 ) ► December ( 1 ) ► September ( 6 ) ► August ( 3 ) ► July ( 17 ) ► June ( 21 ) Powered by Blogger.