Hi, So I edited the config line in my spec file to add the php-config: %build %ifarch pentium3 pentium4 athlon i386 i486 i586 i686 x86_64 %configure --with-pgm --with-php-config=/usr/bin/php-config %else %configure %endif
I see it being called correctly in the config.status, but still no luck, I still have the problem. I'm open to suggestions. Thanks, James On Wed, Jun 26, 2013 at 7:24 AM, Mikko Koppanen <[email protected]> wrote: > > > > > On 26 Jun 2013, at 05:30, James Marcus <[email protected]> wrote: > >> the thing is... I need to deploy this to 400 servers. I'll keep >> looking. thanks for the suggestion. >> > > During ./configure process check which php-config is picked. ./configure > --with-php-config=/path/to/correct/zendapi/php-config should do the trick. > > Thanks, > Mikko > > > Sent from my iPhone > > > >> James >> >> On Tue, Jun 25, 2013 at 4:59 PM, Ian Barber <[email protected]> wrote: >>> Maybe try building from pecl (via pear.zero.mq) rather than the RPM? >>> >>> Ian >>> >>> >>> On Tue, Jun 25, 2013 at 8:20 PM, James Marcus <[email protected]> >>> wrote: >>>> >>>> Hi, >>>> I haven't gotten any further on this issue, anyone have any ideas how >>>> I change/update/downgrade the Zend API version when compiling ZeroMQ >>>> 3.2.2? >>>> >>>> Thanks >>>> James >>>> >>>> On Mon, Jun 24, 2013 at 12:37 PM, James Marcus <[email protected]> >>>> wrote: >>>>> I think I have found some stuff on PECL that my point me in the right >>>>> direction. >>>>> >>>>> James >>>>> >>>>> On Mon, Jun 24, 2013 at 12:32 PM, James Marcus <[email protected]> >>>>> wrote: >>>>>> Hi, >>>>>> When running phpize >>>>>> >>>>>> build machine: >>>>>> [jmarcus@ohitu001 SPECS]$ phpize -v >>>>>> Configuring for: >>>>>> PHP Api Version: 20100412 >>>>>> Zend Module Api No: 20100525 >>>>>> Zend Extension Api No: 220100525 >>>>>> >>>>>> target install machine: >>>>>> [root@ws300 x86_64]# phpize -v >>>>>> Configuring for: >>>>>> PHP Api Version: 20100412 >>>>>> Zend Module Api No: 20100525 >>>>>> Zend Extension Api No: 220100525 >>>>>> >>>>>> I rebuilt the zeromq rpm, but I can't run phpize before because there >>>>>> is no config.m4 in the source directory. >>>>>> >>>>>> [jmarcus@ohitu001 zeromq-3.2.2]$ phpize >>>>>> Cannot find config.m4. >>>>>> Make sure that you run '/usr/bin/phpize' in the top level source >>>>>> directory of the module. >>>>>> >>>>>> Are there any environment variables I can set to force the Zend Module >>>>>> Api No: >>>>>> >>>>>> Thanks >>>>>> James >>>>>> >>>>>> >>>>>> >>>>>> On Mon, Jun 24, 2013 at 12:03 PM, Ian Barber <[email protected]> >>>>>> wrote: >>>>>>> Watch out for phpize etc. being from the older version - that's an >>>>>>> easy >>>>>>> mistake to make. Maybe uninstall the previously installed version to >>>>>>> clear >>>>>>> out any associated components. >>>>>>> >>>>>>> >>>>>>> On Mon, Jun 24, 2013 at 5:01 PM, James Marcus <[email protected]> >>>>>>> wrote: >>>>>>>> >>>>>>>> Hi Ian, >>>>>>>> Thanks for the quick reply. So Built PHP 5.4.16 and then installed >>>>>>>> it >>>>>>>> on my build server and then created the ZeroMQ binaries. I'll give >>>>>>>> it >>>>>>>> another go incase I did something out of order. >>>>>>>> >>>>>>>> Thanks >>>>>>>> James >>>>>>>> >>>>>>>> On Mon, Jun 24, 2013 at 11:45 AM, Ian Barber <[email protected]> >>>>>>>> wrote: >>>>>>>>> You'll need to build php-zmq with the version you're running - >>>>>>>>> looked >>>>>>>>> like >>>>>>>>> the ZMQ extension was built with an older version of PHP. >>>>>>>>> >>>>>>>>> Ian >>>>>>>>> >>>>>>>>> >>>>>>>>> On Mon, Jun 24, 2013 at 4:36 PM, James Marcus >>>>>>>>> <[email protected]> >>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>> Hi, >>>>>>>>>> I have compiled my own PHP version, 5.4.16 and ZeroMQ 3.2.2, and >>>>>>>>>> rolled my own RPMs. When I start php-fpm I get the following >>>>>>>>>> message: >>>>>>>>>> >>>>>>>>>> Starting php-fpm: [24-Jun-2013 11:01:49] NOTICE: PHP message: PHP >>>>>>>>>> Warning: PHP Startup: zmq: Unable to initialize module >>>>>>>>>> Module compiled with module API=20090626 >>>>>>>>>> PHP compiled with module API=20100525 >>>>>>>>>> >>>>>>>>>> I'm assuming this is related to Zend, anyone know how to get rid >>>>>>>>>> of >>>>>>>>>> this message? >>>>>>>>>> >>>>>>>>>> Thanks, >>>>>>>>>> James >>>>>>>>>> _______________________________________________ >>>>>>>>>> zeromq-dev mailing list >>>>>>>>>> [email protected] >>>>>>>>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> zeromq-dev mailing list >>>>>>>>> [email protected] >>>>>>>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev >>>>>>>> _______________________________________________ >>>>>>>> zeromq-dev mailing list >>>>>>>> [email protected] >>>>>>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> zeromq-dev mailing list >>>>>>> [email protected] >>>>>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev >>>> _______________________________________________ >>>> zeromq-dev mailing list >>>> [email protected] >>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev >>> >>> >>> >>> _______________________________________________ >>> zeromq-dev mailing list >>> [email protected] >>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev >> _______________________________________________ >> zeromq-dev mailing list >> [email protected] >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
