note 60387 added to ref.mysql
| From: | php at wiredeyes dot com | Date: | Thu, 05 Jan 2006 15:23:08 +0000 |
| Subject: | note 60387 added to ref.mysql | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-101252@lists.php.net to get a copy of this message | ||
I was getting an error calling all sql commands in windows server 2003 from php5.
with "Call to undefined function ...." errors on every one.
I had done everything in all the installation tutorials, adding c:\php to the windows path from the
/cp/system gui and adding all the correct dlls and uncommenting all the libs I wanted to use in
php.ini, making sure I had no other files lying about and keeping all php files in c:\php as
suggested in many docs. Rebooted countless times. Still no joy.
php would run and show phpinfo() but no SQL commands would work.
While looking at phpinfo() I Noticed that "Configuration File (php.ini) Path =
C:\WINDOWS\".
I Finlay fixed it by moving the php.in file into the "c:\windows\" folder against
instructions. restarted the server and everything started working and the path now says
"C:\WINDOWS\php.ini"
Seems that adding c:\php to the system path doesn't work.
----
Manual Page -- http://www.php.net/manual/en/ref.mysql.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+60387
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60387&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60387&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60387&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60387&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60387&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60387&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60387&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+60387&report=yes
Search -- http://master.php.net/manage/user-notes.php