[PHP-DEV] Improve Warning when loading Zend Ext as PHP module

2013-04-03 Thread Johannes Schlüter
Hi,

with opcache being bundled I expectr to see multiple bugs like #64568
where users are trying to load opcache as PHP module (using extension=
in php.ini), I tried to improve the error message a bit.

In
https://github.com/johannes/php-src/commit/a1301253a44de3997548cbd8f83e38d79e4c331c
the PHP module loader will, in case of an error, check for Zend
Extension symbols and give a more verbose error .

Any opinions on this?

johannes



-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Improve Warning when loading Zend Ext as PHP module

2013-04-03 Thread Julien Pauli
Wed, Apr 3, 2013 at 11:01 AM, Johannes Schlüter johan...@schlueters.dewrote:

 Hi,

 with opcache being bundled I expectr to see multiple bugs like #64568
 where users are trying to load opcache as PHP module (using extension=
 in php.ini), I tried to improve the error message a bit.

 In

 https://github.com/johannes/php-src/commit/a1301253a44de3997548cbd8f83e38d79e4c331c
 the PHP module loader will, in case of an error, check for Zend
 Extension symbols and give a more verbose error .

 Any opinions on this?


+1, I like it

Julien.Pauli


Re: [PHP-DEV] Improve Warning when loading Zend Ext as PHP module

2013-04-03 Thread Madara Uchiha
Looking good. +1.
On Apr 3, 2013 12:23 PM, Julien Pauli jpa...@php.net wrote:

 Wed, Apr 3, 2013 at 11:01 AM, Johannes Schlüter johan...@schlueters.de
 wrote:

  Hi,
 
  with opcache being bundled I expectr to see multiple bugs like #64568
  where users are trying to load opcache as PHP module (using extension=
  in php.ini), I tried to improve the error message a bit.
 
  In
 
 
 https://github.com/johannes/php-src/commit/a1301253a44de3997548cbd8f83e38d79e4c331c
  the PHP module loader will, in case of an error, check for Zend
  Extension symbols and give a more verbose error .
 
  Any opinions on this?
 

 +1, I like it

 Julien.Pauli



Re: [PHP-DEV] Improve Warning when loading Zend Ext as PHP module

2013-04-03 Thread Florian Anderiasch
 Wed, Apr 3, 2013 at 11:01 AM, Johannes Schlüter johan...@schlueters.de
 wrote:

 Hi,

 with opcache being bundled I expectr to see multiple bugs like #64568
 where users are trying to load opcache as PHP module (using extension=
 in php.ini), I tried to improve the error message a bit.

 In


 https://github.com/johannes/php-src/commit/a1301253a44de3997548cbd8f83e38d79e4c331c
 the PHP module loader will, in case of an error, check for Zend
 Extension symbols and give a more verbose error .

 Any opinions on this?


Very good idea, +1

Greetings,
Florian

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Improve Warning when loading Zend Ext as PHP module

2013-04-03 Thread Patrick ALLAERT
2013/4/3 Johannes Schlüter johan...@schlueters.de:
 Hi,

 with opcache being bundled I expectr to see multiple bugs like #64568
 where users are trying to load opcache as PHP module (using extension=
 in php.ini), I tried to improve the error message a bit.

 In
 https://github.com/johannes/php-src/commit/a1301253a44de3997548cbd8f83e38d79e4c331c
 the PHP module loader will, in case of an error, check for Zend
 Extension symbols and give a more verbose error .

 Any opinions on this?

Sounds good, +1

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Improve Warning when loading Zend Ext as PHP module

2013-04-03 Thread Stas Malyshev
Hi!

 https://github.com/johannes/php-src/commit/a1301253a44de3997548cbd8f83e38d79e4c331c
 the PHP module loader will, in case of an error, check for Zend
 Extension symbols and give a more verbose error .

Sounds like a good idea.

-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Improve Warning when loading Zend Ext as PHP module

2013-04-03 Thread Kalle Sommer Nielsen
Hi

2013/4/3 Johannes Schlüter johan...@schlueters.de:
 Any opinions on this?

Lets just get it committed, +1


-- 
regards,

Kalle Sommer Nielsen
ka...@php.net

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php