Bug #64012 [Opn]: Make rsvg compilable for PHP >= 5.4
Edit report at https://bugs.php.net/bug.php?id=64012&edit=1 ID: 64012 User updated by: pm at datasphere dot ch Reported by: pm at datasphere dot ch Summary:Make rsvg compilable for PHP >= 5.4 Status: Open Type: Bug Package:Compile Failure Operating System: linux (all) PHP Version:5.4.11 Block user comment: N Private report: N New Comment: Please note also that PECL/rsvg is not an option as a package for this bug's classification. Previous Comments: [2013-01-17 17:43:40] pm at datasphere dot ch Description: There is a compilation error for rsvg on PHP 5.4: .../php-pecl-rsvg-0.1.0/RSVG-0.1.0/rsvg.c: In function 'rsvg_object_new': .../php-pecl-rsvg-0.1.0/RSVG-0.1.0/rsvg.c:458:44 error: 'zend_class_entry' has no member named 'default_properties' Here is a patch directly inspired from https://bugs.php.net/bug.php?id=59731 -- Edit this bug report at https://bugs.php.net/bug.php?id=64012&edit=1
[PHP-BUG] Bug #64012 [NEW]: Make rsvg compilable for PHP >= 5.4
From: pm at datasphere dot ch Operating system: linux (all) PHP version: 5.4.11 Package: Compile Failure Bug Type: Bug Bug description:Make rsvg compilable for PHP >= 5.4 Description: There is a compilation error for rsvg on PHP 5.4: .../php-pecl-rsvg-0.1.0/RSVG-0.1.0/rsvg.c: In function 'rsvg_object_new': .../php-pecl-rsvg-0.1.0/RSVG-0.1.0/rsvg.c:458:44 error: 'zend_class_entry' has no member named 'default_properties' Here is a patch directly inspired from https://bugs.php.net/bug.php?id=59731 -- Edit bug report at https://bugs.php.net/bug.php?id=64012&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64012&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64012&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64012&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=64012&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=64012&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=64012&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=64012&r=needscript Try newer version: https://bugs.php.net/fix.php?id=64012&r=oldversion Not developer issue:https://bugs.php.net/fix.php?id=64012&r=support Expected behavior: https://bugs.php.net/fix.php?id=64012&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=64012&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=64012&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=64012&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64012&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=64012&r=dst IIS Stability: https://bugs.php.net/fix.php?id=64012&r=isapi Install GNU Sed:https://bugs.php.net/fix.php?id=64012&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=64012&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=64012&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=64012&r=mysqlcfg
Req #40046 [Com]: OpenSSL CRL generation support
Edit report at http://bugs.php.net/bug.php?id=40046&edit=1 ID: 40046 Comment by: pm at datasphere dot ch Reported by: mbechler at eenterphace dot org Summary: OpenSSL CRL generation support Status: Assigned Type:Feature/Change Request Package: Feature/Change Request PHP Version: 5.2.1RC2 Assigned To: pajoye New Comment: I'm also very interested in having this feature supported in the PHP standards. Can I expect to see it soon available ? Previous Comments: [2010-02-15 09:07:32] cnyegle at gmail dot com Will the patch be merged into PHP?It's two years after the last modification of this issue. [2007-09-23 19:51:19] paj...@php.net >From Moritz Bechler: It took some time - but I now managed to put together some test cases (which hopefully can also serve as examples). I noticed that the current "openssl_x509_checkpurpose" function does not allow for passing verification flags so I introduced a new function "openssl_x509_check" (verify might be better but might cause confusion with openssl_verify) which does pretty much the same thing but takes a flags parameter which can be used to enable CRL checking and some other checking features which I did not test yet. I chose to add a new function because a) adding the argument to the end forces passing two (one unused in most cases) optional arguments b) _checkpurpose is a bit too specific. I hope that approach is okay. The updated patch is at http://mbechler.eenterphace.org/php6-openssl-crl.patch and the phpt and required data (needs a small CA, included files are valid for 5 years) at http://mbechler.eenterphace.org/php6-openssl-crl-tests.tar.bz2 I noted my test fails (even for ascii filenames) when run in unicode mode which is a result of this check in php_openssl_x509_from_zval: if (!(Z_TYPE_PP(val) == IS_STRING || Z_TYPE_PP(val) == IS_OBJECT)) { return NULL; } maybe I'll find some time to have a look at proper filesystem encoding conversions for ext/openssl. [2007-08-03 11:37:24] paj...@php.net Add the note here too :) Please provide some test cases as well, including the required data (if any). [2007-01-07 02:47:19] mbechler at eenterphace dot org Ok, finally found the bug - new patch is here: http://mbechler.eenterphace.org/ext-openssl-crl.patch [2007-01-07 02:26:36] mbechler at eenterhace dot org When trying to use the functionality in a real world scenario I noticed problems with this patch. My FastCGI processes are throwing errors like this *** corrupted double-linked list: 0x08a135f0 *** while it is working nice when run from the command line. I could not get any helpful information yet by debugging, but this one is definitly not ready for inclusion. I'm trying to figure out what's wrong, but I am thankful for any help provided. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=40046 -- Edit this bug report at http://bugs.php.net/bug.php?id=40046&edit=1