So, I finally decide it to switch from windows to Mac after 20 years, and I love it! I have so many questions…
I've installed apache, php, mysql, imagemagick using homebrew
and I have a couple of questions…
In httpd.conf
, im loading the PHP module like so:
LoadModule php7_module /usr/local/opt/php@7.2/lib/httpd/modules/libphp7.so
My php.ini
is here:
/usr/local/etc/php/7.2/php.ini
When I look at the phpinfo.php
I see all these extensions (or modules) that are enabled:
But, when I look at the php.ini
file, I see that those extensions are disabled
;extension=bz2
;extension=curl
;extension=fileinfo
;extension=gd2
;extension=gettext
Don't get me wrong, everything works perfectly, but i'm one of those people that likes to understand how it works…
Any reasons why my extensions are disabled in php.ini
and they still show up on phpinfo.php
?
EDITED
Best Answer
The enabled extensions are listed in a different section of phpinfo.