This is because of the new default mpm in apache. Just to point it out - there is also a preconfigured apache + php-fpm image now which might suite your drupal/wordpress deployment as well.
— Daniel On 26 Jul 2014, at 17:05, G B via smartos-discuss <[email protected]> wrote: > Replace: > > LoadModule mpm_event_module modules/mod_mpm_event.so > > With > > LoadModule mpm_prefork_module modules/mod_mpm_prefork.so > > > > On Saturday, July 26, 2014 10:58 AM, G B via smartos-discuss > <[email protected]> wrote: > > > Previously I was able to run Wordpress or Drupal on SmartOS Joyent brand > zones. However, now when I add in httpd.conf: > LoadModule php5_module lib/httpd/mod_php5.so > > Apache goes into maintenance with this in > /var/svc/log/pkgsrc-apache:default.log: > [ Jul 26 15:45:16 Executing start method ("/opt/local/sbin/httpd -k start"). ] > [Sat Jul 26 15:45:17.175538 2014] [:crit] [pid 10592:tid 1] Apache is running > a > threaded MPM, but your PHP Module is not compiled to be threadsafe. You need > to > recompile PHP. > AH00013: Pre-configuration failed. > [ Jul 26 15:45:17 Method "start" exited with status 1. ] > > Everything was installed via pkgsrc. > pkgin in mysql-server-5.6.19 > pkgin in php55 > pkgin in ap24-php55 (this also installed apache and apr-util) > pkgin in php5-mysqli > pkgin in php55-mbstring > pkgin in php55-mcrypt > pkgin in php55-zlib > pkgin in php55-json > pkgin in php55-dom > > Apache starts when commenting out the php5 LoadModule line. > > Is there something else that needs to be included in httpd.conf? > smartos-discuss | Archives | Modify Your Subscription > > > smartos-discuss | Archives | Modify Your Subscription ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
