PHP.md 2.2 KB


January 2020 Notes:
PHP 7.4.2 (cli) (built: Jan 22 2020 06:30:58) ( NTS )
Migrating from PHP 7.3.x to PHP 7.4.x
PHP 7.4 Release Notes

Homebrew moved PHP to core and extensions are now through pecl

david@macs:~ » php --ini  
Configuration File (php.ini) Path: /usr/local/etc/php/7.4  
Loaded Configuration File:         /usr/local/etc/php/7.4/php.ini  
extension=/usr/local/Cellar/php/7.4.2/pecl/20190902/imagick.so  
extension=/usr/local/Cellar/php/7.4.2/pecl/20190902/mcrypt.so  
extension=/usr/local/Cellar/php/7.4.2/pecl/20190902/redis.so  
zend_extension=/usr/local/Cellar/php/7.4.2/pecl/20190902/xdebug.so  

LoadModule deflate_module libexec/apache2/mod_deflate.so  
LoadModule expires_module libexec/apache2/mod_expires.so  
LoadModule rewrite_module libexec/apache2/mod_rewrite.so  

david@macs:~ » pecl list  
imagick 3.4.4   stable  
mcrypt  1.0.3   stable  
redis   5.1.1   stable  
xdebug  2.9.1   stable  

September 2019 Notes - PHP 7.3.9 (cli) (built: Sep 14 2019 18:07:55) ( NTS )
PHP 7.3 Changelog
Migrating to 7.3
Configuration File (php.ini) Path: /usr/local/etc/php/7.3
Loaded Configuration File: /usr/local/etc/php/7.3/php.ini
Scan for additional .ini files in: /usr/local/etc/php/7.3/conf.d
Additional .ini files parsed: /usr/local/etc/php/7.3/conf.d/ext-opcache.ini, /usr/local/etc/php/7.3/conf.d/imagick.ini, /usr/local/etc/php/7.3/conf.d/mcrypt.ini

Homebrew notes:
had to remove PECL symlink in /usr/local/Cellar/php/7.3.9_1
had to specify paths of imagick and mcrypt:
;imagick extension="/usr/local/Cellar/php/7.3.9_1/pecl/20180731/imagick.so"
;mcrypt extension="/usr/local/Cellar/php/7.3.9_1/pecl/20180731/mcrypt.so"