开发者

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

开发者 https://www.devze.com 2023-03-24 11:45 出处:网络
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. 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

精彩评论

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