PHP
Notes on recent (Oct 2019) forays into PHP programming
Use the script here to create PHAR (PHP Archive).
Finding out where the php.ini
is on my Mac OS X. PHP was
installed using brew
.
$ php --version
PHP 7.1.23 (cli) (built: Feb 22 2019 22:19:32) ( NTS )
$ php info.php | grep php.ini
Configuration File (php.ini) Path => /etc
Install php.ini
:
$ sudo cp /etc/php.ini.default /etc/php.ini
Set phar.readonly = 0
in /etc/php.ini
so
that we can package the application:
# http://php.net/phar.readonly
[Phar]
phar.readonly = 0