Community

Where is PHP located

ri
ricardofh #1

I was trying to run php from ssh and it gives me an error, looked around Internet it says that my setting does not have installed something like short terms so I had to use the php path
I used: php script.php and should be something like /usr/bin/php

qt
qtwrk #3

You can easily know that by created a phpinfo page.

it’s /usr/local/lsws/lsphpXX/etc/php.ini

Sign in to reply