FAQ
Hi!
I provide an INI property to stop my extension from loading fully like:

if (strcmp(sapi_module.name, "cli") == 0 &&
INI_STR("plexcel.sapi.cli") &&
INI_BOOL("plexcel.sapi.cli") == 0) {
return;
}

But the extension is still loaded. It's just not initialized.
if you return FAILURE, it will not be loaded, but it will produce
E_CORE_ERROR. If you don't like that I'd recommend to keep extension
loaded but not register any functions, etc and write some descriptive
stuff in phpinfo().
--
Stanislav Malyshev, Zend Software Architect
stas@zend.com http://www.zend.com/
(408)253-8829 MSN: stas@zend.com

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupphp-internals @
categoriesphp
postedMay 21, '08 at 9:45p
activeMay 22, '08 at 4:04a
posts2
users2
websitephp.net

People

Translate

site design / logo © 2022 Grokbase