fatal error call to undefined function mysql_connect in windows xp Huffman Texas

YOU will NOT find ANY lower prices in town.

Address Hockley, TX 77447
Phone (936) 689-4856
Website Link
Hours

fatal error call to undefined function mysql_connect in windows xp Huffman, Texas

I don't think I'm using IIS, which would explain why I've never heard it before. My WAMP server's PHP.ini had short_open_tag = off. Copy C:\PHP\libmysql.dll and C:\PHP\ext\php_mysql.dll to the C:\%WIN%\system32 folder. In php's documentation, they stated that they have disabled mysql support by default.

From FAQ and web comments I have checked that: 1) c:\php is on the system PATH 2) libmysql.dll is in c:\php (This is the only active copy of the .DLL on THIS IS OK. Take a look at any phpinfo() page and you'll see that you don't have the mysql module loaded into php.Could you explain what was wrong, am having the same issue and IT DOES!

Current rating: (13 votes). you can fix that in config.php. http://php.net/manual/en/install.windows.extensions.php Another common solution seems to be to copy libmysql.dll and php_mysql.dll from c:\PHP to C:\Windows\System32. You saved lot of my time...........

mysql_up.php is the test file the book mentioned to place it in the root folder. I'm thinking of giving up, as I supposed to start building a website for the a company and I've spend everyday this week trying to research and find out how to The default (and WRONG) value for my work enviroment is ; extension_dir="ext" without any full path and commented with a semicolon. Copy this file to C:\Windows\System32.

extension_dir = "C:\Program Files\Apache Group\PhP51\ext\" 2. Neverminds thanks for your time and help, I'll try that XAMPP tomorrow. –Nikolas Jíša Dec 18 '11 at 16:16 add a comment| up vote 3 down vote Background about my (similar) Contact Sales USA: +1-866-221-0634 Canada: +1-866-221-0634 Germany: +49 89 143 01280 France: +33 1 57 60 83 57 Italy: +39 02 249 59 120 UK: +44 207 553 8447 Japan: 0120-065556 Aug 9, 2005,06:40 #6 printf View Profile View Forum Posts SitePoint Addict Join Date Aug 2005 Posts 207 Mentioned 0 Post(s) Tagged 0 Thread(s) Search for 'libmysql.dll', copy it to 'c:\winnt'

In order to run the project for the first time, I modified this setting to short_open_tag = off. Faq Reply With Quote October 11th, 2004,10:10 AM #12 cyberjaya View Profile View Forum Posts Visit Homepage  Permanently Banned Devshed Newbie (0 - 499 posts)  Join Date Jan 2003 Thanks –AngeDeLaMort Sep 28 '15 at 21:21 add a comment| up vote 1 down vote Hi I got this error because I left out the ampersand (&) in ; php.ini error_reporting I'm new to php, apache and drupal....

you are a genius... Make sure that php.ini is indeed in c:\php. Please type in the code: Please do not post inappropriate pictures. I've also set up the PHPRC environment variable.

enabled by removing the ";" at the start of the line) 4) c:\program files\apache group\apache2\conf\httpd.conf configuration file has: LoadModule php5_module "c:/php/php5apache2.dll" AddType application/x-httpd-php .php Action application/x-httpd-php "/php/php-cgi.exe" PHPIniDir "c:\php" NOTE: it Aug 8, 2005,16:30 #3 Dillio View Profile View Forum Posts SitePoint Member Join Date Aug 2005 Posts 5 Mentioned 0 Post(s) Tagged 0 Thread(s) I have uncommented (by removing the semicolin) No problems. No momento de conectar no mysql sou com este problema "Fatal error: Call to undefined function mysql_connect()", já removi tudo e instalei tudo dinovo o problema é sempre o mesmo.

If you've installed through your OS package, make sure to get the package specifically setup for php and mysql. Therefore, you only need to configure php to enable its encapsulating library for it to work. current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. Faq Reply With Quote October 11th, 2004,09:53 AM #11 cyberjaya View Profile View Forum Posts Visit Homepage  Permanently Banned Devshed Newbie (0 - 499 posts)  Join Date Jan 2003

I appreciate the quick response to my earlier post!! I'm running out of ideas. I searched around some forums and only found the solution for either linux or other platforms, infact some solutions didn't quite work when i tried to modify it similarly for the THIS IS OK.

well, as the manual says "PHPIniDir directive (Apache 2 module only) " and i copy the php.ini to C:\windows then everything works perfect and another thing i would like to point If you haven't read the below, I would take a look at the comments section, because it seems like a lot of people experience quirks with setting this up. Get books you want. You can't have php configured without mysql AND have it connect to databases.

Is there any other way to diagnose my problem if trying what was mentioned to work doesn’t work? For instance, if you have installed PHP in C:\Program Files\PHP, you would enter C:\PROGRA~1\PHP instead. Does that mean the solution mentioned isn't right for me? Thanks btw, i ran phpinfo to verify mysql and it wasn't there Log in or register to post comments if phpinfo isn't showing coreyp_1 commented December 3, 2005 at 11:12pm if

Please notify me once a day about new comments on this topic. This forum is now closed to new posts, but you can browse existing content. u r right.