#31066 [NEW]: Can't dynamic load with module (php.ini)
| From: | jsgoupil at lookstrike dot com | Date: | Sun, 12 Dec 2004 21:57:01 +0000 |
| Subject: | #31066 [NEW]: Can't dynamic load with module (php.ini) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-70084@lists.php.net to get a copy of this message | ||
From: jsgoupil at lookstrike dot com
Operating system: WinXP
PHP version: 5.0.2
PHP Bug Type: Dynamic loading
Bug description: Can't dynamic load with module (php.ini)
Description:
------------
When loading PHP with CGI method, I put the extension_dir to "./ext" and
it is working fine.
When I want to load PHP with module method, I got some problem.
First of all, it seems the library can't be loaded. The "./ext" doesn't
work. So there are two ways to resolve the problem, copy "ext" dir into
C:/Windows or link to "ext" dir with the full path : extension_dir =
"C:/php5/ext"
So this is the first problem.
The second one, is that php_mysqli.dll can't be loaded even if I use one
of the two mothods I explain above... All other dlls (gd2 and mysql) are
loaded but not mysqli...
So I have to stay on php-cgi since you discover the problem...
Notice that it is perhaps not a bug the first one, but it is not normal
that it is working with php-cgi and not with module...
I already check the bug http://bugs.php.net/bug.php?id=30636 and it
doesn't correspond to this one... I put the C:/php5 to my PATH to be
sure.
Furthermore, I tried with / and \ in the extension_dir and it is not
working anyway...
I check http://bugs.php.net/bug.php?id=8416 and
I've try to copy the ext
folder to System32... the second bug is always there.
--
Edit bug report at http://bugs.php.net/?id=31066&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31066&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31066&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31066&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31066&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31066&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31066&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31066&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31066&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31066&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31066&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31066&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31066&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31066&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31066&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31066&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31066&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31066&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31066&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31066&r=mysqlcfg