Set up PHP to work with MySQL on freeBSD? [closed]
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this questionOn my freeBSD machine i installed both php5 and mysql. Both work great independent of eachother, but not together. For example ,when running a simple mysql_connect
, it says 'undefined function'
Also, on the PHP info page, theres nothing concerning MySQL.
I'm thinking theres an extra step to the ph开发者_Go百科p installation to make it work with MySQL.
Any suggestions?
Got it.
sudo portinstall databases/php5-mysql
精彩评论