XAMPP does not have a pre build console to run php
or mysql
commands, so, you have to add to windows PATH
environment variables, these 2: ;C:\xampp\mysql\bin;C:\xampp\php;
Then you should be able to execute php
and mysql
commands from the CMD.
UPDATE
I tested it, and it works.
More Related Contents:
- MySQL/PHP Error:[2002] Only one usage of each socket address (protocol/network address/port) is normally permitted
- php+mysql Fatal error: Call to undefined function mysql_connect()
- What to put in database columns when creating registration/login system? (xampp)
- How to run deprecated php codes on the latest XAMPP [duplicate]
- The requested URL was not found on this server.
- UTF-8 all the way through
- Project Links do not work on Wamp Server
- Fatal error: Uncaught Error: Call to undefined function mysql_connect()
- Make XAMPP / Apache serve file outside of htdocs folder [closed]
- Unable to find the wrapper “https” – did you forget to enable it when you configured PHP?
- Where does PHP’s error log reside in XAMPP?
- Laravel: PDOException: could not find driver
- Maximum execution time in phpMyadmin
- how to create virtual host on XAMPP [duplicate]
- WAMP Cannot access on local network 403 Forbidden
- WAMP/XAMPP is responding very slow over localhost
- Setting up SSL on a local xampp/apache server
- Apache is not running from XAMPP Control Panel ( Error: Apache shutdown unexpectedly. This may be due to a blocked port)
- access denied for user @ ‘localhost’ to database ” [closed]
- how to configuring a xampp web server for different root directory
- 500 Internal Server Error?
- using mod_rewrite with XAMPP and windows 7 – 64 bit?
- Fatal error: Call to a member function bind_param() on boolean [duplicate]
- using nulls in a mysqli prepared statement
- How to handle error for duplicate entries?
- How to handle PDO exceptions [duplicate]
- MySql PHP select count of distinct values from comma separated data (tags)
- mysql_insert_id() returns 0
- How do I get database column names in Laravel?
- PDO and MySQL Fulltext searches