![]() ![]() You try to load localhost:8080 in your preferred Browser. Now we need to restart the Apache server type the following command in command prompt with admin right to restart the Apache httpd server. LoadModule php7_module "c:/tools/php74/php7apache2_4.dll" Locate the following nfi file under the following directory and open it with your preferred text editor.Īdd the following lines of code at the very bottom of nf file Perfect now we need to configure our httpd config file for our PHP files and module. Let’s install the httpd service, Type the following command in the command prompt without admin rights. Simply add this following folder path to system variable path and launch your command prompt with admin right. After the installation, we need to start the httpd service. You just wait and watch until it finishes the installation. Install Apache – Latest choco install apache-httpd -y -params '"/installLocation:C:\tools"' Launch your powershell/CMD with admin rights. Similarly we are going to install Apache http server with chocolatey. There you have it the latest version of PHP installed and configured for you on the fly. simply launcher command prompt and type php -version and hit enter. You just need to check the version of PHP that has been installed. You just wait and watch and once it says installed package one of one. Install PHP – Latest choco install php -y -package-parameters='"/ThreadSafe ""/InstallDir:C:\tools"""' Chocolatey you will download the latest version of PHP, extract it, install it and set the variable path as well. We are going to install PHP, the latest version with command prompt. Now you will have to relaunch the powershell or the command prompt with admin right. The second command may take a bit longer depending on your operating system. ![]() Install Chocolatey Set-ExecutionPolicy AllSigned Set-ExecutionPolicy Bypass -Scope Process -Force ::SecurityProtocol = ::SecurityProtocol -bor 3072 iex ((New-Object ).DownloadString('')) We are going to install chocolatey (a package installer for Windows ) that will let us install PHP and Apache server with two commands on the fly, that will save us time and on behalf of us it will go ahead and configure them as well. Go ahead and launch powershell with admin rights, now paste the following code in your powershell and hit enter one by one. If you have Windows 7 or Windows 8 you should not have any problem following this instruction. In this post I’m going to show you how to install and configure the latest versions of PHP 7, Apache 2.4 httpd server, and MySQL 8 on Microsoft Windows 10 operating system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |