On 31.03.2015 17:04, Adam Golebiowski wrote:
[adamg@adamg ~]$ php -r ''
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/lib/php56/http.so' - /usr/lib/php56/http.so: undefined symbol: 
php_persistent_handle_abandon in Unknown on line 0
[adamg@adamg ~]$ sudo mv /etc/php56/conf.d/{,z_}httpd.ini
[adamg@adamg ~]$ php -r ''
[adamg@adamg ~]$

Not only we need these two, but we need them to load before http.so.

Thinking about adopting apache-style prefixing with numbers:
- 00-29 - core php modules
- 30-99 - extra (pecl / non-pecl)

i've tried to postpone introducing numbering to ini files as long as possible. because the numbering sucks(!).

maybe rename your ini file so that LC_ALL=C locale would sort it last:

like:
http.ini -> http.ini (no changes)
propro.ini -> http_propro.ini
raphf.ini -> http_raphf.ini

ideally php-core should be smart itself (somehow) to be able to load modules in different order based on dependencies. possible solution would be to open shared library with lazy loading to get dependency structure and then do the real open (with RTDL_NOW) after dependency sort.
this is just theory, haven't tried.

With defaults for example 20 and 50.

Comments ?

On Tue, Mar 31, 2015 at 03:09:34PM +0200, adamg wrote:
commit a87ebfded9a4fa457a80f1e3f1632afcff329df6
Author: Adam Gołębiowski <ad...@pld-linux.org>
Date:   Tue Mar 31 15:08:21 2015 +0200

     - R += pecl-propro and pecl-raphf

  php-pecl-http.spec | 2 ++
  1 file changed, 2 insertions(+)
---
diff --git a/php-pecl-http.spec b/php-pecl-http.spec
index ecbb456..8674b73 100644
--- a/php-pecl-http.spec
+++ b/php-pecl-http.spec
@@ -22,6 +22,8 @@ BuildRequires:        zlib-devel >= 1.2.0.4
  %{?requires_php_extension}
  Requires:     %{php_name}-hash
  Requires:     %{php_name}-iconv
+Requires:      %{php_name}-pecl-propro
+Requires:      %{php_name}-pecl-raphf
  Requires:     %{php_name}-session
  Provides:     php(%{modname}) = %{version}
  Obsoletes:    php-pecl-http < 1.7.6-4
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-http.git/commitdiff/a87ebfded9a4fa457a80f1e3f1632afcff329df6

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-com...@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
_______________________________________________
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


--
glen

_______________________________________________
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to