note 56927 added to ref.mysql
| From: | nicksmith at osu1 dot php dot net | Date: | Mon, 19 Sep 2005 19:07:21 +0000 |
| Subject: | note 56927 added to ref.mysql | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-95424@lists.php.net to get a copy of this message | ||
i'm fairly new to this but have just managed to set up (on windows xp) apache 2.0.54 with php
5.0.4 and mySQL 4.1.13, also phpMyAdmin 2.6.4 having had exactly the problems reported by so many
others. i wasnt actually aware of mySQL not being loaded in php until i tried to use phpmyadmin and
it told me to check my php/mysql configuration.
basically i just did everything that is mentioned by others (setting extension_dir to c:\php\ext (
not c:\php\ext\ ), uncommenting extension=php_mysql.dll from php.ini and putting c:\php into my
PATH) but i was still getting the infuriating message when trying to start apache that php_mysql.dll
could not be found.
i restarted my machine and it worked! It seems i had to restart windows after editing my PATH. i
didnt bother restarting until it was the last resort because on xp i have NEVER had to do this
before - changes to System Variables always took effect immediately. I could understand this on,
say, windows 98 where you put the addition to your PATH into your autoexec.bat but why i had to do
this with xp is a mystery.
Anyway, give it a go, it might save you tearing out prescious hair!
N.
----
Manual Page -- http://www.php.net/manual/en/ref.mysql.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+56927
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+56927&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+56927&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+56927&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+56927&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+56927&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+56927&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+56927&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+56927&report=yes
Search -- http://master.php.net/manage/user-notes.php