I have installed a copy of the MMP on my MacBook so that I can run my php / mysql based website locally.
The MAMP package works fine but I need a pair MDB2 package.
I did the following to set up
Install pears MDB2 pear set MDB2_Driver_mysql pear channel-update pear.php.net
All apparently worked and if I try again, then they are already installed.
The path set in php.ini also looks correct:
include_path = ".: Even after trying to restart the server and kill my site, Also receives . Fatal error: need_once () [function.require]: // 'Mdb2.php' required to open MAMP / htdocs (include_path = '.: / Applications / MAMP / bin / php5.3 / lib / php ') /config.php on line 5
is the root directory for / application / MAMP / bin /php5.3/lib/php
peer? It does not speak right command < Run the code> pear config-get php_dir , it'll tell you where the peer root directory (despite the misleading configuration name) is. Default is / usr / share / pear
.
Comments
Post a Comment