fatal error call to undefined function mysql_connect wamp Hot Springs Virginia

Address 204 W Main St, Covington, VA 24426
Phone (540) 962-8433
Website Link
Hours

fatal error call to undefined function mysql_connect wamp Hot Springs, Virginia

share|improve this answer edited Oct 4 '14 at 23:07 answered Oct 4 '14 at 22:17 jagumon 214 It took me a while on windows before reading the comment for And also check the pads one more time... I modified php.ini (this ini file is located under the apache directory (c:\Progarms Files\Apache Group\Apache2) accordingly to what you mentioned above.... Thanks georgesteban22.

I've been fighting with this all week and tried several other "suggestions" from the web but yours was the one that worked. to restart IIS, open the IIS MMC, right click the local computer, goto all tasks, and click Restart IIS. Kategorie Wissenschaft & Technik Lizenz Standard-YouTube-Lizenz Mehr anzeigen Weniger anzeigen Autoplay Wenn Autoplay aktiviert ist, wird die Wiedergabe automatisch mit einem der aktuellen Videovorschläge fortgesetzt. I was able to import drupal database to mysql server, and I was also ran php from apache web server...

If the .dll is called upon, does it directly search a certain location? Copy this file to C:\Windows\System32. share|improve this answer edited Sep 18 '13 at 11:55 answered Sep 18 '13 at 11:40 Darius Miliauskas 1,1501129 add a comment| up vote -4 down vote i had the same problem I can use the MySQL Workbench to create schemas, tables, scripts, etc.

Log in or register to post comments The last thing that was liquidf commented July 1, 2008 at 8:59am The last thing that was missing for me was the following: Both Thanks btw, i ran phpinfo to verify mysql and it wasn't there Log in or register to post comments if phpinfo isn't showing coreyp_1 commented December 3, 2005 at 11:12pm if Although, they are all turned off, could that be the trouble?Any other possible issues?Options:Reply•QuoteRe: Fatal error: Call to undefined function mysql_connect() in C:\wamp\www\testmysql.php on line 2 Posted by: RiggsFolly (---.as13285.net)Date: May It worked for me Log in or register to post comments YOU ARE A ROCKSTAR aviralmsharma commented January 25, 2009 at 2:32pm Man...

I then uncommented: extension_dir="c:\php\ext" restarted IIS in the services again, and voila! 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 Also add the following line to your environmental variable. 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

If I'm not wrong, this method is used for IIS server. wish i had installed WAMP share|improve this answer answered Sep 7 '12 at 5:06 Drew 930713 add a comment| Your Answer draft saved draft discarded Sign up or log in In php's documentation, they stated that they have disabled mysql support by default. Copy C:\PHP\libmysql.dll and C:\PHP\ext\php_mysql.dll to the C:\%WIN%\system32 folder.

I’m a little clueless. Is an INI-DIST file the same as a .ini file? Not the answer you're looking for? PHP scripts work fine, including .

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 & Wird geladen... Wird geladen... I almost forgot.

Do they go in the /ext folder or the php folder? No problems. In C:\%WIN%\System32, is %WIN% a wildcard for whatever path goes from C to System32? I have tried to solve this issue by myself, however, I am at the point of spending too much time on this issue with no resolution.

Php.ini is supposed to go in System 32? Browse other questions tagged windows apache2 php-5.2 current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. once again you are amazing Log in or register to post comments Finally! Log in or register to post comments error mysql_connect() undefined function Ashish Gupta commented April 9, 2010 at 5:12am please send me complete solution that how can i connect php page

phpinfo will clearly explain the below: Configuration File (php.ini) Path C:\Windows Logical sense will explain that php wants to load a config located in the Windows dir. :-) share|improve this answer Melde dich an, um unangemessene Inhalte zu melden. Board index All times are UTC - 5 hours Powered by phpBB Forum Software © phpBB Group In your test.php file, type these 3 lines and then load the file in your Internet browser like http://localhost/test.php (you should get a whole long list of php variables, settings, etc):

anyone please? You can check if "php.ini" is read from the right directory. share|improve this answer edited Sep 18 '13 at 12:02 answered Sep 18 '13 at 11:36 Darius Miliauskas 1,1501129 thanks, that was it! Log in or register to post comments In php.ini is the problem and the solution loloyd commented November 17, 2005 at 8:03am I also encountered the same problem and sarched/browsed around

Incase it doesnt work Download connectors for php from mysql website.http://dev.mysql.co..nnector/c/ Unzip it. When I try to call function mysql_connect I get: fatal error: call to undefined function mysql_connect. i cannot stop praising you... :D God Bless you :) Log in or register to post comments Newbie questions & couldn't get solution to work ricem84 commented March 31, 2009 at 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).

I am running Windows 7 (Apache 2.2 & PHP 5.2.17 & MySQL 5.0.51a), the syntax in the file "httpd.conf" (C:\Program Files (x86)\Apache Software Foundation\Apache2.2\conf\httpd.conf) was sensitive to slashes. I read through the ...extensions.php manual and made the stated adjustments to the PHP.INI file with no luck either. You're a gem, thanks again so much for your perserverance figuring this out! Please refer to the section Installation of Extensions under Windows http://php.net/manual/en/install.windows.extensions.php share|improve this answer answered Aug 19 '12 at 12:38 Conrad Lotz 4,37911320 JLC007, Thanks for your prompt response.

Log in or register to post comments mystery php output ricem84 commented April 10, 2009 at 7:01pm georgestaban's technique worked, I think! Is having more than one copy of a .dll on the computer a detriment? Don't forget restart Apache before try again. Hinzufügen Möchtest du dieses Video später noch einmal ansehen?

Just type in your browser "localhost/index.php". Next, ensure that the files php_mysql.dll and libmysql.dll can be reached by php by modifying and uncommenting the line: extension_dir = "C:\php\ext\" to something more appropriate to your system. I forgot to use localhost. Please check your PHP configuration. DocumentationThis comes when i try to access "" PHPmyadmin" from the Wampserver localhost page.Advice?Options:Reply•QuoteRe: Fatal error: Call

In my case: doc_root = 'C:\Apache\htdocs' Scroll down about 7 more lines and change the extension_dir from extension_dir = './' to the location of the ext directory after you unzipped PHP. But, I recently got a new computer with all the latest and "greatest" updates and I've had nothing but heartache.