Home > Php Fatal > Php Fatal Error Call To Undefined Function Mysql_connect Windows

Php Fatal Error Call To Undefined Function Mysql_connect Windows

No problems. coreyp_1 commented December 5, 2005 at 6:18am no, I'm running apache. localhost() for PHP and it is working well. Not the answer you're looking for? navigate here

I read somewhere (after hours of searching for answers) that if one does not see MSQL in the page from PHPInfo that something is installed incorrectly? The mysql_* functions are deprecated. 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 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. have a peek here

In it, you'll get: The week's top questions and answers Important community announcements Questions that need answers see an example newsletter By subscribing, you agree to the privacy policy and terms Thanks georgesteban22. im a newbie in setting up php 5, apache and mysql.

I installed both of them. 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 Reply With Quote 02-02-2012,12:53 AM #12 php5Newbie View Profile View Forum Posts Junior Member Join Date Feb 2012 Posts 3 Originally Posted by bradgrafelman More specifically, I don't see any mention please bear with me, please...need a help.

I needed to change from PHPIniDir 'c:\PHP\' to PHPIniDir 'c:\PHP' Pay the attention that the last slash disturbed everything! asked 4 years ago viewed 97421 times active 1 month ago Get the weekly newsletter! 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... you must turn on mysql in your php.ini file, just as the previous post stated.

trantt commented December 5, 2005 at 5:06am I tried this before (copy php.ini to c:\windows and php_mysql.dll and libmysql.dll to c:\windows\System32) and it failed as well. So, in order to make it work I did the following step. Ludovic Gautier 1.653 προβολές 6:53 Φόρτωση περισσότερων προτάσεων… Εμφάνιση περισσότερων Φόρτωση... Σε λειτουργία... Γλώσσα: Ελληνικά Τοποθεσία περιεχομένου: Ελλάδα Λειτουργία περιορισμένης πρόσβασης: Ανενεργή Ιστορικό Βοήθεια Φόρτωση... Φόρτωση... Φόρτωση... Σχετικά με Τύπος Πνευματικά You can check if "php.ini" is read from the right directory.

thanks buddy!! http://board.phpbuilder.com/showthread.php?10371200-RESOLVED-i-am-Fatal-error-Call-to-undefined-function-mysql_connect()-using-php5-2-mysql-4-1 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 my email : [email protected] Log in or register to post comments News itemsDrupal news Planet Drupal Association news Social media directory Security announcements Jobs Our communityCommunity Getting involved Services, Training & Why are php connect to mysql are not work well?

Select PATH and click on Edit. check over here ITeachGeek 34.155 προβολές 11:22 Fixing Wordpress Fatal Error Problem - Διάρκεια: 5:10. mysql mssql_connect php Reply DropPhone 297 Posts MicrosoftModerator Re: PHP Fatal error: Call to undefined function mysql_connect() Jan 26, 2015 05:44 PM|DropPhone|LINK Just checking: is the extension=php_mysql.dll enabled inyour php.ini file? What is the main spoken language in Kiev: Ukrainian or Russian?

I almost forgot. 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 Do I need to do this? his comment is here I have re-installed as suggested to no avail.

Log in or register to post comments well... For example in php.ini: extension=php_mysql.dll PHP Code:
phpinfo
();

?>
Apache2.4.18 (Win64) / PHP5.6.19 I haven't customized Apache.

powered by phorum Content reproduced on this site is the property of the respective copyright holders.

Or Where are installing from? N(e(s(t))) a string What is the possible impact of dirtyc0w a.k.a. "dirty cow" bug? Would there be no time in a universe with only light? You would be getting libmysql.dll file .

sort command : -g versus -n flag What game is this picture showing a character wearing a red bird costume from? Log in or register to post comments PHP.ini mgdoyle commented May 2, 2008 at 9:51pm Make sure that the php.ini is only in C:\Windows and not in your php root directory Where do libmysql.dll and php_mysql.dll go – the instances you don’t delete? weblink asked 4 years ago viewed 13617 times active 23 days ago Visit Chat Related 0Call to undefined function mysql_connect()2Undefined function mysql_connect() error0Fatal error: Call to undefined function date_parse_from_format()18Call to undefined function

If enabling the "extesion=" line in your php.ini file doesn't work, read over the FAQ stickied at the top of this forum (specifically, the post entitled "2. 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 Suroj Maharjan 63.667 προβολές 10:50 PHP Lesson 32 - Connecting to MySQL From PHP - Διάρκεια: 8:05. I solved it the following way after a number of attempts to follow the pieces of advice in the forums.

Yes I have MySQL installed though even if I hadn't I would still get "Undefined function...". Just type in your browser "localhost/index.php". so, the problem occur when i try to launch the index.php Fatal error: Call to undefined function mysql_connect() in C:\Drupal\drupal-4.6.2\includes\database.mysql.inc on line 31 this msg came out. C:\your-apache-path\bin; C:\your-php-path\bin;C:\your-mysql-path\bin If you are in Windows, right click My Computer, select properties, and navigate to the Advanced tab... (is Windows7).

Have you done that? (If not, if you don't know, my FAQ entry here talks about this towards the end of the post.) EDIT: Possibly even more important would be the I was tested PHP in Apache successfully but PHP is not work with MySQL. I will continue to look...but certainly would appreciate any further help as I don't claim to have all or even a portion of the answers. –Terry Aug 19 '12 at 15:20 Does that mean the solution mentioned isn't right for me?

Kindest regards, Terry share|improve this answer answered Aug 21 '12 at 11:25 Terry 6112 add a comment| up vote 0 down vote I had a similar problem.