#19423 [Com]: Problem with extension_dir in PHP.ini

From: Date: Tue, 24 Sep 2002 22:36:31 +0000
Subject: #19423 [Com]: Problem with extension_dir in PHP.ini
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20246@lists.php.net to get a copy of this message
ID: 19423 Comment by: cbrady@sbccd.cc.ca.us Reported By: cdfisher@swbell.net Status: Feedback Bug Type: *Web Server problem Operating System: Windows 9x/NT/ME/2000/XP PHP Version: 4.2.3 New Comment: I'm using the ISAPI version on Win2k IIS. My install drive for php is I:\php\ My php.ini is in the H:\winnt\ directory (the phpinfo() function reports that is were it found it). Php.ini coding : ---------------- ; Directory in which the loadable extensions (modules) reside. extension_dir = I:/php/extensions/ ---------------- As long as I don't specify a extension to load, php works fine. But, once I un remark an extension (ei. php_mssql.dll), it gives the "unable to load dynamic library 'I:/php/extensions/php_mssql.dll' The support module not found" message. I've tried both ways, I:\\ and I:/ Previous Comments: ------------------------------------------------------------------------ [2002-09-24 17:10:49] jmoore@php.net No php.ini does not have to be on the c: drive. However please make sure you are using the c:\\ or c:/ syntax. Also make sure that your php.ini file is in the correct location (look at the output of phpinfo()). With the cli and cgi versions you can often get away with putting the php.ini file in the same dir as the executable and it will find it there. - James ------------------------------------------------------------------------ [2002-09-24 17:03:32] cbrady@sbccd.cc.ca.us Same issue. However, its it a requirement that the php directory be on the c: drive? I have the same problem with any php version I install on the Win2k Server. ------------------------------------------------------------------------ [2002-09-21 14:27:49] iliaa@php.net try changing 'c:\php\extensions' to 'c:\\php\\extensions' or 'c:/php/extensions' and see if it begins to work. ------------------------------------------------------------------------ [2002-09-16 08:32:29] cdfisher@swbell.net Oh yeah, I forgot to add that all the pertinent files for this extension are in the %system% directory! ------------------------------------------------------------------------ [2002-09-16 08:29:45] cdfisher@swbell.net To mficher: If you can give me some cookbook instructions on how to use this tool, then I would be glad to give it a try. It looks as though it needs a running process, but the error occurs when I start IIS. How can I accomplish what you need? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/19423 -- Edit this bug report at http://bugs.php.net/?id=19423&edit=1

« previous php.bugs (#20246) next »