Skip to main content
Topic: PHP is not recognized as an internal or external command  (Read 1686 times) previous topic - next topic

PHP is not recognized as an internal or external command

good day guys,

i have a problem  :'(  :'( . i create a new project connected to mysql workbench on server  when im setting it up everything went fine
but when i  tried to preview and publish my project there is a cmd popping in and says "  PHP is not recognized as an internal or external command  " i made some troubleshooting like inlcuding in


edit and update : ive done something but still the issue remain  i mistakenly put the it on system variable instead of variables and   i forgot to tell that from my pc  im connecting my database to mysql workbench on server indicating a servername: ' ' and port : 3306 when i test the connection it is working . but when i try to publish the work a cmd pops up says now :  "Listening on http://localhost:80
Document root is C:\php-proj\svr "


Re: PHP is not recognized as an internal or external command

Reply #2
got it thanks, :))