fatal error call to undefined function mysql_connect windows xp Horse Cave Kentucky

Website development, reliable Web hosting and email services, tailored Real Estate Website packages and local PC Repair, Service & Upgrades. Ranging from, new computer setup, virus/spyware removal to network installations. Serving both business and residential. On-site or Pickup / Delivery!

Address Caneyville, KY 42721
Phone (270) 287-1018
Website Link

fatal error call to undefined function mysql_connect windows xp Horse Cave, Kentucky

I don't mind reinstalling. It may be odd, but I never claimed to be normal in the first place... ;o) Log in or register to post comments this worked for me... For example in php.ini: extension=php_mysql.dll PHP Code:

Apache2.4.18 (Win64) / PHP5.6.19 Is having more than one copy of a .dll on the computer a detriment?

I haven't customized Apache. phpinfo shows I am running c:\windows\php.ini, which is correct. Run this script I have made. I'm using windows xp, apache 2.055, mysql, php 5.1.1...

Going to be away for 4 months, should we turn off the refrigerator or leave it on with water inside? I didn't even have the line in my file –Dennis Aug 12 '14 at 14:53 add a comment| up vote 2 down vote Check your php.ini, I'm using Apache2.2 + php I have checked the apache log and found there lines like "PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\php\\ext\\php_mysql.dll' - The specified module could not be found.\r\n in Unknown im a newbie in setting up php 5, apache and mysql.

I then uncommented: extension_dir="c:\php\ext" restarted IIS in the services again, and voila! Copy php.ini to C:\%WIN%\System32 5. For example if youhave installed PHP in "C:/program Files" then change"extension_dir = "./" " to"extension_dir = "C:/Program Files/php/ext" ".3) Search for the line "extension=modulename.extension"(You will find it in Dynamic Extensions) and Forum Program Your Site PHP Fatal error : Call to undefined function mysql connect() The SitePoint Forums have moved.

Install it all then with and restart Apache: [root]#ls *.rpm -rw-r--r-- 1 nobody nogroup 22333 Jul 26 2004 php-mysql-4.3.2-3mdk.i586.rpm -rwxr--r-- 1 nobody nogroup 263560 Aug 9 10:55 libmysql12-4.0.23-2mdk.i586.rpm [root]#rpm --install libmysql12-4.0.23-2mdk.i586.rpm Is the NHS wrong about passwords? yup, I did before and tried everything before I posted my message here. share|improve this answer answered Mar 3 '11 at 10:37 binaryLV 6,7421933 1 use phpinfo() to find out which php.ini is the right one. –Pekka 웃 Mar 3 '11 at 10:38

After much grovelling about I found I had been STUPID - php.ini should have been in c:\php NOT c:\windows. Page 1 of 2 12 Last Jump to page: Results 1 to 15 of 21 Thread: [RESOLVED] i am Fatal error: Call to undefined function mysql_connect() using php5.2,mysql 4.1 Tweet Thread Going to be away for 4 months, should we turn off the refrigerator or leave it on with water inside? In the little menu that pops up there, click Apache 2 and then Restart.

Note that you should use BACKSLASHES in the php.ini file. 3.In the file C:\Program Files\Apache Group\Apache2\conf\httpd.conf, change the DocumentRoot entry to: DocumentRoot 'C:/webs/test'. Apache2.4.18 (Win64) / PHP5.6.19 / MySQL5.7.11 / phpMyAdmin4.6.0 Reply With Quote 02-01-2012,06:35 AM #8 php5Newbie View Profile View Forum Posts Junior Member Join Date Feb 2012 Posts 3 hi! Include the next line at php.ini file extension_dir="ext" Both ways worked fine for me but choose yours. Log in or register to post comments Simple steps but very effective.........

C:\php, C:\php\ext, C:\windows, C:\windows\system, C:\windows\system32, and probably a few other places where they aren't needed...Changed and tampered with where the extensions might be located in the php.ini file...Written the registry key the php installer from php.net has missing dll files. I have done all of the following Unquoted The MySQL ".dll" extentions in the php.ini fileCopied The MySQL ".dll" files into every concievable place, I.e. It comes with everything integrated, has a GUI, works out of the box and will save you a lot of headache (especially under Windows!). –Quasdunk Dec 18 '11 at 12:23

and I had the same problem and after modify the php.ini in order to set the libraries directory of PHP, it worked correctly. I was able to import drupal database to mysql server, and I was also ran php from apache web server... more hot questions question feed lang-php about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation The default (and WRONG) value for my work enviroment is ; extension_dir="ext" without any full path and commented with a semicolon.

Faq Reply With Quote September 29th, 2004,01:05 AM #5 No Profile Picture abhinav76 View Profile View Forum Posts  Registered User Devshed Newbie (0 - 499 posts)  Join Date I hope it doesn't come down to that. My WAMP server's PHP.ini had short_open_tag = off. Why are unsigned numbers implemented?

any more suggestion on this? It showed up everything the book said. Get books you want. Now the row "Loaded Configuration File" gets "C:\PHP\php.ini" after refreshing "localhost/index.php" (before I restarted Apache2.2) as well as mysql block is there.

In the little menu that pops up there, click Apache 2 and then Restart. 4.After about 10 seconds, your PHP will be ready to accept mysqli commands to talk to the Log in or register to post comments mysql connection problem trantt commented December 5, 2005 at 4:28am corey, I installed everything on my own. anyone please? In php's documentation, they stated that they have disabled mysql support by default.

Add a picture: Skip to main content Skip to search Main Menu Drupal.org home Download & Extend Community Documentation Support Jobs Marketplace About Return to Content Search form Search Log in Any advice at all would be greatly appreciated.B Ryan Aug 8, 2005,16:13 #2 zfade3 View Profile View Forum Posts SitePoint Enthusiast Join Date Jul 2005 Location Endor Posts 78 Mentioned 0