[zeromq-dev] Using PHP 5.4
James Marcus
marcus.james at gmail.com
Mon Jun 24 18:32:15 CEST 2013
Hi,
When running phpize
build machine:
[jmarcus at ohitu001 SPECS]$ phpize -v
Configuring for:
PHP Api Version: 20100412
Zend Module Api No: 20100525
Zend Extension Api No: 220100525
target install machine:
[root at 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 at 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 <ian.barber at gmail.com> 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 <marcus.james at gmail.com>
> 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 <ian.barber at gmail.com> 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 <marcus.james at gmail.com>
>> > 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
>> >> zeromq-dev at lists.zeromq.org
>> >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>> >
>> >
>> >
>> > _______________________________________________
>> > zeromq-dev mailing list
>> > zeromq-dev at lists.zeromq.org
>> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>> >
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
More information about the zeromq-dev
mailing list