

Open a command prompt (it can be done by simultaneously pressing Win + X). LoadModule rewrite_module modules/mod_rewrite.so #LoadModule rewrite_module modules/mod_rewrite.so # AllowOverride FileInfo AuthConfig Limit # It can be "All", "None", or any combination of the keywords: # AllowOverride controls what directives may be placed in. Unpack the Apache files (archive httpd-2.4.25-win64-VC14.zip) to the C:\Server\bin\ directory (we are interested only in the Apache24 folder):Īfter unpacking, go to the c:\Server\bin\Apache24\conf\ folder and open the nf file with any text editor.ĭirectoryIndex index.php index.html index.htm Installation and configuration Apache 2.4 on Windows Tree of the important folders that are mentioned in this manual:ģ. In the data directory create two folders: On the drive C create a directory Server inside it create the bin directory (we will install Apache, PHP, and MySQL there) and data directory (our websites and databases will be located there). Run and install the vc_redist.圆4.exe file, we will not return to it. Downloading Apache, PHP, MySQL, phpMyAdminĭownload PHP 8 for Windows (select ‘Thread Safe’): ĭownload MySQL for Windows (select ZIP Archive): ĭownload the latest Visual C++ Redistributable for Visual Studio 2015-2022: (direct link to download the 64-bit version, a direct link to the download of the 32-bit version). You must install each package "as an administrator", so right-click the exe file and then run as Administrator. To download missing packages, do not rely on Microsoft links, they are not reliable, download packages on in section Visual C++ Redistribuable Packagesĭo not forget that if you have a 64 bit Windows, you must install both 32 and 64 bit versions of each package. Make a new download to make sure you are using the correct version. Verify that all VC ++ packages are installed and with the latest versions.ĭo not use a previously loaded tool. This may be a problem related to VC++ packages What is the result of: Right-Click -> Tools -> Check states of servicesīut I'm afraid that your version 3.1.3 can't give the necessary details to understand the problem.
