• I am having a problem making WP work with the right php version. I am running WP on a Mac mini server I recently updated. Checking the php in terminal I see the following:
    server:~ MiniServer$ php -v
    PHP 7.0.4 (cli) (built: Mar 14 2016 08:14:23) ( NTS )
    Looking good – I have upgraded to php7 so this was to be expected. But running the phpinfo file – not so good….:
    https://altikost.no/phpinfo.php
    According to this, I am still running php5.5

    Anyone who has any tips?

Viewing 2 replies - 1 through 2 (of 2 total)
  • More a server config problem than a WordPress one. I suspect the web server itself is still loading the PHP 5.5 module and config files.

    Did you restart the web server?

    Thread Starter einarso

    (@einarso)

    Yes – I did restart, both physically and using sudo apachectl restart. When I do sudo apachectl -k restart, I get:
    [Sat Apr 23 11:35:38.679196 2016] [so:warn] [pid 5652] AH01574: module php7_module is already loaded, skipping
    httpd not running, trying to start
    (48)Address already in use: AH00072: make_sock: could not bind to address [::]:80
    (48)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
    no listening sockets available, shutting down
    AH00015: Unable to open logs

    But you are right – perhaps I am asking on the wrong forum. If this is not place to get helpe, perhaps someone can point me in the right direction?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP 7 installed, but webserver tells me I am running php 5.5’ is closed to new replies.