Author Topic: Do I have php 70 or 55  (Read 707 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 »



PHP Help Forum

Re: Do I have php 70 or 55
« Reply #4 on: February 16, 2017, 12:01:31 am »



PHP Help Forum

Re: Do I have php 70 or 55
« Reply #5 on: February 16, 2017, 09:14:59 am »


Kevin Rubio

  • Professional PHP Helper
  • Senior Member
  • *
  • Posts: 1689
  • Karma: 101
  • Programmer Available for hire
    • View Profile
    • Galaxy Internet
Uhhh okay. I don't see how that is helpful at all much less on a topic that is 8 months old.

Even useless posts will build your post count. Yeah, the post smells. Keeping an eye out.
PDO Bumpstart Database

The XY Problem
The XY problem is asking about your attempted solution (X) rather than your actual problem (Y). This leads to enormous amounts of wasted time and energy, both on the part of people asking for help, and on the part of those providing help. http://xyproblem.info/

PHP Help Forum

Re: Do I have php 70 or 55
« Reply #6 on: February 16, 2017, 12:18:36 pm »