PATH's are not working
Posted by: ozankurt (
Date: November 15, 2018 12:10AM

______________________ Versions used ______________________
Apache 2.4.35 Port 80- PHP 7.2.10
MySQL 5.7.23 Port 3306
MariaDB 10.3.9 Port 3307
PHP 5.6.38 for CLI (Command-Line Interface)

When I enter "php -v" on the command line I get the error: php: command not found

What should I do?

Options: ReplyQuote
Re: PATH's are not working
Posted by: RiggsFolly (Moderator)
Date: November 15, 2018 10:54AM


You need my little phppath.cmd batch file

See This answer

But please ignore ANYTHING that suggests putting the php folder on the WINDOWS PATH permanantly !!!

(Windows 10 Pro 64bit) (Wampserver 3.1.8 32bit & 64bit)
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 6.3.10>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Edited 1 time(s). Last edit at 11/15/2018 10:55AM by RiggsFolly.

Options: ReplyQuote

Sorry, only registered users may post in this forum.