Sugeng rawuh

[SOLVED] 'php' is not recognized as an internal or external command, operable program or batch file.

 PHP Error in visual studio code

C:\laragon\www\ci4>php spark serve

'php' is not recognized as an internal or external command,

operable program or batch file.




1.  Pilih " Advanced System Setting "



2. Klik tab Avanced dan pilih Environment Variables




3. Pilih Patch dan tambahkan direktori php / tempat file php misal di c:\xampp\php



4. PIlih edit dan tambahkan direktorinya 


5. Klik OK dan restart Apache

6. Buka CMD ketik "php -v"











Share:

0 comments:

Post a Comment

Tonton video



Yuk, SUBSCRIBE

omfiki.blogspot.com