nginx / apache conflict w/php-fpm

Jim Ohlstein jim.ohlstein at gmail.com
Sun Jun 21 22:33:24 MSD 2009


Chris Cortese wrote:
> Sorry if this sounds like an Apache / php-fpm question but I think 
> it's relevant to this list and hopefully somebody here has encountered 
> this.
There is a php-fpm list at http://groups.google.com/group/highload-php-en.
>
> I just built php 5.2.10 with the new php-fpm patch for php 5.2.10.  
> This is working fine on Ubuntu Jaunty with nginx 0.8.3.
>
> But on our new VPS, we'd like to still have the option to run Apache, 
> at least temporarily.
>
> Right now, running 'apachectl configtest' gives:
>
> httpd: Syntax error on line 107 of /etc/apache2/httpd.conf: Cannot 
> load /usr/lib/apache2/modules/libphp5.so into server: 
> /usr/lib/apache2/modules/libphp5.so: undefined symbol: 
> _fpm_event_base_free
>
> Can anyone advise?
You probably need to compile two different versions of php.

Jim





More information about the nginx mailing list