Fatal Error Call To Undefined Function Mysql_connect In Windows Xp
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About fatal error call to undefined function mysql_connect() in php Us Learn more about Stack Overflow the company Business Learn more about hiring developers
Call To Undefined Function Mysql_connect() Xampp
or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack
Call To Undefined Function Mysql_connect() Windows
Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Call to undefined function mysql_connect up vote
Call To Undefined Function Mysql_connect() Linux
18 down vote favorite 2 I just installed PHP and Apache on my home PC. When I try to call function mysql_connect I get: fatal error: call to undefined function mysql_connect. I have loaded php.ini where I have uncommented lines extension=php_mysql.dll and extension=php_mysqli.dll and changed extension directory to extension_dir = "C:\php\ext" - which is the directory where files php_mysql.dll and php_mysqli.dll are. How can I fix fatal error: uncaught error: call to undefined function mysql_connect() in xampp this problem? Output of phpinfo(): http://jsfiddle.net/MMTwA/ windows php share|improve this question edited Nov 3 '15 at 9:02 Peter Mortensen 10.2k1369107 asked Dec 18 '11 at 11:28 Nikolas Jíša 3841521 2 Have you restarted apache after editing the php.ini? :) And do you also have MySQL installed? Maybe you should have a look at XAMPP (apachefriends.org/en/xampp-windows.html) which is an easy to use package containing apache, php and mysql. –Quasdunk Dec 18 '11 at 11:30 Yes I have restarted it. Yes I have MySQL installed though even if I hadn't I would still get "Undefined function...". I'll probably look at that XAMPP if I don't solve this, thanks. –Nikolas Jíša Dec 18 '11 at 11:56 Try copying the libmysql.dll to C:\Windows\System32. And, again, if you just need a development environment, have a look at XAMPP. 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 I have libmysql.dll in C:\Windows\System32 already, I'll try that XAMPP if I dont solve this by evening, thanks. –Nikolas Jíša Dec 18 '11 at 12:28 Prov
index All times are UTC - 5 hours Information The requested topic does not exist. Board index All times are UTC - 5 hours Powered by phpBB Forum Software © phpBB Group
Support FAQ Forums Mailing Lists Report a Bug Request a Feature Geeklog Security Development https://www.geeklog.net/forum/viewtopic.php?showtopic=54476 Getting Started Plugin Developers Guide Download Source Code Documented http://forums.devshed.com/mysql-help-4/fatal-error-call-undefined-function-mysql_connect-winxp-176333.html Source Code Roadmap Topics Home Development (330) Geeklog(217) Plugins(118) Themes(6) News(398) Announcements(258) Geeklog.net(31) Security(77) Spam(11) Summer of Code(28) User Functions Username Password Don't have an account yet? Sign up as a New User! Lost your password? Login with call to OpenID Events There are no upcoming events What's New Stories last 2 weeksNo new stories Comments last 2 weeksNo new comments Trackbacks last 2 weeksNo new trackback comments Links last 2 weeksNo recent new links Downloads last 2 weeks No new files Welcome to GeeklogSaturday, October 15 call to undefined 2016 @ 10:21 am EDT Select a Forum »General Geeklog Discussions »You and your Sites »Geeklog Related Sites »Off-Topic »Feedback »General Geeklog Support »Installation Support »Plugin Support »Theming Support »Documentation, Tips & Tricks »Plugins »Themes »PHP Blocks »Cool Hacks »Geeklog »Plugins »Themes »Other Aspects »GSOC »Français »Deutsch »日本人 Forum Index>Support>General Geeklog Support New Topic Post Reply Fatal error: Call to undefined function: mysql_connect() in /var/www/system/databases/mysql.class. 4Xsample 18/06/2005 09:33pm(Read 75907 times) Junior Status: offline Registered: 21/09/2003 Posts: 26 Recently I reinstalled my debian woody to sarge after a few problems could make work all the services but since then I get this message on all my geeklog sitesFatal error: Call to undefined function: mysql_connect() in /path/to/geeklog/system/databases/mysql.class.php on line 112somebody know where can be the problem or where I can find information can helpme to find the solu
Search Username Password Remember Me? Register Lost Password? facebook google twitter rss Free Web Developer Tools Advanced Search Forum Databases MySQL Help Fatal error: Call to undefined function mysql_connect() on WinXP Thread: Fatal error: Call to undefined function mysql_connect() on WinXP Share This Thread Tweet This + 1 this Post To Linkedin Subscribe to this Thread Subscribe to This Thread August 20th, 2004,06:55 PM #1 No Profile Picture neonlight View Profile View Forum Posts Registered User Devshed Newbie (0 - 499 posts) Join Date Aug 2004 Location miami Posts 3 Rep Power 0 Fatal error: Call to undefined function mysql_connect() on WinXP Hi, I recently just bought a copy of "php and mysql for dummies" to tried to setup a local server on my comp to practice my server side skills. The book had instructions on setting up and installing both softwares. I followed it thoroughly and test it too. The php test was fine. It showed up everything the book said. but the mysql test got a fatal error. 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 windows file. Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Group\Apache2\htdocs\mysql_up.php on line 10 From the searches I found on this error message, I assume it has to do with a bug or undetectable libraries from either the php or the mysql sides. I tried to abandon Apache and use IIS but the error still shows up. mysql_up.php is the test file the book mentioned to place it in the root folder. My setup is: Apache2: Server version: Apache/2.0.50 Server built: Jun 29 2004 16:59:19 PHP: php-5.0.1-Win32 MySQL: mysql-4.0.20d-win Operating on WinXP Pro. Please help Faq Reply With Quote August 20th, 2004,10:34 PM #2 No Profile Picture lnxgeek View Profile View Forum Posts I AM A GOLDEN GOD Devshed God 1st Plane (5500 - 5999 posts) Join Date Apr 2003 Location Camarillo, California Posts 5,929 Rep Power 1168 This is a PHP issue, please search the PHP forum for this problem, as it's been asked alot recently. Be aware that PHP 5 does not use the 'mysql' extension by default and you must enable it; please read the PHP manual section on installation on windows systems, specifically the section on Apache 2. Faq Reply With Quote September 7th, 2004,05:07 AM #3 No Profile Picture abhinav76 View Profile View Forum Posts R