![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PHP
文章平均质量分 60
Hup233
这个作者很懒,什么都没留下…
展开
-
Docker-compose+Dockerfile构建并启动php7.4镜像
Docker-compose+Dockerfile构建并启动php7.4镜像。原创 2022-12-01 16:20:42 · 2071 阅读 · 0 评论 -
PHP7.4相关编译参数以及配置参考
#常规功能yum install -y libevent libevent-devel curl-devel #GD2yum install -y libjpeg-devel freetype-devel libpng-devel ./configure --prefix=/usr/local/php/ --with-config-file-path=/usr/local/php/etc/ \--with-pear \--enable-fpm \--enable...原创 2022-05-24 09:54:30 · 1129 阅读 · 0 评论 -
Linux安装PHP的pecl pear工具
cd /usr/local/php/bin/ curl -o go-pear.php http://pear.php.net/go-pear curl -o go-pear.php http://pear.php.net/go-pear.phar # 如果你的php版本高于php5.3, 执行这条 php go-pear.php # 回车, 会提示选择安装的东西, 直接回车,...原创 2018-10-26 16:18:42 · 713 阅读 · 0 评论 -
PHP7编译与安装
yum安装环境依赖yum install -y libxml2 libxml2-develyum -y install bzip2-devel libjpeg-devel curl curl-develyum install libjpeg.x86_64 libpng.x86_64 freetype.x86_64 libjpeg-devel.x86_64 libpng-devel....原创 2018-10-26 16:14:40 · 174 阅读 · 0 评论 -
Linux环境下PHP扩展安装
1.使用pecl,pear工具安装PHP扩展pecl install xxxx(扩展名)2.编译安装方式#php源码中的ext目录下含有一些常用的扩展#举例安装一个mysqli扩展cd /root/php-7.1.9/ext/mysqliphpize./configure --with-php-config=/usr/local/php/bin/php-configmak...原创 2018-10-26 16:26:52 · 250 阅读 · 0 评论 -
PHP常用的opcache配置
自用 zend_extension=opcache.so;opcache可用内存 Mbopcache.memory_consumption=128opcache.enable=1opcache.enable_cli=1;Zend Optimizer + 暂存池中字符串的占内存总量.(单位:MB)opcache.interned_strings_buffer=8;对多缓存文...转载 2018-10-26 16:28:59 · 211 阅读 · 0 评论 -
php安装event.so
PHP7yum install libevent2-devel.x86_64PHP7以下yum install libevent-devel.x86_64pecl install event原创 2018-10-26 16:31:47 · 783 阅读 · 0 评论