PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, January 8, 2022

[FIXED] Where is XAMPP's Shell?

 January 08, 2022     apache, lamp, php, xampp     No comments   

Issue

I am using the latest version of XAMPP with XAMPP control panel v2.5 (9 May 2007). I want to access the command line to run php -q htdocs\path\to\file.php.

Problem: On my XAMPP control panel, I do not see the Shell button that will bring up the command line interface. How can I access the shell, or is there another way to run the PHP file?

My XAMPP Control Panel

enter image description here

What I am finding: enter image description here


Solution

If you have php.exe's directory in your PATH environment variable, you can simply open a command line window (Start > Run > cmd), go in your PHP script directory and launch it with php yourscript.php.



Answered By - Frosty Z
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing