Answer the question
In order to leave comments, you need to log in
OS X Problems with PHP versions, how to solve?
Good evening.
With the help of brew, I installed Apache2, PHP 5.6.12, php-xdebug .. etc.
I start the project and I understand that something is wrong.
I decided to run phpinfo(), as it turned out, the site is running on PHP Version 5.5.27 and no mention of xdebug.
But I installed PHP Version 5.6.12.
If we look in the console, we get the following:
$ php -v
PHP 5.6.12 (cli) (built: Sep 5 2015 20:54:18) (DEBUG)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
with Xdebug v2.3.3, Copyright (c) 2002-2015, by Derick Rethans
sayber at iMac-sayber in ~
$ php -m | grep xdebug
xdebug
LoadModule php5_module libexec/apache2/libphp5.so
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question