I installed PHP (source code) version 7.2.3 in one of our development environments.
I am setting up wordpress, and to test whether or not PHP is working I insert this in the browser :
I get this error :
So how do I ensure that PHP is running. I can see the php version when I run php -v :Error: PHP is not running.WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.
I am not sure what to do next to make sure php is running.
Code: Select all
[[email protected] ~]# php -v PHP 7.2.3 (cli) (built: Jan 27 2020 21:41:21) ( ZTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies [[email protected] ~]#