fatal error call to undefined function mysql_connect in ubuntu Hyattville Wyoming

Address 639 N 10th St, Worland, WY 82401
Phone (307) 347-4911
Website Link http://www.bentchmark.com
Hours

fatal error call to undefined function mysql_connect in ubuntu Hyattville, Wyoming

You can check for complete instructions at http://php.net/manual/en/mysql.installation.php. I had the same error message. Instead, the MySQLi or PDO_MySQL extension should be used. Does the file /usr/lib/php/modules/mysql.so exist?If so apache must be using a different php.ini than /etc/php/php.ini.

msql.so? 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 turns out I was using the msql_connect() function instead of mysql_connect(). What are Imperial officers wearing here?

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? What's the most recent specific historical element that is common between Star Trek and the real world? What is the most expensive item I could buy with £50? Results 1 to 6 of 6 Thread: Fatal error: Call to undefined function mysql_connect() in /var/www/welcome.php on li Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch

How to obtain the mean for a normal distribution given its quartiles? 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? What does a well diversified self-managed investment portfolio look like? Source: http://www.php.net//manual/en/function.mysql-connect.php share|improve this answer answered Jun 16 '14 at 21:37 Parto 6,577164080 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using

Is there a place in academia for someone who compulsively solves every problem on their own? Near Earth vs Newtonian gravitational potential 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 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 Going to be away for 4 months, should we turn off the refrigerator or leave it on with water inside?

server apache2 mysql php share|improve this question edited Jun 16 '14 at 21:04 Parto 6,577164080 asked Jun 16 '14 at 20:58 user294159 911 Did you change your $host variable Can Communism become a stable economic strategy? 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 Offline #5 2012-11-06 23:11:34 xworld Member Registered: 2012-05-27 Posts: 153 Re: [SOLVED]Call to undefined function mysql_connect() Relentlessly...I will check phpinfo() more.

Search the page for MySQL. Note: Apache, PHP and MySQL works fines because all my web pages are in PHP. 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've been trying on and off for months to solve this problem, and seem to have tried everything, but nothing seems to work.

I configured Apache to read my .php pages from /home/user/code/php instead of /srv/http. 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 On my laptop, using xampp to write and read from the database on the server works perfectly fine using PHP, but when the same code on the server is ran nothing current community blog chat Server Fault Meta Server Fault your communities Sign up or log in to customize your list.

If thats not possible, I created a small include file, that recreates the old functions with mysqli_*()-functions: fix_mysql.inc.php share|improve this answer answered Jun 17 at 9:15 rubo77 4,48273999 add a comment| Alternatives to this function include: * mysqli_connect() * PDO::__construct() share|improve this answer answered Apr 22 at 19:42 Tim Penner 2,629830 add a comment| up vote 1 down vote I had this Not the answer you're looking for? Removing elements from an array that are in another array How do I help minimize interruptions during group meetings as a student?

Adv Reply March 25th, 2011 #4 MattPhillips View Profile View Forum Posts Private Message Just Give Me the Beans! Books for chess traps "Rollbacked" or "rolled back" the edit? Browse other questions tagged php mysql linux or ask your own question. EvenSt-ring C ode - g ol!f Near Earth vs Newtonian gravitational potential Can a Legendary monster ignore a diviner's Portent and choose to pass the save anyway?

Browse other questions tagged php mysql apache or ask your own question. 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 Cyberpunk story: Black samurai, skateboarding courier, Mafia selling pizza and Sumerian goddess as a computer virus Pronuncia strana della "s" dopo una "r": un fenomeno romano o di tutta l'Italia? giving hollow objects a thickness Does chilli get milder with cooking?

Hope this helps. Truth in numbers How to handle a senior developer diva who seems unaware that his skills are obsolete? Isn't that more expensive than an elevated system? Create a test web page containing and load it in your browser.

Offline #4 2012-11-06 22:04:43 yaffare Member Registered: 2011-12-29 Posts: 71 Re: [SOLVED]Call to undefined function mysql_connect() this may be stupid, but did you restart the webserver, after changing php.ini?otherwise search for If a post is older than a year or so and hasn't had a new reply in that time, instead of replying to it, create a new thread. Join Date Oct 2008 Beans 57 DistroUbuntu Karmic Koala (testing) Re: Fatal error: Call to undefined function mysql_connect() in /var/www/welcome.php o Originally Posted by piyush.neo i am using ubuntu 9.10 with How many answers does this question have?

Are independent variables really independent? "Rollbacked" or "rolled back" the edit?