Where Is Php Installed in Ubuntu?
Contents

How do I know if PHP is installed on Ubuntu?

Open a bash shell terminal and use the command “php –version” or “php -v” to get the version of PHP installed on the system. As you can see from both the command output above, the system has PHP 5.4. 16 installed.

Where is my PHP installed?

On Windows the default path for the php. ini file is the Windows directory. If you’re using the Apache webserver, php. ini is first searched in the Apaches install directory, e.g. c:program filesapache groupapache .

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest