how to access the command line for xampp on windows

后端 未结 9 1217
难免孤独
难免孤独 2020-11-28 07:22

I am running Xampp on my Windows 7 machine and was wondering if and how I could run commands for xampp via a command line. commands like php phpfile.php

Any advice w

9条回答
  •  攒了一身酷
    2020-11-28 08:04

    In case some one wants to know how to set up Environment variables

    1. Click on the windows button on the bottom left and go to System
    2. Click the Advanced System Settings link in the left column
    3. In the System Properties window, click on the Advanced tab, then click the Environment Variables button near the bottom of that tab.
    4. In the Environment Variables window , highlight the Path variable in the "System variables" section and click the Edit button. Add the path lines with the paths you want the computer to access.

    Once you have done that you can run using the command from the start->command line as below

    php 
    

提交回复
热议问题