I've RTFM'd and searched google and Zend and still am having a problem
loading php_mssql.dll.
First, background:
I'm using PHP Version 4.3.10
Apache/2.0.52
MySQL Server 4.1
Windows 2000 Professional OS
I installed Apache successfully, index.html works.
I've successfully downloaded and created a test page with simple php
instructions and that's working.
I've been using MySQL and have a running database.
Now I'm trying to be able to use dbx functions to access MySQL via PHP.
According to the manual, (since I'm using PHP4, not 5) I need to load
php_mssql.dll. I've updated the php.ini to the following:
extension_dir = c:/php/extensions/
and uncommented:
extension=php_m ssql.dll
But got the famous error from Apache:
Unable to load dynamic library 'c:/php/extensions/php_mssql.dll' -
The specified module could not be found
After looking at the php.ini above and seeing:
; Windows: "\path1;\pa th2"
;include_path = ".;c:\php\inclu des"
I switched the forward slashed to backslashes and I get the same error
(showing the backslashes this time) that it could load/find.
I searched Google archives and Zend mailing list archives and some say
to put the extension_dir to just C:\php\ and copying the php_mssql.dll
to that directory. Did both, get the same error, can't find the file in
C:\php...
Some of the archives say that I they've copied the file to the windows
dir (C:\WINNT for me) and some say to the system dir (C:\WINNT\syste m32
for me), and each time still get the error can't load/find.
Any other suggestions would be appreciated.
There is a mention in the manual about loading via dl(). Is this a
consideration?
Thanks for any help :)
Glenn
loading php_mssql.dll.
First, background:
I'm using PHP Version 4.3.10
Apache/2.0.52
MySQL Server 4.1
Windows 2000 Professional OS
I installed Apache successfully, index.html works.
I've successfully downloaded and created a test page with simple php
instructions and that's working.
I've been using MySQL and have a running database.
Now I'm trying to be able to use dbx functions to access MySQL via PHP.
According to the manual, (since I'm using PHP4, not 5) I need to load
php_mssql.dll. I've updated the php.ini to the following:
extension_dir = c:/php/extensions/
and uncommented:
extension=php_m ssql.dll
But got the famous error from Apache:
Unable to load dynamic library 'c:/php/extensions/php_mssql.dll' -
The specified module could not be found
After looking at the php.ini above and seeing:
; Windows: "\path1;\pa th2"
;include_path = ".;c:\php\inclu des"
I switched the forward slashed to backslashes and I get the same error
(showing the backslashes this time) that it could load/find.
I searched Google archives and Zend mailing list archives and some say
to put the extension_dir to just C:\php\ and copying the php_mssql.dll
to that directory. Did both, get the same error, can't find the file in
C:\php...
Some of the archives say that I they've copied the file to the windows
dir (C:\WINNT for me) and some say to the system dir (C:\WINNT\syste m32
for me), and each time still get the error can't load/find.
Any other suggestions would be appreciated.
There is a mention in the manual about loading via dl(). Is this a
consideration?
Thanks for any help :)
Glenn
Comment