note 36081 added to ref.mssql
| From: | astercomp at at terra dot com | Date: | Thu, 25 Sep 2003 09:42:42 +0000 |
| Subject: | note 36081 added to ref.mssql | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-57084@lists.php.net to get a copy of this message | ||
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.
----
Manual Page -- http://www.php.net/manual/en/ref.mssql.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+36081
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+36081&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+36081&report=yes