allegro / php-protobuf

PHP Protobuf - Google's Protocol Buffers for PHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to install php-protobuf in xamp (Window) .

PunitSaharan opened this issue · comments

Hi please help me i want to install php-protobuf in xamp on window.but i have no idea how it will be installed .when i run protoc-php.php its show "requires protobuf extension installed to run". how can i install this extension ??

Thanks

@mrjoebudi its show "phpize is not recognized as an internal or external command ??

I have compiled the binaries to both thread safe and non-thread safe. I don't know if you still need them but here they are anyway.

https://www.dropbox.com/s/3d9g9ozxq0z9h3x/php-protobuf_x86.zip?dl=0

Binaries are compiled for PHP 5.6 x86

Here's the virustotal:
https://www.virustotal.com/en/file/22be40d7acb4eb43a4a14205d68726bba4e6de66a367f65566029d349e365825/analysis/1451938893/

SHA256: 22be40d7acb4eb43a4a14205d68726bba4e6de66a367f65566029d349e365825

@Gielert You've wrote new config.w32 right? If yes can I see your config.w32 script? :)

ARG_ENABLE("protobuf", "whether to enable protobuf support","no");

if(PHP_PROTOBUF != "no") {
    AC_DEFINE("HAVE_PROTOBUF", 1, "Whether you have protobuf extension");
    EXTENSION("protobuf", "protobuf.c reader.c writer.c", true);
}

Here you go :D

How can I intall DLLs Gilbert? Help Please!

@Gielert can you please build for php5.6 64bit please, And I need curve25519 too

Sure thing. I will try to build the 64bit versions.
On Mar 31, 2016 08:52, "dswtech" notifications@github.com wrote:

@Gielert https://github.com/Gielert can you please build for php5.6
64bit please, And I need curve25519 too


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#56 (comment)

@Gielert can I use on OSX 64 bit? please guide

If you're on osx, you could just follow the original install guide. You
should have installed PHP and compilers. This can be accomplished with
homebrew for mac.
On Apr 3, 2016 16:25, "Adnan Siddiqi" notifications@github.com wrote:

@Gielert https://github.com/Gielert can I use on OSX 64 bit? please
guide


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#56 (comment)

@Gielert I am using MAMP. Are you suggesting to install php-protobuf via Brew?

Try this: http://verysimple.com/2013/11/05/compile-php-extensions-for-mamp/
On Apr 3, 2016 19:48, "Adnan Siddiqi" notifications@github.com wrote:

@Gielert https://github.com/Gielert I am using MAMP. Are you suggesting
to install php-protobuf via Brew?


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#56 (comment)

@Gielert Did you ever compile an x64 version for 5.6 XAMP?

@oneleft @dswtech As per request, I have compiled the x64 versions as well. Both the Thread-safe and Non Thread-safe are in the zip.

https://www.dropbox.com/s/lfhox1rm80xidw6/php-protobuf_x64.zip?dl=0

Here's the virustotal:
https://www.virustotal.com/nl/file/2a09a2e4259379d228c73ee0b1c524132b79fdc80d11b0ac96ee39c38efdb854/analysis/1463844140/

SHA256: 2a09a2e4259379d228c73ee0b1c524132b79fdc80d11b0ac96ee39c38efdb854

@Gielert Did you latest compile x86 and x64 .. .. thank you if you have it
by the way im using xampp..

不错

@Gielert @mrjoebudi is it still working for XAMP ?

im trying to setup chat api but it is not working for me,
I have a 32 bit environment and I've done the below:
1- update the chat api package to receive the WA Password (fix 'old version' issue)
2- downloaded the dlls you share and place it in the xamp/php/ext folder
3- edit php.ini & add extention=protobuf & extention=curve25519

but still not able to connect to google to get the contact numbers & not able to send Whatsapp

could you please help ?

@Gielert Hi sir,

Any compiled version for PHP7.2.7 and x64 ? Windows 7.

Thank you