View Single Post
  #3   (View Single Post)  
Old 5th November 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

You don't need to manually add extensions to /usr/local/etc/php.ini, the ports system automaticlly adds extensions to /usr/local/etc/php/extensions.ini, you just need to restart your webserver and it works (You did restart your webserver, right?)

Quote:
I have uncommented the extension of mysqli in extension=php_mysqli.so.
I think you uncommented extension=php_mysql.dll, which is only for MS Windows systems.

You can check if the mysqli extension is loaded with this PHP code:
Code:
var_dump(extension_loaded('mysqli'));
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote