Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

trouble getting php5 to work with mysql.. help needed

Status
Not open for further replies.

vjcyrano

Programmer
Dec 27, 2005
37
0
0
US
i have been working on perl so far..
wanted to give php5 a shot..

i am using ubuntu edgy eft..

i got mysql and apache2 and php working..

but when i try to use mysql_connect() in a php script..

it gives me an error

"Fatal error: Call to undefined function mysql_connect()"

I then did

sudo apt-get install php5-mysql



i see

/usr/lib/php5/mysql.so and mysqli.so


i have installed php5 in

/usr/local/php

and apache2 resides
on

/usr/local/apache2


can someone point me in the right direction...


thanks..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top