note 36081 deleted from ref.mssql by sniper
| From: | sniper@php.net | Date: | Mon, 17 Nov 2003 22:58:39 +0000 |
| Subject: | note 36081 deleted from ref.mssql by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-60539@lists.php.net to get a copy of this message | ||
Note Submitter: astercomp@@terra.com form Guatemala
----
I wasted 2 hours trying to figure out why I couldn't make the MSSQL functions work even if I
had the correct dlls in the correct places and had edited my php.ini correctly:
1) My php.ini file was stored in c:\windows\system32 instead of c:\windows, so php used some
defaults. I only realized this after viewing the results of the phpinfo() function. Under the
"PHP Core" section, under "extension_dir" row, it had "C:\php4" as the
parameter and I had just put "c:\php\extensions" and restarted the server.
2) Once I moved the file to the proper location, PHP started complaining about not finding
php_msql.dll. Read carefully, I had uncommented php_msql.dll instead of php_mssql.dll in php.ini
I hope this helps somebody out there.