RE: PHP and MySQL problem

From: Date: Wed, 09 Aug 2000 06:00:23 +0000
Subject: RE: PHP and MySQL problem
Groups: php.windows 
Request: Send a blank email to php-windows+get-1656@lists.php.net to get a copy of this message
---------------------------------------------------------------------------- ----------------- Disclaimer: The information contained in this email is intended only for the use of the person(s) to whom it is addressed and may be confidential or contain legally privileged information. If you are not the intended recipient you are hereby notified that any perusal, use, distribution, copying or disclosure is strictly prohibited. If you have received this email in error please immediately advise us by return email at postmaster@normandy.com.au and delete the email document without making a copy. ---------------------------------------------------------------------------- ----------------- Have a look in your php3.ini and uncomment the line with php3_mysql.dll like so; ;Windows Extensions extension=php3_mysql.dll Of course make sure you have php3_mysql.dll (im sure this was standard though) Also you may want to test PHP4 as it comes with inbuilt MySQL support (and is faster too :) Last but not least, you may want to drop the "Dear Sir" as you may loose a chance of having a PHP enabled female solving your problem. mn -----Original Message----- From: DIAMOND INTERNET SOLUTIONS [mailto:hkumar@dinsol.com] Sent: Wednesday, August 09, 2000 12:50 PM To: php-windows@lists.php.net Subject: PHP and MySQL problem Dear Sir, I have a Windows95 operating systems. I have installed Apache 1.3.12 (Win32) and PHP3. I am enjoying development but the main problem is MySQL database. I have installed MySQL Server version 3.22.34-shareware-debug. I have created databases and tables through DOS console. But whenever I try to connect to the database through PHP command mysql_connect() or mysql_pconnect() it shows the following error message; Fatal error: Call to unsupported or undefined function mysql_pconnect() in c:\apache\htdocs\php-bin\test.php3 on line 31 I have checked the manual of MySQL and it says that : This means that your PHP version isn't compiled with MySQL support. You can either compile a dynamic module of MySQL and load it into PHP or recompile PHP with built-in MySQL support. This is described in detail in the PHP manual. I am not getting how to compile PHP with MySQL and don't want to be. I just wanted to develop the application on PHP with MySQL. So, is there any thing that I should do to run the PHP and MySQL simultaneusly. I request you true peoples, to kindly give me the direction to solve this problem. Thanks, Hemant Kumar

« previous php.windows (#1656) next »