We are trying to run the php file using command line but we got the error “php is not a function”. So how we resolved this error
Now Let’s Start
1) Go to My Computer > Properties
2) Click on Advance setting
3) On the popup box click on “Environment Variable”
4) Choose the “Path” from system variable and click on Edit button to write the path
5) Append the path of php with semicolon
eg:
1 |
D:\wamp\bin\php\php5.5.12 |