# Improve Warning when loading Zend Ext as PHP module

- Thread: https://externals.io/message/66909
- Original archive: https://news-web.php.net/php.internals/66909
- Started by johannes@schlueters.de on 2013-04-03T09:01:22+00:00
- Messages: 6
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #66909 — johannes@schlueters.de — 2013-04-03T09:01:22+00:00

URL: https://externals.io/message/66909#66909

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

---

## #66910 — Julien Pauli — 2013-04-03T09:22:07+00:00

URL: https://externals.io/message/66909#66910 · In reply to: #66909

Wed, Apr 3, 2013 at 11:01 AM, Johannes Schlüter <johannes@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

---

## #66911 — Madara Uchiha — 2013-04-03T09:25:57+00:00

URL: https://externals.io/message/66909#66911 · In reply to: #66910

Looking good. +1.


> Wed, Apr 3, 2013 at 11:01 AM, Johannes Schlüter <johannes@schlueters.de
> > […]
>
> > […]
> https://github.com/johannes/php-src/commit/a1301253a44de3997548cbd8f83e38d79e4c331c
> > […]
>
> +1, I like it
>
> Julien.Pauli

---

## #66918 — Patrick ALLAERT — 2013-04-03T15:47:19+00:00

URL: https://externals.io/message/66909#66918 · In reply to: #66909

2013/4/3 Johannes Schlüter <johannes@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

---

## #66922 — Stas Malyshev — 2013-04-03T19:05:37+00:00

URL: https://externals.io/message/66909#66922 · In reply to: #66909

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

---

## #66924 — Kalle Sommer Nielsen — 2013-04-03T19:11:12+00:00

URL: https://externals.io/message/66909#66924 · In reply to: #66909

Hi

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

Lets just get it committed, +1


-- 
regards,

Kalle Sommer Nielsen
kalle@php.net
