I'm not sure exactly what you're saying, but it sounds to me like you didn't configure --with-mysql for the new server. You MUST do that. ./configure --with-apxs=/blah/blah --with-mysql
If you don't have --with-mysql compiled into the php binary, mysql functions won't work. Tyler On Tue, 30 Jul 2002 09:34:04 +0100 "Mark Colvin" <[EMAIL PROTECTED]> wrote: > I have a development web server php 4.0.6 apache and mysql and > everything works OK. I installed the same software onto a new server > that will be the production server but I hit problems when my scripts > try and hit the db on the new server. Comparing the phpinfo details > for both, the new server does not have a mysql section it. I copied > the original php.ini onto the new server and restarted apache after > the installation. Where have I missed this in the installation process > and how should I resolve it? As an aside question, is there any > glaring issues I may encounter if I upgrade php to 4.2.2 from 4.0.6? > > > **************************************************** > This e-mail is intended for the recipient only and > may contain confidential information. If you are > not the intended recipient then you should reply > to the sender and take no further ation based > upon the content of the message. > Internet e-mails are not necessarily secure and > CCM Limited does not accept any responsibility > for changes made to this message. > Although checks have been made to ensure this > message and any attchments are free from viruses > the recipient should ensure that this is the case. > **************************************************** > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php