I wonder how u indicate path in unix. extension_dir = "./" is the folder "extensions" for php 4? what about php 5?
can you put instruction in sticky?
thank you.
shrug I don't work w/ Unix systems, so I don't know the default path to the extensions directory.
@ - So why did you answer? @ - see the manual 🙂
the manual wrote: Unix - If not explicitly set in the php.ini, the default extension directory depends on * whether PHP has been built with --enable-debug or not * whether PHP has been built with (experimental) ZTS (Zend Thread Safety) support or not * the current internal ZEND_MODULE_API_NO (Zend internal module API number, which is basically the date on which a major module API change happened, e.g. 20010901) Taking into account the above, the directory then defaults to <install-dir>/lib/php/extensions/ <debug-or-not>-<zts-or-not>-ZEND_MODULE_API_NO, e.g. /usr/local/php/lib/php/extensions/debug-non-zts-20010901 or /usr/local/php/lib/php/extensions/no-debug-zts-20010901.
Unix - If not explicitly set in the php.ini, the default extension directory depends on
* whether PHP has been built with --enable-debug or not * whether PHP has been built with (experimental) ZTS (Zend Thread Safety) support or not * the current internal ZEND_MODULE_API_NO (Zend internal module API number, which is basically the date on which a major module API change happened, e.g. 20010901)
Taking into account the above, the directory then defaults to <install-dir>/lib/php/extensions/ <debug-or-not>-<zts-or-not>-ZEND_MODULE_API_NO, e.g. /usr/local/php/lib/php/extensions/debug-non-zts-20010901 or /usr/local/php/lib/php/extensions/no-debug-zts-20010901.
jabba_29 wrote:@ - So why did you answer?
@ - So why did you answer?
Because I was the one who made & stickied that post. Plus, I meant to say that if someone has clear instructions on this, I'd be glad to edit the sticky and include them.