类似的问题: pecl_http加载失败 所以我想升级到PHP7.0 ,我相信一切都很好。 但我想我错过了一些页面包,因为我无法login到自己的云端 。 所以我想安装pecl_http : pecl install pecl_http PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/http.so' – /usr/lib/php/20151012/http.so: cannot open shared object file: No such file or directory in Unknown on line 0 downloading pecl_http-3.0.1.tgz … Starting to download pecl_http-3.0.1.tgz (197,372 bytes) ………….done: 197,372 bytes 71 source files, building running: […]
自从昨天以来,我已经将OpenSSL-1.0.2h应用于我的Nginx服务器,我从源代码重新编译。 对于OpenSSL部分,我已经遵循了这个指南: https : //syslint.com/blog/tutorial/how-to-upgrade-openssl-on-centos-7-or-rhel-7/ 。 事后编译Nginx比较容易: ./configure –prefix=/etc/nginx … –with-openssl=/usr/local/src/openssl-1.0.2h 背景信息 $ openssl version OpenSSL 1.0.2h 3 May 2016 $ which openssl /usr/bin/openssl $ ls /usr/bin/openssl /usr/bin/openssl -> /usr/local/ssl/bin/openssl $ find / -name "openssl" … /usr/include/openssl /usr/local/src/openssl-1.0.2h/apps/openssl /usr/local/src/openssl-1.0.2h/include/openssl /usr/local/src/openssl-1.0.2h/.openssl/include/openssl /usr/local/src/openssl-1.0.2h/.openssl/bin/openssl /usr/local/ssl/include/openssl /usr/local/ssl/bin/openssl … $ nginx -V nginx version: nginx/1.11.1 built by gcc 4.8.5 20150623 […]
我正试图解决这个问题在基于VPS Debian的8GB内存 – 2vCores 我正在使用nginx和php7-fpm 检查/var/log/php7.0-fpm.log我有这么多的行 WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 0 idle, and 7 total children 这是我的/etc/php/7.0/fpm/pool.d/www.conf pm = dynamic pm.max_children = 10 pm.start_servers = 2 pm.min_spare_servers = 1 pm.max_spare_servers = 3 ;pm.process_idle_timeout = 10s; pm.max_requests = 200 任何人都可以帮我解决这个问题? 我已经增加了价值 pm.max_children […]
我想运行一个论坛。 我安装了PHP 7,因为它是最后一个版本。 但后来我发现所有的论坛软件都与PHP 7不兼容…只有PHP 5.6我的VPS正在运行Ubuntu 16.04。 我通过terminal下载它。 所以我想安装他们两个有可能运行我的论坛。 也许这将是更简单的卸载PHP 7,然后安装PHP 5.6? 问候
我在Debian 8上使用PHP版本7.0.12-1〜dotdeb + 8.1和mysqlnd 5.0.12-dev。我运行了几个WordPress 4.6.1站点。 我已经启用mysqlnd的统计信息,并根据php.info()它实际上启用: 收集统计是的 收集内存统计是的 但“mysqlnd统计”部分总是空的。 只有零。 什么可能是为mysqlnd零统计的原因? 如何打开它?
尝试在php7.0-fpm上使用mpm_worker或mpm_event实现php7.0-fpm时,遇到apache问题。 php7.0-fpm可以正常使用mpm_prefork但是具体的mpm对于我的需求来说效率不够高。 导航到url时收到500个错误。 这是一个VestaCP作为主机控制面板运行的系统。 我已经修改了虚拟主机模板为php-fpm友好: <VirtualHost %ip%:%web_port%> ServerName %domain_idn% %alias_string% ServerAdmin %email% DocumentRoot %docroot% ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/ Alias /vstats/ %home%/%user%/web/%domain%/stats/ Alias /error/ %home%/%user%/web/%domain%/document_errors/ #SuexecUserGroup %user% %group% CustomLog /var/log/%web_system%/domains/%domain%.bytes bytes CustomLog /var/log/%web_system%/domains/%domain%.log combined ErrorLog /var/log/%web_system%/domains/%domain%.error.log <Directory %docroot%> AllowOverride All Options +Includes -Indexes +ExecCGI </Directory> <FilesMatch "\.php$"> SetHandler "proxy:fcgi://127.0.0.1:9000/" </FilesMatch> <Directory %home%/%user%/web/%domain%/stats> AllowOverride All </Directory> <IfModule mod_ruid2.c> […]
我正在尝试使用Windows Server 2012 R2 x64在IIS上安装PHP 7 Microsoftbuild议您应该使用Web Platform Installer安装PHP。 这样做后,我已经安装了PHP,但我不能运行任何PHP命令,因为我得到的错误 这篇文章build议Visual C++ Redistributable for Visual Studio 2017 (64-bit)安装Visual C++ Redistributable for Visual Studio 2017 (64-bit) ,但是这给了我以下错误。 我已经安装了所有的Windows更新,并试图重新安装好几次。 错误日志说 [13B4:1374][2017-02-08T21:02:40]e000: Error 0x80240017: Failed to execute MSU package. [0E14:1064][2017-02-08T21:02:40]e000: Error 0x80240017: Failed to configure per-machine MSU package. [0E14:1064][2017-02-08T21:02:40]i319: Applied execute package: Windows81_x64, result: 0x80240017, restart: None [0E14:1064][2017-02-08T21:02:40]e000: […]
我已经在我的网站上启用php7.1,如下所示,但似乎没有PHP网页加载在我的网站上,他们只是所有的默认代码。 我曾尝试启用php5.6和禁用7.1,但不会改变任何东西。 我很困惑,为什么它不工作。 我在apache2.4和Ubuntu 16.04上 这是我在我的apache error.log文件中看到的 [Fri Feb 10 11:14:46.817334 2017] [mpm_prefork:notice] [pid 3144] AH00169: caught SIGTERM, shutting down [Fri Feb 10 11:14:47.725712 2017] [mpm_prefork:notice] [pid 3464] AH00163: Apache/2.4.18 (Ubuntu) PHP/7.1.1-1+deb.sury.org~xenial+1 configured — resuming normal operations [Fri Feb 10 11:14:47.725854 2017] [core:notice] [pid 3464] AH00094: Command line: '/usr/sbin/apache2' 而当我跑步 apache2 -e debug 我明白了 [Fri […]
我的nginx + php 7.0 FPM有问题。 Chrome仍在阻止“等待可用插槽镶边”。 如果我重新启动PHP,我可以login到我的应用程序,并在“等待可用套接字铬”后。 我检查了/var/log/php7.0-fpm.log: [12-Mar-2017 20:48:29] NOTICE: fpm is running, pid 1088 [12-Mar-2017 20:48:29] NOTICE: ready to handle connections [12-Mar-2017 20:48:29] NOTICE: systemd monitor interval set to 10000ms [12-Mar-2017 21:15:52] NOTICE: fpm is running, pid 1121 [12-Mar-2017 21:15:52] NOTICE: ready to handle connections [12-Mar-2017 21:15:52] NOTICE: systemd monitor interval set to […]
我一直在我的php-fpm日志中收到以下错误。 我已阅读并尝试了一些类似的问题在serverfault.com上可用但问题没有解决。 [11-Apr-2017 08:33:27] ERROR: unable to read what child say: Bad file descriptor (9) [11-Apr-2017 09:49:26] ERROR: unable to read what child say: Bad file descriptor (9) [11-Apr-2017 09:49:26] ERROR: unable to read what child say: Bad file descriptor (9) [11-Apr-2017 09:56:11] ERROR: unable to read what child say: Bad file descriptor (9) [11-Apr-2017 […]