0 Members and 1 Guest are viewing this topic.
[root@onlinecity modules]# /etc/init.d/httpd restartStopping httpd: [FAILED]Starting httpd: httpd: Syntax error on line 8 of /etc/httpd/conf/httpd.conf: Syntax error on line 16 of /etc/httpd/conf.modules.d/15-php.conf: Cannot load modules/libphp7-zts.so into server: libpcre.so.1: cannot open shared object file: No such file or directory [FAILED]
cat /etc/httpd/conf.modules.d/15-php.conf## PHP is an HTML-embedded scripting language which attempts to make it# easy for developers to write dynamically generated webpages.## Cannot load both php5 and php7 modules<IfModule !mod_php5.c> <IfModule prefork.c> LoadModule php7_module modules/libphp7.so </IfModule></IfModule>#<IfModule !mod_php5.c># <IfModule !prefork.c># LoadModule php7_module modules/libphp7-zts.so# </IfModule>#</IfModule>
Better use php-fpm_event (now use mod24u_fastcgi instead mod24u_proxy_fcgi). Your code (15-php.conf) tend to use prefork mpm like ruid2 where only work using 'php branch'.
httpd -VServer version: Apache/2.4.18 (Red Hat)Server built: Dec 14 2015 18:38:47Server's Module Magic Number: 20120211:52Server loaded: APR 1.5.2, APR-UTIL 1.5.4Compiled using: APR 1.5.2, APR-UTIL 1.5.4Architecture: 64-bitServer MPM: event threaded: yes (fixed thread count) forked: yes (variable process count)Server compiled with.... -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=256 -D HTTPD_ROOT="/etc/httpd" -D SUEXEC_BIN="/usr/sbin/suexec" -D DEFAULT_PIDLOG="/var/run/httpd/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf"
15-php.conf is not from httpd24u but from php (in 'php branch').
A. Control Panel: - Kloxo-MR: 7.0.0.b-2016022601 - Web: hiawatha-10.1.0-f.6.mr.el6.x86_64 - PHP: php54s-5.4.45-2.w6 (cgi mode)B. Plateform: - OS: CentOS release 6.7 (Final) x86_64 - Hostname: xxx.plC. Services: 1. MySQL: MariaDB-server-10.0.24-1.el6.x86_64 2. PHP: - Branch: php-cli-7.0.3-1.el6.remi.x86_64 - Multiple: * php52m-5.2.17-102.mr.el6 * php53m-5.3.29-1.ius.el6 * php54m-5.4.45-2.w6 * php55m-5.5.32-1.ius.el6 * php56m-5.6.18-1.ius.el6 * php70m-7.0.3-1.w6 - Used: --Use PHP Branch-- 3. Httpd: httpd24u-2.4.18-1.ius.el6.x86_64 - PHP Type: php-fpm_event 4. Web Used: nginxproxy - Hiawatha: --unused-- - Lighttpd: --uninstalled-- - Nginx: nginx-1.9.12-1.el6.ngx.x86_64 5. WebCache: none - ATS: --uninstalled-- - Squid: --uninstalled-- - Varnish: --uninstalled-- 6. Dns: pdns - Bind: --uninstalled-- - DJBDns: --uninstalled-- - NSD: --uninstalled-- - PowerDNS: pdns-3.3.3-101.mr.el6.x86_64 - Yadifa: --uninstalled-- 7. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64 - pop3/imap4: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64 - spam: spamassassinD. Memory: total used free shared buffers cached Mem: 7970 7593 376 48 514 3610 -/+ buffers/cache: 3467 4502 Swap: 255 255 0E. Disk Space: Filesystem Size Used Avail Use% Mounted on /dev/sda2 117G 88G 24G 79% /*** Process Time: 00:00:00:03.3632 (dd:hh:mm:ss:xxxxxx) **** Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also (importance after Kloxo-MR update)
Page created in 0.039 seconds with 17 queries.