php8 openssl
简洁版:
问题1 :
No package ‘openssl’ found
执行2个命令 export OPENSSL_CFLAGS=/usr/local/Cellar/openssl@1.1/1.1.1n/include export OPENSSL_LIBS=/usr/local/Cellar/openssl@1.1/1.1.1n/lib
No package ‘openssl’ found
执行2个命令 export OPENSSL_CFLAGS=/usr/local/Cellar/openssl@1.1/1.1.1n/include export OPENSSL_LIBS=/usr/local/Cellar/openssl@1.1/1.1.1n/lib
./buildconf --force
./configure \
--prefix=/usr/local/php \
--with-curl \
--with-gettext \
--with-mysqli \
--with-pear \
--with-pdo-mysql \
--with-xsl \
--with-zlib \ …
No package ‘openssl’ found / Package ’libssl’, required by ‘openssl’, not found
错误
上传文件size为0,原因是超过了php.ini中配置的upload_max_filesize值 目前服务器配置的是5M size为0时$file[’error’] = 1
nginx配置client_max_body_size
/usr/local/bin/echo_supervisord_conf > /etc/supervisord.conf
修改
[inet_http_server] ; inet (TCP) server disabled by default
port=*:9001 ; ip_address:port specifier, *:port for all …