help=recursive display the short help of all the included packages help=short display options specific to this package See below for descriptions of some of the useful variables.ĭefaults for the options are specified in brackets.
To assign environment variables (e.g., CC, CFLAGS.), specify them as `configure' configures this package to adapt to many kinds of systems.
最后修改php.ini添加extension=fileinfo即可。 PHP configure参数详细列表 configure –with-php-config=/usr/local/php/bin/php-config Zend_extension="/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/opcache.so" ans_sid_tags = "a=href,area=href,frame=src,form=" 防止Failed to start php.service: Unit rvice not found.类错误发生。 配置文件php.iniĭisable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,proc_open,proc_get_status,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,stream_socket_serverĮrror_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT configure -prefix=/usr/local/php -with-config-file-path=/usr/local/php/etc -with-config-file-scan-dir=/usr/local/php/conf.d -enable-fpm -with-fpm-user=sapi/fpm/init.d.php-fpm /etc/init.d/php-fpm