atom feed27 messages in ru.sysoev.nginxRe: a new uWSGI PHP plugin is available
FromSent OnAttachments
Roberto De IorisFeb 24, 2012 1:22 am 
Edho AriefFeb 24, 2012 2:44 am 
Roberto De IorisFeb 24, 2012 2:45 am 
Edho AriefFeb 24, 2012 2:59 am 
Roberto De IorisFeb 24, 2012 3:14 am 
athalasFeb 24, 2012 3:36 am 
Roberto De IorisFeb 24, 2012 3:38 am 
athalasFeb 24, 2012 3:41 am 
athalasFeb 24, 2012 5:32 am 
Roberto De IorisFeb 24, 2012 5:41 am 
athalasFeb 24, 2012 6:07 am 
Reinis RozitisFeb 24, 2012 6:34 am 
Roberto De IorisFeb 24, 2012 6:37 am 
athalasFeb 24, 2012 6:44 am 
Roberto De IorisFeb 24, 2012 6:47 am 
athalasFeb 24, 2012 7:07 am 
Delai S.Mar 18, 2012 3:02 am 
Roberto De IorisMar 18, 2012 8:29 am 
郭振立Mar 18, 2012 10:22 pm 
Roberto De IorisMar 18, 2012 11:23 pm 
Roberto De IorisMar 18, 2012 11:49 pm 
Delai S.Mar 19, 2012 7:45 pm 
Roberto De IorisMar 19, 2012 11:23 pm 
Delai S.Mar 20, 2012 4:08 am 
Delai S.Mar 20, 2012 4:09 am 
Roberto De IorisMar 20, 2012 4:16 am 
郭振立Mar 22, 2012 9:40 am 
Subject:Re: a new uWSGI PHP plugin is available
From:Roberto De Ioris (robe@unbit.it)
Date:Feb 24, 2012 6:37:36 am
List:ru.sysoev.nginx

Thanks for all the help so far Roberto.

When I run

python uwsgiconfig.py --plugin plugins/php using profile: buildconf/default.ini detected include path: ['/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include', '/usr/local/include', '/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include-fixed', '/usr/include/x86_64-linux-gnu', '/usr/include'] *** uWSGI building and linking plugin plugins/php *** [gcc -pthread] ./php_plugin.so /usr/bin/ld: cannot find -lphp5 collect2: ld returned 1 exit status *** unable to build php plugin ***

Your php-config script is not exporting library dir. Use this trick:

LDFLAGS="-Lpath" LD_RUN_PATH="path" python uwsgiconfig.py --plugin plugins/php

where path is the directory containing libphp5.so