note 48434 added to ref.mysql
| From: | tumainenoatspamverizonnet at osu1 dot php dot net | Date: | Thu, 23 Dec 2004 16:21:42 +0000 |
| Subject: | note 48434 added to ref.mysql | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-82209@lists.php.net to get a copy of this message | ||
I had a hard time with upgrading to php version 5.2.0 in Windows XP Pro since mySQL queries all of a
sudden stopped working and led to blank pages on my site. I spent a good half day searching google
trying to figure out this problem, and didn't quite know how compiling PHP would help me. It
is not necessary. Set up PHP manually with the ZIP folder download.
This is a good link to read and wish I found it earlier:
http://www.zend.com/manual/install.windows.extensions.php
If you are getting an error popup about not being able to load some mysql.dll when starting apache,
you need to change this in your php.ini file:
extension_dir = "./" to something like "c:\php\ext"
Also what I was doing wrong was that I forgot to uncomment the following line in my php.ini file:
extension=php_mysql.dll
Restart apache, and everything should work.
Thought that I could save someone time and frustration when upgrading, since versions 5+ do not
include mySQL support by default as earlier versions apparently do.
----
Manual Page -- http://www.php.net/manual/en/ref.mysql.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+48434
Delete -- http://master.php.net/manage/user-notes.php?action=delete+48434&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48434&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48434&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48434&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48434&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48434&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+48434&report=yes
Search -- http://master.php.net/manage/user-notes.php