Skip to main content

Posts

Featured

Using command line to run PHP on Windows

If you are using XAMPP and you need to run PHP on Windows' command line, just follow these steps: 1. Go to Control Panel > System and Security > System   . Find Advanced system settings. 2. In the System Properties window, click on Advanced (tab). Click the Environment Variables button at the lower right. 3. Two columns are available, "User variables" and "System variables".  4. Under System variables there is a "Path" variable and click edit. 5. At the end of the line, add "C:\xampp\php;". Observe the semicolon for termination. 7. Click OK. 8. Start Windows Command Line (restart if already running).  9. Test by entering "php" + <enter>. If there is no error. You've succeeded!

Latest Posts

Slim Framework + Composer + Twig + Doctrine : Beginner

Windows Phone 8 App Studio Review

System is Protected: A Bitdefender 2014 Antivirus Review

Imbicile Facebook Messenger

test page