开发者

Set up PHP to work with MySQL on freeBSD? [closed]

Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

Improve this question

On 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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜