When we want to install phpnow and configure the php environment under Windows 10 system, we find that the system will refuse the installation. The reason is that there is no administrator rights. Let's take a look at how to install PHPnow under win10 system.
First we need to download a PHPnow installation package and unzip the installation package; after unzipping, rename the folder to PHPnow; (Recommended learning: PHP programming from entry to proficiency)
After finding the Windows system-Command Prompt in the start menu, right-click and select More - run as administrator;
After successful operation, this command prompt interface will be displayed;
We need to jump to the partition where the phpnow folder is located first , if placed on the d drive, type D: and press Enter;
Type cd phpnow and press Enter to enter the phpnow directory;
Type setup and press Enter. Run the installation program;
Select the Apache version. Choose according to your situation or preference. One is the old version and the other is the new version. Enter the corresponding number code and press Enter. Here we Enter the 2.2 new version selected by 22;
select the MySQL database version. Here you also type the corresponding code name according to your own situation or preference and press Enter to select the new or old version. Here we type 51 Then press Enter and select the 5.1 new version;
After decompression is completed, it will ask whether to perform Init.cmd initialization. Here we type y and press Enter;
After the installation is completed, we need to set the root user password of the MySQL database. Just enter the password and press Enter;
After the setting is completed, you are prompted to press any key to continue. We can just press the keyboard (such as the space bar);
Complete Afterwards, this interface will open in the browser, indicating that phpnow is successfully installed!
The above is the detailed content of How to start phpnow server in win10. For more information, please follow other related articles on the PHP Chinese website!