Author Topic: Do I have php 70 or 55  (Read 831 times)

einarso

  • New Member
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Hi - I had installed php 7 and everything looked great.  Now - a few weeks later, I have this:
http://livetstre.net/phpinfo.php
 -- the phpinfo file telling me I am running on php 5.5.

I am running a mac server, and if I go to terminal and run php -v , I get:
PHP 7.0.4 (cli) (built: Mar 14 2016 08:14:23) ( NTS )
Copyright (c) 1997-2016 The PHP Group

Why this mismatch?

I my piwik installation, it also tells me I am running 5.5.

This is from my httpd.conf file:

1
2
3
4
5
6
7
8
 #LoadModule php5_module libexec/apache2/libphp5.so
 #ENABLE PHP 7 MODULE
 
LoadModule php7_module /usr/local/opt/php70/libexec/apache2/libphp7.so
 
 
<FilesMatch \.php$>
 
SetHandler application/x-httpd-php
 
</FilesMatch>
 



Anyone who can explain?  I have a feeling I am unly using 5.5.  I noticed increased speed after updating to 7, but I think I can notice the differance (at least I am able to imagine it :) )

PHP Help Forum

Do I have php 70 or 55
« on: April 16, 2016, 07:48:27 am »



PHP Help Forum

Re: Do I have php 70 or 55
« Reply #1 on: June 08, 2016, 11:21:05 am »



PHP Help Forum

Re: Do I have php 70 or 55
« Reply #2 on: June 18, 2016, 04:35:05 am »



PHP Help Forum

Re: Do I have php 70 or 55
« Reply #3 on: June 18, 2016, 05:56:51 am »