fatal error call to undefined function mysql_connect ubuntu server Jet Oklahoma

Address 909 N Cleveland St, Enid, OK 73703
Phone (580) 233-1632
Website Link
Hours

fatal error call to undefined function mysql_connect ubuntu server Jet, Oklahoma

What's the most recent specific historical element that is common between Star Trek and the real world? Check your Apache error logs and restart the server. Thanks anyway though. –Cheddar Mar 11 '13 at 19:52 5 restarting the mysql server won't alter what goes on with the client libraries –James C Mar 11 '13 at 20:09 The latter would be preferred –Machavity Jun 18 '14 at 16:24 2 msqli.so is not a valid extension filename.

share|improve this answer edited Jul 3 '13 at 7:39 answered Jul 3 '13 at 7:34 Rudra 166138 add a comment| Not the answer you're looking for? The time now is 03:54 PM. How do computers remember where they store things? I will look into it but I would really like to get this working first as it worked previously until I moved to a new server. –user1765369 Dec 11 '12 at

I thought that PHP was configured/compiled to work with MySQL, but when I try to load any PHP web page which makes a MySQL call then I get the above noted sudo apt-get install php5-mysql It resolved my CodeIgniter 3.0 mysqli connection valid. You may also need to uncomment the extension=php_pdo_mysql.dll and the extension=php_mysqli.dll lines as well. Not the answer you're looking for?

This is the code for it:"; ?>Originally it displayed everything fine but once I made the switch it displayed this error: Topics: Active | Unanswered Index »Networking, Server, and Protection »[SOLVED]Call to undefined function mysql_connect() Pages: 1 #1 2012-11-06 02:24:52 xworld Member Registered: 2012-05-27 Posts: 153 [SOLVED]Call to undefined function mysql_connect() Hi. Ask Ubuntu works best with JavaScript enabled Arch Linux HomePackagesForumsWikiBugsAURDownload Index Rules Search Register Login You are not logged in. enjoys eating up stuff.

If so I'm willing to fix it. How? I've also tried un-commenting "extension=mysql.so" in php.ini, but PHP then complains with "PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysql.so'." (even though the module does reside there). Is the NHS wrong about passwords? (KevinC's) Triangular DeciDigits Sequence What does かぎのあるヱ mean?

Is intelligence the "natural" product of evolution? Can Dandelion defeat you? (KevinC's) Triangular DeciDigits Sequence more hot questions question feed lang-php about us tour help blog chat data legal privacy policy work here advertising info mobile contact us Removing elements from an array that are in another array Appease Your Google Overlords: Draw the "G" Logo Digital Diversity Can an ATCo refuse to give service to an aircraft based You might also need to configure the extension_dir variable.

In the United States is racial, ethnic, or national preference an acceptable hiring practice for departments or companies in some situations? Is the NHS wrong about passwords? Hope this helps. Is accuracy a binary?

After installing the package it is working fine with mysqli adapter. Sum of neighbours more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture Not the answer you're looking for? PHP Fatal error: Call to undefined function mysql_connect() I am using IIS8.0 with PHP 5.3, the problem is ONLY on one page and I have tried everything that has come to

Fatal error: Call to undefined function mysql_connect() in /var/www/html/Typit/Login.php on line 24 –user294159 Jun 16 '14 at 21:25 Did you restart apache in the server after installing it?askubuntu.com/questions/6358/how-do-you-restart-apache –Parto The answer here may help. I don't mind having to re-install PHP if I really have to, if somebody can demonstrate the proper way to configure/compile with MySQL support, so that I can get it to more hot questions about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science Other Stack

php mysql apache share|improve this question edited Mar 11 '13 at 22:02 asked Mar 11 '13 at 19:10 Cheddar 94115 are you sure this is the module you need? Fix Verify that your installation of PHP has been compiled with mysql support. Join them; it only takes a minute: Sign up Ubuntu PHP Fatal error: Call to undefined function mysqli_connect() in.. I configured Apache to read my .php pages from /home/user/code/php instead of /srv/http.

Ubuntu Logo, Ubuntu and Canonical Canonical Ltd. I had the same error message. All rights reserved. This will install the RPM for RedHat 9.0.

I reinstalled the other packages which got removed when I removed php5-common with the following command sudo apt-get install php5-cli sudo apt-get install php5 libapache2-mod-php5 sudo apt-get install php5-mysql and restarted UPDATE Since this answer still gets the occasional click I am going to update it to include PHP 7. Browse other questions tagged server apache2 mysql php or ask your own question. How do I say "Thank you, Captain Obvious?" If Dumbledore is the most powerful wizard (allegedly), why would he work at a glorified boarding school?

Do they work? –samayo Dec 11 '12 at 17:16 Perhaps not, as I have tried entering incorrect user/pass and my 'or die' statement is not showing! –user1765369 Dec 11 Check if the php-mysql package is installed by opening a terminal window (bash), and typing, rpm-qa|grepphp. After starting the MySQL and Apache services through the service manager, you write a simple test php page to access the MySQL database. I have also made sure thatextension=mysqli.so extension=mysql.soAre both uncommented in /etc/php/php.ini Last edited by xworld (2012-11-08 00:48:14) Offline #2 2012-11-06 13:45:51 yaffare Member Registered: 2011-12-29 Posts: 71 Re: [SOLVED]Call to undefined