fatal error call to undefined function mysql_connect windows 7 Hurricane West Virginia

Computer Networking, Hardware Repair, Virus Removal, Data Recovery

Address 105 4th Ave, Saint Albans, WV 25177
Phone (304) 727-0375
Website Link http://scicomtech.net
Hours

fatal error call to undefined function mysql_connect windows 7 Hurricane, West Virginia

The code of index.php is the following: There is the row (not far from the top) called "Loaded Configuration File". Reply DropPhone 295 Posts MicrosoftModerator Re: PHP Fatal error: Call to undefined function mysql_connect() Mar 22, 2016 07:42 PM|DropPhone|LINK Onret I have the same problem (exept running on iis10 and have share|improve this answer answered Jul 14 '15 at 9:09 user198829 945 add a comment| up vote 0 down vote After change our php.ini, make sure to restart Apache web server. Speedemy 3,728 views 1:22:58 Connect to MySQL Database with PHP - Duration: 9:24.

Or Where are installing from? I have two hard drives, so I put libmysql.dll, php_mysql.dll, and php_mysqli.dll to C:\WINDOWS\system32\ F:\WINDOWS\system32\ F:\WINDOWS\system\ C:\php\ext\ then I added php_mysql.dll and php_mysql.dll to php.ini in both C:\WINDOWS\ and F:\WINDOWS\. ;extension=php_mbstring.dll share|improve this answer answered Dec 17 '13 at 5:24 user2980357 11 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign How do I explain that this is a terrible idea?

please bear with me, please...need a help. Yes I have MySQL installed though even if I hadn't I would still get "Undefined function...". What are Imperial officers wearing here? I will look at the link you posted, thanks –Nikolas Jíša Dec 18 '11 at 15:28 @NikolasJíša I added another possible solution to my answer.

Sign in to make your opinion count. But, it was really not the case. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Not the answer you're looking for?

You can check if "php.ini" is read from the right directory. dalecosp "God doesn't play dice." --- Einstein "Perl is hardly a paragon of beautiful syntax." --- Weedpacket Getting Help at All --- Collected Solutions to Common Problems --- Debugging 101 --- 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 Reply With Quote 02-01-2012,06:55 AM #9 Weedpacket View Profile View Forum Posts Pedantic Curmudgeon Join Date Aug 2002 Location General Contact Unit "Coping Mechanism" Posts 22,322 So did you read the

Just type in your browser "localhost/index.php". im a newbie in setting up php 5, apache and mysql. I installed MySQL 4.0 but uninstall it because I was not know how to until I was some learned. For example in php.ini: extension=php_mysql.dll PHP Code:
phpinfo
();

?>
Apache2.4.18 (Win64) / PHP5.6.19

This riddle could be extremely useful How to mount a disk image from the command line? My active hard drives: F:\. Just type in your browser "localhost/index.php". Bruno Mendes 27,185 views 3:31 How to solve mysql_connect(): Access denied for user 'root'@'localhost' (using password: YES) - Duration: 4:53.

It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party. need book id, written before 1996, it's about a teleport company that sends students learning to become colonists to another world How would they learn astronomy, those who don't see the This riddle could be extremely useful What is the most expensive item I could buy with £50? Sign in to make your opinion count.

MySQL and PHP are working together! The problem is the default extension_dir configuration value. I needed to change from PHPIniDir 'c:\PHP\' to PHPIniDir 'c:\PHP' Pay the attention that the last slash disturbed everything! Look in phpinfo() to see which file path is actually being used for php.ini... –Michael Berkowski Aug 31 '12 at 19:20 5 The mysql_* functions are deprecated, if you're developing

How would they learn astronomy, those who don't see the stars? Can Communism become a stable economic strategy? Is there any job that can't be automated? Join them; it only takes a minute: Sign up Fatal error: Call to undefined function mysql_connect() in C:\Apache\htdocs\test.php on line 2 up vote 6 down vote favorite 3 Fatal error: Call

Loading... I guess the last slash in the line extension_dir ="C:\php\ext\ could make troubles. Up next Fatal error Call to undefined function mysql connect() - Duration: 3:01. When I try to call function mysql_connect I get: fatal error: call to undefined function mysql_connect.

My CEO wants permanent access to every employee's emails. Search - Debugging 101 - Collected Solutions - General Guidelines - Getting help at all Reply With Quote 02-01-2012,11:49 AM #10 bradgrafelman View Profile View Forum Posts Visit Homepage Pna lbh 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. Truth in numbers Is there any job that can't be automated?

Bam. Sign in to report inappropriate content. Select PATH and click on Edit. FAQs!

Thank you. I suspect you might be editing the wrong php.ini file (there might be multiple copies). You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.""This happens when i If Dumbledore is the most powerful wizard (allegedly), why would he work at a glorified boarding school?

What's the most recent specific historical element that is common between Star Trek and the real world? Add to Want to watch this again later? Removing elements from an array that are in another array How do computers remember where they store things? So, if there is nothing added, then the problem could be that your "php.ini" is not read, even you uncommented (extension=php_mysql.dll and extension=php_mysqli.dll).

Unusual keyboard in a picture Sum of neighbours Is the mass of an individual star almost constant throughout its life? Top All times are GMT -4. Is intelligence the "natural" product of evolution? So, if there is nothing added, then the problem could be that your "php.ini" is not read, even you uncommented (extension=php_mysql.dll and extension=php_mysqli.dll).

So, in order to make it work I did the following step. New tech, old clothes How many answers does this question have? How much interest should I pay on a loan from a friend? 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

Why would a password requirement prohibit a number in the last character? your php.ini shows that BOTH should be loaded because this php.ini is correct ;extension=php_mime_magic.dll ;extension=php_ming.dll ;extension=php_msql.dll ;extension=php_mssql.dll extension=php_mysql.dll extension=php_mysqli.dll ;extension=php_oci8.dll ;extension=php_openssl.dll ;extension=php_pdo.dll ;extension=php_pdo_firebird.dll 3. 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