Author |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
|
Back to top |
|
Lakys
Joined: 23 Aug 2013 Posts: 2 Location: Lyon
|
Posted: Mon 26 Aug '13 17:41 Post subject: |
|
|
Hi Jan-E,
thank you so much for all those great builds, it really helps.
I have some issues loading the Imagick extension using the latest PHP 5.5.3 NTS x64 VC11 pack you provided. It crashes PHP without giving any notification or log.
Is your own setup working with that extension loaded with PHP5.5? Say at least displaying in phpinfo?
It was working fine with PHP 5.4. I'm not sure what I did wrong. |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
Posted: Tue 27 Aug '13 23:37 Post subject: |
|
|
See http://x32.elijst.nl/phpinfo.php55nts64
Imagick shows up. It did not test it, but it should work. Most likely problem: a path setting that finds the x86 CORE*.dll first or does not find any CORE*.dll files.
Try putting all the x64 CORE*.dll in the directory with php.exe. Open a DOS prompt (Run 'CMD'), navigate to the directory with php.exe and type 'php -m'. This will either show imagick as one of the modules or provide you with the info what is wrong, I think.
Edit: Sometimes the error message when running 'php -m' is unclear. "This is not a valid Win32 application" means you try running 32-bits DLL's with a 640bit PHP or the other way around. |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
Posted: Wed 28 Aug '13 14:59 Post subject: |
|
|
I have added still more extensions to the builds (same URLs). Among them is one that is not yet published on pecl.php.net. But I found the extension interestingly enough to promote it.
php_crypto.dll: a wrapper around Openssl.
Sources and some documentation:
https://github.com/bukka/php-crypto
In the words of the author, Jakub Zelenka:
Quote: | If anyone wants to help, I will be more than happy. OpenSSL has lots of interesting functions and it would be great if they were available in PHP.
I am not a cryptography expert so if you have any ideas what would be useful, feel free to create a new issue in
https://github.com/bukka/php-crypto/issues
If you want to help with implementation, it's even better. But as I said I will be happy for any help... |
|
|
Back to top |
|
pjduplooy
Joined: 12 May 2012 Posts: 11
|
Posted: Thu 29 Aug '13 20:44 Post subject: PHP 5.4 and extensions. |
|
|
Jan-E
Thanks for all your hard work!!.
If I could ask a favour? Suhosin for php 5.4 seems not ok, (Roundcube does not work with it), so there is a fork available of suhosin at https://github.com/blino/suhosin.
It fixes the following: Fix saving sessions in PHP 5.4 with user session handlers (fix #12)
When session storage functions are set with session_set_save_handler()
(this is the "mod_user" mode), mod_data will be NULL in PHP 5.4, and
suhosin session hooks will bail out.
PHP 5.4 allows to check this with mod_user_implemented instead.
See https://github.com/blino/suhosin/commit/117b6aa6efec61afaa1431c698dad8eb553b55f5
Could you perhaps compile the sushosin extension using this source code?
I would be eternally gratefull.
Pieter |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
Posted: Sat 31 Aug '13 15:31 Post subject: |
|
|
Blino's fork did not compile with PHP 5.4:
Code: | ext\suhosin\rfc1867.c(1236) : error C2039: 'magic_quotes_gpc' : is not a member of '_php_core_globals'
main\php_globals.h(56) : see declaration of '_php_core_globals'
|
Looking at my code, I must have applied a patch to rfc1867.c in december 2012 to make it compile with PHP 5.4. So I applied Blino's patch to my sources and that did compile. The x86 versions of PHP 5.4 are now updated with Blino's fix.
Use it at your own risk. See this issue at Stefan Esser's github: https://github.com/stefanesser/suhosin/issues/29 |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Sat 31 Aug '13 18:26 Post subject: |
|
|
Just to be said, the php dev wanna kick Suhosin. |
|
Back to top |
|
pjduplooy
Joined: 12 May 2012 Posts: 11
|
Posted: Sun 01 Sep '13 11:57 Post subject: |
|
|
Jan-E.
Thanks for the feedback. I have mixed feelings about suhosin, I feel about it as if it has been a naughty child in some ways.
Any idea of when a 64 bit version will be out? or is that the one that did not compile?
Pieter |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
Posted: Sun 01 Sep '13 14:15 Post subject: |
|
|
I have already rebuild and uploaded the PHP 5.4 x64 versions. |
|
Back to top |
|
Lakys
Joined: 23 Aug 2013 Posts: 2 Location: Lyon
|
Posted: Thu 26 Sep '13 11:14 Post subject: |
|
|
Jan-E wrote: | See http://x32.elijst.nl/phpinfo.php55nts64
Imagick shows up. It did not test it, but it should work. Most likely problem: a path setting that finds the x86 CORE*.dll first or does not find any CORE*.dll files.
Try putting all the x64 CORE*.dll in the directory with php.exe. Open a DOS prompt (Run 'CMD'), navigate to the directory with php.exe and type 'php -m'. This will either show imagick as one of the modules or provide you with the info what is wrong, I think.
Edit: Sometimes the error message when running 'php -m' is unclear. "This is not a valid Win32 application" means you try running 32-bits DLL's with a 640bit PHP or the other way around. |
Hi Jan-E,
I have run some new tests with PHP 5.5.4. I'm still getting the same issue. When I use the command php -m, I have no error showing up.
But whenever the Imagick module on, it crashes IIS8, with no clue.
On the very same server, it works well with a PHP 5.4.12 NTS x64.
So I suppose the install is ok, but something goes wrong with VC11 or PHP 5.5.
I know those builds are meant for Apache. But so far they work pretty well with IIS.
Thanks for your assistance. |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
|
Back to top |
|