Fatal Error Call To Undefined Function Mysql_connect Windows
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 Us Learn more about
Fatal Error Call To Undefined Function Mysql_connect() Xampp
Stack Overflow the company Business Learn more about hiring developers or posting ads fatal error call to undefined function mysql_connect() in php with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow fatal error: uncaught error: call to undefined function mysql_connect() in xampp 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 18 down vote favorite 2 I
Call To Undefined Function Mysql_connect() Php
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 this problem? Output of phpinfo(): http://jsfiddle.net/MMTwA/ windows php share|improve this
Call To Undefined Function Mysql_select_db()
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 Providing the contents of might help. –Bryan Dec 18 '11 at 12:32 | show 6 more comm
using php5.2,mysql 4.1 If this is your first visit, be sure to check out the FAQ by clicking the link above. uncaught error: call to undefined function mysql_select_db() You may have to register before you can post: click the
Call To Undefined Function Mysql_connect() Php 7
register link above to proceed. To start viewing messages, select the forum that you want to visit from call to undefined function mysql_connect() codeigniter the selection below. 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() http://stackoverflow.com/questions/8551398/call-to-undefined-function-mysql-connect using php5.2,mysql 4.1 Tweet Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 02-08-2010,10:06 AM #1 thread_PHP View Profile View Forum Posts Senior Member Join Date Jan 2006 Posts 323 [RESOLVED] i am Fatal error: Call to undefined function mysql_connect() http://board.phpbuilder.com/showthread.php?10371200-RESOLVED-i-am-Fatal-error-Call-to-undefined-function-mysql_connect()-using-php5-2-mysql-4-1 using php5.2,mysql 4.1 hi all i am getting following error while i am using php 5.2.12 and mysql4.1 in windows Fatal error: Call to undefined function mysql_connect() please help me to solve my problem thanks in advance "Speak your truth quietly and clearly, and listen to others, even the dull and ignorant, they too have their story. " Reply With Quote 02-08-2010,10:25 AM #2 halojoy View Profile View Forum Posts Visit Homepage phpMaster Join Date Jun 2005 Location Europe Posts 2,992 Run a phpinfo() to see if the php_mysql extension module is loaded. If it is not, you should activate mysql extension. For example in php.ini: extension=php_mysql.dll PHP Code:
Apache2.4.18 (Win64) / PHP5.6.19 / MySQL5.7.11 / phpMyAdmin4.6.0 Reply With Quote 02-08-2010,02:23 PM #3 bradgrafelman View Profile View Forum Posts Visit Homepage Pna lbh ernq guvf¿ Join Date Jul 2004 Location Kansas City area Posts 19,435 Moved to Install forum. If enabling the "extesion=" line i
phpinfo();
?>
Call to undefined function mysql_connect().avi freehelpvideos SubscribeSubscribedUnsubscribe124124 Loading... Loading... Working... Add to Want to watch this again later? Sign in to add this video to a https://www.youtube.com/watch?v=e3y57I63gCw playlist. Sign in Share More Report Need to report the video? Sign in to report inappropriate content. Sign in Transcript Statistics 60,026 views 108 Like this video? Sign in to make your opinion count. Sign in 109 25 Don't like this video? Sign in to make your opinion count. Sign in 26 Loading... Loading... Transcript call to The interactive transcript could not be loaded. Loading... Loading... Rating is available when the video has been rented. This feature is not available right now. Please try again later. Published on Jun 16, 2012If you have received the dreaded "Fatal error Call to undefined function mysql_connect()", this video may help.Here is the text from the video:Fatal call to undefined error: Call to undefined function mysql_connect()php.iniC:\WINDOWSC:\WINDOWS\SYSTEM32extension_dir = "./"extension_dir = "C:\php\ext";extension=php_mysql.dllextension=php_mysql.dll Category Education License Standard YouTube License Show more Show less Loading... Advertisement Autoplay When autoplay is enabled, a suggested video will automatically play next. Up next Fatal error Call to undefined function mysql connect() - Duration: 3:01. thien nguyen 8,817 views 3:01 MySQL Performance Tuning: Part 1. Configuration (Covers MySQL 5.7) - Duration: 1:22:58. Speedemy 3,728 views 1:22:58 How to install Apache, MySql and PHP on Windows 10 - Duration: 17:56. Alessandro Castellani 58,170 views 17:56 Instalación PHP y MYSQL en Windows 7 - Duration: 20:11. visoalgt 48,517 views 20:11 MySQL Tutorial 1 - What is MySQL - Duration: 9:32. CalebTheVideoMaker2 188,180 views 9:32 how to connect php with sql server 2012/2014 with sample code and query - Duration: 10:50. Suroj Maharjan 62,832 views 10:50 MySQL Tutorial - Duration: 41:10. Derek Banas 660,898 views 41:10 How to install Mysql, PHP 5 and Apache 2.2 Web server - Duration: 43:25. 3dmasters 71,954 views 43:25 Unde