the "Path enviroment" is that the following in the php.ini = include_path = "c:\php"
But if the above is correct then it is not working either. this is the error that I get: Fatal error: Call to undefined function mysql_connect() in C:\apache\htdocs\cedarintranet\index.php on line 3 On 4/15/05, Wagner, Aaron <[EMAIL PROTECTED]> wrote: > > > > -----Original Message----- > > From: JC Botha [mailto:[EMAIL PROTECTED] > > Sent: Friday, April 15, 2005 3:13 PM > > Cc: php-windows@lists.php.net > > Subject: Re: [PHP-WIN] PHP5 and MySQL > > > > I did read that the direct support for MySQL was removed. PHP5 is no > > longer as supportive as PHP4 So I'm considering going back to PHP4 if > > none can help me. > > > > On 4/15/05, Wagner, Aaron <[EMAIL PROTECTED]> wrote: > > > > > > > > > > -----Original Message----- > > > > From: JC Botha [mailto:[EMAIL PROTECTED] > > > > Sent: Friday, April 15, 2005 3:01 PM > > > > Cc: php-windows@lists.php.net > > > > Subject: Re: [PHP-WIN] PHP5 and MySQL > > > > > > > > This is the Browser error: > > > > Fatal error: Call to undefined function mysql_connect() in > > > > C:\apache\htdocs\cedarintranet\index.php on line 3 > > > > > > > > This is my php code: > > > > // Connect to the database server > > > > $dbcnx = mysql_connect("localhost", "intranet", "1234"); > > > > if (!$dbcnx) { > > > > echo( "<P>Unable to connect to the " . > > > > "database server at this time. Please make > > > > use of the contact page.</P>" ); > > > > exit(); > > > > } > > > > > > > > // Select the database > > > > if ([EMAIL PROTECTED]("cedarintranet") ) { > > > > echo( "<P>Unable to connect to the " . > > > > "database server at this time. Please > > > > contact webmaster at > > > > [EMAIL PROTECTED]</P>" ); > > > > exit(); > > > > } > > > > > > > > > > > > On 4/15/05, Kevin Smith <[EMAIL PROTECTED]> wrote: > > > > > Perhaps posting you code will help us resolve your problem. > > > > > > > > > > JC Botha wrote: > > > > > > > > > > >Dear Users > > > > > > > > > > > >I'm havin a problem to connect to MySQL through the > > use of PHP5. I > > > > > >followed all documentation and none seem to resolve the > > > > problem. I'm > > > > > >running WinXP on the computer that I use to develop > > the apps. Any > > > > > >advice out there that could be of help. > > > > > > > > > > > >Thanks > > > > > > > > > > > > > > > > > > > > > > > > From Looking at the error.....it appears that mssql is not either > > > compiled in or tne module is not installed. > > > > > > Although, I thought that support for mysql was included in PHP since > > > ver4. > > > > > > aaron > > > > > Check this. It appears that he has the same issue as you. > > http://www.codecomments.com/archive229-2005-1-374037.html > > aaron > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php