note 68978 added to install.windows.extensions
| From: | simi_defatc2dothu at osu1 dot php dot net | Date: | Thu, 17 Aug 2006 20:10:38 +0000 |
| Subject: | note 68978 added to install.windows.extensions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-116025@lists.php.net to get a copy of this message | ||
I had problems with PHP5/Apache2.2/MySQL 5 installation on a WinXp machine.
I got the
Fatal error: call to undefined function - mysql_connect().
message
Solution :
1, use correct version of ext\php_mysql.dll and libmysql.dll
2, !!! edit the CORRECT php.ini (%windir%\php.ini) like c:\windows\php.ini !!!
3, add php installation dir to PATH
4, edit php.ini to load extension php_mysql.dll
use
<?php
phpinfo();
?>
to check.
----
Server IP: 66.163.161.117
Probable Submitter: 85.66.103.135
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/install.windows.extensions.php
Edit -- https://master.php.net/note/edit/68978
Del: integrated -- https://master.php.net/note/delete/68978/integrated
Del: useless -- https://master.php.net/note/delete/68978/useless
Del: bad code -- https://master.php.net/note/delete/68978/bad+code
Del: spam -- https://master.php.net/note/delete/68978/spam
Del: non-english -- https://master.php.net/note/delete/68978/non-english
Del: in docs -- https://master.php.net/note/delete/68978/in+docs
Del: other reasons-- https://master.php.net/note/delete/68978
Reject -- https://master.php.net/note/reject/68978
Search -- https://master.php.net/manage/user-notes.php