![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
php环境
聂福东
这个作者很懒,什么都没留下…
展开
-
通过pecl安装php扩展,未找到pecl命令的解决办法
以安装swoole为例:#Ubuntu/Debian上是这样(php-pear包含pecl,php5-dev包含phpize,pecl依赖phpize)apt-get install php-pear php5-devpecl install swoole#CentOS/Redhat上应该是这样yum install php-pear php-develpecl install swoole#如果是自行编译的PHP(假设安装目录为/opt/php/7.0)/opt/php/7.0/...原创 2021-12-08 14:54:04 · 739 阅读 · 0 评论 -
pecl 安装redis
报错:PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/redis.so' - /usr/lib64/php/modules/redis.so: undefined symbol: php_json_decode_ex in Unknown on line 0这是因为和json扩展加载顺序冲突导致的解决方法:不要在php.ini里加入extension=redis.so这行,可在ph原创 2021-12-08 14:52:45 · 827 阅读 · 0 评论 -
windows下配置nginx pathinfo模式,支持thinkphp
location ~ ^.+\.php { root html; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_split_path_info ^(.+\.php)(.*)$; fastcgi_...原创 2020-04-04 13:25:22 · 366 阅读 · 0 评论 -
WINDOWS PHP7+NGINX配置
windows php7+nginx配置下载nginx:http://nginx.org/download/nginx-1.9.1.zip下载php7.0.0alpha1:http://windows.php.net/qa/文件目录结构:网站根目录:d:wnmp/www/nginx安装目录: d:wnmp/nginx/php安装目录:d:wnmp/php/下载好php和...转载 2020-03-31 18:18:18 · 324 阅读 · 0 评论