Http does not start after upgrade to 2?

ozgurerdogan

Verified User
Joined
Apr 20, 2008
Messages
352
On a freshly installed DA install, I decided to upgrade to CB 2 but httpd and php-fpm55 process are not starting in DA's process monitor.

Here is my options.conf;
Code:
#PHP settings.
#Default version of PHP is always php1_release. Possible values for php1/php2_release: 5.3, 5.4, 5.5, no. php1/php2_mode: mod_php, fastcgi, php-fpm or suphp)
php1_release=5.5
php2_release=no
php1_mode=php-fpm
php2_mode=suphp
php_ini=no
php_timezone=Europe/Istanbul
#Possible values - production or development
php_ini_type=production
ioncube=yes
zend=yes

#HTTP server. Possible values: apache, nginx
webserver=apache

#Apache settings
#Possible value: 2.4
apache_ver=2.4
mod_ruid2=no


And error with httpd;
Code:
[root@lnxtmp1-2 ~]# service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 37 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf: 
Cannot load /usr/lib/apache/mod_mpm_event.so into server: /usr/lib/apache/mod_mpm_event.so: cannot open shared object file: No such file or directory
 
Code:
cd /usr/local/directadmin/custombuild
./build update
./build clean
./build apache d
./build php d
./build rewrite_confs
 
thanks for respond. this time:
Starting httpd: httpd: Syntax error on line 37 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/mod_mpm_event.so into server: /usr/lib/apache/mod_mpm_event.so: cannot open shared object file: No such file or directory

Where am I doing wrong? Am I making a mistake by using php-fpm + apache together?
 
iirc apache and php-fpm have known bugs.
think there were discussions here somewheres over it.
 
thanks for respond. this time:


Where am I doing wrong? Am I making a mistake by using php-fpm + apache together?

Do you have a custom/ap2/configure.apache file in custombuild directory? It looks like apache is not built with "--enable-mpms-shared=all" option. This way there is no /usr/lib/apache/mod_mpm_event.so on the system.
 
Back
Top