HostOnNet Blog

how to tell if php is installed freebsd

Today i got a visitor from MSN
He searched for
“how to tell if php is installed freebsd”
And Script Installation Service is listed on first page
For any one what to know if PHP is installed in FreeBSD server, you can do following
# php -v
It will show PHP Version.
To check if php is installed from ports, do
# pkg_info | grep php
Also you can do
# which php

Posted in Uncategorized. Bookmark the permalink.