$ cat test.php
<?php
date_default_timezone_set("Asia/Tokyo");
phpinfo();
?>
$ /usr/local/php8/bin/php test.php
Cannot load Zend OPcache - it was built with configuration API420200930,TS, whereas running engine is API420200930,TS,debug
phpinfo()
PHP Version => 8.0.27
System => Darwin ○○○ 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh
Build Date => Jan 26 2023 20:58:23
Build System => Darwin ○○○ 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
〜略〜
PHP License
This program is free software; you can redistribute it and/or modify
it under the terms of the PHP License as published by the PHP Group
and included in the distribution in the file: LICENSE
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If you did not receive a copy of the PHP license, or have any
questions about PHP licensing, please contact license@php.net.
$ echo $?
0
|