![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MySQL article - Sun and MySQL: How It Stacks Up for Developers | iBot | UNIX and Linux RSS News | 0 | 02-28-2008 08:20 PM |
| MySQL conflicts with mysql-3.23.58-16.RHEL3.1 | johnveslin | Linux | 2 | 07-17-2007 03:49 AM |
| mysql would not start: missing mysql.sock | xnightcrawl | UNIX for Advanced & Expert Users | 2 | 05-26-2006 07:06 AM |
| PHP-MySQL: POST issue | adrious | UNIX for Dummies Questions & Answers | 0 | 06-30-2004 09:36 AM |
| MySQL problem >> missing mysql.sock | _hp_ | UNIX for Advanced & Expert Users | 8 | 11-03-2002 11:44 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
mysql issue
I have a lot of files getting this on a new install of phpmysql 4.3.4
any ideas what would be causing this... Fatal error: Call to undefined function: mysql_connect() in /home/httpd/vhosts/ucandevelopments.com/httpdocs/includes/functions/database.php on line 19 |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Your PHP is not compiled with MySQL functions enabled. See if there are some RPM packages with the missing libraries. For example, php-mysql (I don't know the exact name)
|
|
#3
|
|||
|
|||
|
i did a search and my sql is on the server how do i enable it
|
|
#4
|
||||
|
||||
|
Mysql may be on the box, but is php compiled to use mysql?
If you look in your apache libexec directory (or whereever your php module is living (httpd.conf)) - do the following: dump -C libphp4.so | grep -i mysql If you don't see any mysql functions, your PHP wasn't compiled with mysql support (ie In PHP src directory (php-4.0.3pl1/) # ./configure --with-mysql \ --with-xml \ --enable-track-vars \ --with-apache=../apache_1.3.14 \ # make # make install Cheers, Keith |
|
#5
|
|||
|
|||
|
it is i got it working when i installed i was upgrading and forgot to remove the old php.ini so it was trying to use that as soon as i swithed and rebooted it worked
|
|||
| Google The UNIX and Linux Forums |