fatal error call to undefined function mysql_connect php linux Horn Lake Mississippi

PC Doctor has been serving the people of Southaven and its surrounding areas since 1997, and we've got the high level of experience that you expect. Locally owned and operated, we go out of our way to offer our customers dependable computer service that fits their needs and works within their budget. Find out how we can enhance your experience on and offline by calling us today to make an appointment.

Address 7075 Malco Blvd Ste 103, Southaven, MS 38671
Phone (662) 349-0135
Website Link http://www.pcdoctorit.com
Hours

fatal error call to undefined function mysql_connect php linux Horn Lake, Mississippi

But then I'm not entirely certain whether that line is required to be un-commented or not. [correction: the error stated was actually due to a typo, but running from the command It must be installed separately by downloading the php-mysql RPM. Is there a role with more responsibility? (KevinC's) Triangular DeciDigits Sequence Developing web applications for long lifespan (20+ years) Does it matter which side up a seed is planted? Want to know which application is best for the job?

share|improve this answer answered Sep 6 '15 at 20:49 P Magunia 5051719 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google 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 Code: zebra966:~# apt-get install php5-cli Reading package lists... Offline #7 2012-03-22 21:26:23 clandest Member Registered: 2012-03-16 Posts: 22 Re: getting Fatal error: Call to undefined function mysql_connect() error.

Make space between rows constant How much interest should I pay on a loan from a friend? Transform an array to another array by shifting value to adjacent element (KevinC's) Triangular DeciDigits Sequence What does かぎのあるヱ mean? Verify that the line to load the extension in php.ini has been uncommented. How To Fix Errors ? 1,561 views 1:11 Fatal error: Call to undefined function mysql_connect() in in xampp php school - Duration: 1:18.

Sign in 27,755 views 16 Like this video? Are you new to LinuxQuestions.org? Related 1What caused this “Call to undefined function mysql_connect()” error in PHP?1Call to undefined function mysql_connect() after upgrading to php5.5.50A40Call to undefined function mysql_connect()2undefined function mysql_connect() in php0Call to undefined function You could could also just make a symlink, with something like "ln -s /etc/php5/apache2 /etc/php5/cli" so the config will be the same no matter what. 1 members found this post

I will really appreciate your help. –valbu17 Nov 1 '13 at 2:25 You have two PHP binaries on your machine. It obviously has something to do with the fact that I temporarily changed the Document_root for user http.EDIT: I don't suppose I could do something so simple as reinstalling could I?UPDATE: You were quite helpful, thanks a lot bulletproof.rs View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by bulletproof.rs Thread Tools Show Printable I have checked and double checked the page sintaxis and still doesn't work. ¿any ideas?

bulletproof.rs View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by bulletproof.rs 06-15-2011, 06:23 AM #4 Guttorm Senior Member Registered: Dec 2003 Location: Pages: 1 #1 2012-03-22 04:31:04 clandest Member Registered: 2012-03-16 Posts: 22 getting Fatal error: Call to undefined function mysql_connect() error. Up until this point I have had mysql, php, and apache up and running just fine. myhost.domain.com:3306) and you probably don't allow to connect to database that way (which is good, unless you need to allow 'outside' connections) good luck lithos View Public Profile View LQ

Physically locating the server Books for chess traps Logical fallacy: X is bad, Y is worse, thus X is not bad Is it possible to have a planet unsuitable for agriculture? Sign in Share More Report Need to report the video? Offline #5 2012-03-22 17:52:19 clandest Member Registered: 2012-03-16 Posts: 22 Re: getting Fatal error: Call to undefined function mysql_connect() error. Then just delete the file /etc/php5/apache2/conf.d/pdo.ini and it won't complain anymore. 1 members found this post helpful.

Hot Network Questions Why is it a bad idea for management to have constant access to every employee's inbox? What i have noticed, that even though mysql shows up in phpinfo, it doesn't show up as a module listed in 'php -m' Thanks in advance. Create a test web page containing and load it in your browser. more hot questions question feed default about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation

Going to be away for 4 months, should we turn off the refrigerator or leave it on with water inside? Is there a place in academia for someone who compulsively solves every problem on their own? Close Yeah, keep it Undo Close This video is unavailable. Uncomment the line by removing the semi-colon.

There are MYSQLi and PDO libs to connect mysql.. 2-3 years was the period for moving all old apps into the new None MYSQL way.. –Svetlio Dec 4 '15 at 12:26 One u use when in command line (cli =command line interface) and is a completely separate PHP). in the phpinfo() output you have the details on where to find the php.ini file, and where is the extension directory. And as for php -i it issues some kind of config but i can't view it entirely because of putty limitations Code: http://pastebin.com/uHsMZPGc Any ideas?

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 If you don't see it, you need to recompile PHP with MySQL support, or reinstall a PHP package that has it built-in, both of which are beyond the scope of this The information may be incorrect. I was still using mysql_*.

By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. more hot questions question feed default about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation A better way to evaluate a certain determinant Does chilli get milder with cooking? Can an ATCo refuse to give service to an aircraft based on moral grounds?

Sign In Join Search IIS Home Downloads Learn Reference Solutions Technologies .NET Framework ASP.NET PHP Media Windows Server SQL Server Web App Gallery Microsoft Azure Tools Visual Studio Expression Studio Windows Search the page for MySQL. If you don't see it, make a note of the exact version of PHP that is installed. Search the page for MySQL.

BuildAWebsiteTonight 322 views 6:14 Loading more suggestions... Post your question in this forum. pdo, etc), but phpinfo() shows it compiled without (... '--without-mysql' '--without-gd' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' ... http://pastebin.com/dKKdwWTb I am not too sure what else I can do about, just in case I have added the link for paste bin for my php.ini file http://pastebin.com/QNK6mGqV Well, I hope

And as for the output of php -i Code: phpinfo() PHP Version => 5.3.3-7+squeeze1 System => Linux zebra966.startdedicated.com 2.6.32-5-amd64 #1 SMP Wed May 18 23$ Build Date => Mar 18 2011 You can do this with one of the following commands, apachectlrestart or /etc/rc.d/init.d/httpdrestart. How to deal with players rejecting the question premise Sum of neighbours How many answers does this question have? I have installed LAMP server using the apt-get (installed following packages: apache2 php5 libapache2-mod-php5 mysql-server mysql-client php5-mysql phpmyadmin) everything so far works great.

Join our community today! Create a test web page containing and load it in your browser. More here: http://php.net/manual/en/function.mysql-connect.php share|improve this answer answered Mar 16 at 8:25 argoden 847 add a comment| up vote 0 down vote My solution is here (I needed just to remove the I searched for it under C:\windows\system32 (windows 7) and could not find, so I downloaded it here and placed it in my C:\windows\system32.

Loading... Show more Language: English Content location: United States Restricted Mode: Off History Help Loading... Having a problem logging in? Why would a password requirement prohibit a number in the last character?