To remedy this Apache installation error, either move the Apache24 folder into the C:\ drive, or update the SRVROOT property defined on line 39 of Apache’s nf file. Otherwise, you run into a “ServerRoot must be a valid directory” error. XAMPP using Bitnami to install Moodle Download the latest version of XAMPP from Install XAMPP Use control.exe in XAMPP folder to start and stop Apache and MySQL Note the MySQL port. Somewhat surprisingly, the Bitnami and Apache Lounge installation media require you to install the software directly into the root of the Windows C:\ drive. Avoid the ‘Apache ServerRoot must be a valid directory’ error These files become immediately available over the web. When you point your browser to the localhost address, and there are no conflicts on port 80, a landing page will appear that says “It works!” To share files or host a website on the Apache server, simply add folders and files under the \htdocs folder. View the Apache HTTP Server landing page at to verify the Windows install.Open the C:\Apache24\bin folder and run the httpd.exe command.Locate the extracted Apache24 folder and copy this folder to the root of C:\.Extract the contents of the Apache Web Server 2.4 zip to the file system.Download the installation media in the form of a ZIP file.If you choose the Apache Lounge as your source for the Apache on Windows installation media, the steps to follow are simple: Just don’t accidentally click on the wrong link and install some adware on your computer. The simplest approach, though, is to download the Apache Web Server installation ZIP file from the Apache Lounge. The website‘s spammy ads are a bit disconcerting, but the Apache download file is verifiable. (The WAMP stack with PHP, MySQL and Apache are highly recommended.) I’d say the Bitnami stacks are the best installation media to use. Bitnami, which provides pre-configured VMs, containers and installation media with Apache.
0 Comments
Leave a Reply. |