Join them; it only takes a minute: Sign up PHP Fatal error: Call to undefined function mysql_connect() in IIS up vote 3 down vote favorite The same code works in Xampp. The following changes were made to the httdp.config: AddHandler server-parsed .shtml LoadModule php5_module "C:/Program Files/Apache Group/PhP51/php5apache2.dll" AddType application/x-httpd-php .php # configure the path to php.ini PHPIniDir "C:/Program Files/Apache Group/PhP51" DirectoryIndex index.shtml Does anyone know how to solve this problem? If neither of those solves your problem, let us know. click site
I'm sure we are not the only people experiencing this problem. Log in or register to post comments reinstallation ricem84 commented April 10, 2009 at 7:49pm Searching on the net, there aren't that many people who have this problem. whats the major problem???? [email protected] commented September 29, 2009 at 3:09am Wowwwwwww......... More Help
It seems simple enough, im sure its a small error somewhere. To start viewing messages, select the forum that you want to visit from the selection below. From others experiences, I gathered that the problem lies in my failure to properly configure php.
anyone please? Call To Undefined Function Mysql_connect() Windows Any advice at all would be greatly appreciated.B Ryan Aug 8, 2005,16:13 #2 zfade3 View Profile View Forum Posts SitePoint Enthusiast Join Date Jul 2005 Location Endor Posts 78 Mentioned 0 May 9, 2006,21:57 #12 wraithdragon View Profile View Forum Posts SitePoint Member Join Date Jan 2006 Posts 8 Mentioned 0 Post(s) Tagged 0 Thread(s) Originally Posted by trusley_mike Yippee! I was able to import drupal database to mysql server, and I was also ran php from apache web server...
I will try and get them updated to 4.6 in the next week or two, but don't hold your breath (work deadlines and my son's two year old birthday are looming Fatal Error: Uncaught Error: Call To Undefined Function Mysql_connect() Xampp Browse other questions tagged php mysql iis iis-7 or ask your own question. I have checked and double checked the page sintaxis and still doesn't work. ¿any ideas? cheers Log in or register to post comments basics sepeck commented May 13, 2005 at 10:44pm telnet to localhost 3306 to see if you get a response.
After much grovelling about I found I had been STUPID - php.ini should have been in c:\php NOT c:\windows. From FAQ and web comments I have checked that: 1) c:\php is on the system PATH 2) libmysql.dll is in c:\php (This is the only active copy of the .DLL on Call To Undefined Function Mysql_connect() Xampp Here is another tutorial for installing Php5 in XP and Apache. -------------------------------------------------------------------- Log in or register to post comments PHP installation for dummies sunnybaba commented June 14, 2005 at 6:50am An Call To Undefined Function Mysql_connect() In Php Fill in the Minesweeper clues I have a new guy joining the group.
I would actually suggest looking at PDO instead of MySQLi too. http://back2cloud.com/call-to/php-5-2-fatal-error-call-to-undefined-function-mysql-connect.php asked 5 years ago viewed 6664 times active 3 years ago Get the weekly newsletter! If you get stuck you can get support by emailing [email protected] If this is your first visit, be sure to check out the FAQ by clicking the link above. to restart IIS, open the IIS MMC, right click the local computer, goto all tasks, and click Restart IIS. Call To Undefined Function Mysql_pconnect() Codeigniter
printf Aug 10, 2005,04:16 #7 Dillio View Profile View Forum Posts SitePoint Member Join Date Aug 2005 Posts 5 Mentioned 0 Post(s) Tagged 0 Thread(s) Thanks for all the feedback! you are a genius... you should live happily ever after! http://back2cloud.com/call-to/php-fatal-error-call-to-undefined-function-mysql-connect-iis-7.php The produced html code is:
enabled by removing the ";" at the start of the line) MySQL does not show up in phpinfo. Fatal Error: Call To Undefined Function Mysql_select_db() FAQs! Delete any instance of php_mysql.dll that is not in the C:\PHP directory.
In the php.ini-dist file, E_ALL is modified by ~E_NOTICE but the display_errors is set to "on". Is there any other way to diagnose my problem if trying what was mentioned to work doesn’t work? Why did they bring C3PO to Jabba's palace and other dangerous missions? Call To Undefined Function Mysql_connect() Linux Log in or register to post comments well...
Is it illegal to DDoS a phishing page? Where do libmysql.dll and php_mysql.dll go – the instances you don’t delete? yup, I did before and tried everything before I posted my message here. Back to top #6 Mchl Mchl Advanced Member Staff Alumni 8,507 posts LocationHigh Memory Area Posted 21 March 2009 - 07:44 PM The function is called mysql_connect not msql_connect NetBeans fanatic
SitePoint Sponsor User Tag List Results 1 to 12 of 12 Thread: Fatal error : Call to undefined function mysql connect() Thread Tools Show Printable Version Subscribe to this Thread… Display Should I tell potential employers I'm job searching because I'm engaged? Thank you. If I'm not wrong, this method is used for IIS server.
Log in or register to post comments Reason for error is required tweaking and missing DLL files sunnybaba commented June 14, 2005 at 6:32am The reason it happens is because PHP5 Log in or register to post comments Please help...