PATH's are not working
Posted by: ozankurt (---.dsl.tropolys.de)
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

Hi,

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.3 32bit & 64bit)
<Apache 2.4.29/2.2.31> <PHP 7.2/7.1/7.0/5.6/5.5/5.4> <MySQL 5.7.19/5.6.39/5.5.28>
<MariaDB 10.2.14> <phpMyAdmin4.8.1> <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.