Re: [PHP-WIN] PHP5 and MySQL

2005-04-15 Thread Janet Valade
JC Botha wrote: Ok, I did the phpinfo() and only the SQLlite is listed there, no MySQL is listed. I did enable the php_mysql.dll and set the windows path to c:\php. What else it there that I can look at. Thanks for all the links sent to me, I read them all and try to follow the instructions but som

Re: [PHP-WIN] PHP5 and MySQL

2005-04-15 Thread graeme
I don't use MySQL however, on my XP machine... The php.ini file is in the Windows directory. Open that file scroll down to a list of Windows extensions, you should find something as follows: ;extension=php_msql.dll ;extension=php_mysql.dll ;extension=php_oci8.dll Remove the semi-colon before the

Re: [PHP-WIN] PHP5 and MySQL

2005-04-15 Thread JC Botha
Ok, I did the phpinfo() and only the SQLlite is listed there, no MySQL is listed. I did enable the php_mysql.dll and set the windows path to c:\php. What else it there that I can look at. Thanks for all the links sent to me, I read them all and try to follow the instructions but some how I dont do

Re: [PHP-WIN] PHP5 and MySQL

2005-04-15 Thread Janet Valade
JC Botha wrote: This is the Browser error: Fatal error: Call to undefined function mysql_connect() in C:\apache\htdocs\cedarintranet\index.php on line 3 This error means that MySQL support is not enabled in your PHP. In PHP 4, this was done automatically. Now you need to enable it yourself when

RE: [PHP-WIN] PHP5 and MySQL

2005-04-15 Thread Wagner, Aaron
> -Original Message- > From: JC Botha [mailto:[EMAIL PROTECTED] > Sent: Friday, April 15, 2005 4:15 PM > Cc: php-windows@lists.php.net > Subject: Re: [PHP-WIN] PHP5 and MySQL > > Ok, here is some of the php.ini I would appreciate some help: > > > ; > ; Paths a

RE: [PHP-WIN] PHP5 and MySQL

2005-04-15 Thread Ordal, Peter
> -Original Message- > From: Wagner, Aaron [mailto:[EMAIL PROTECTED] > Sent: Friday, April 15, 2005 4:05 PM > To: JC Botha > Cc: php-windows@lists.php.net > Subject: RE: [PHP-WIN] PHP5 and MySQL > > > The windowz path needs to be set to c:\php > > Check these out also > http://us4.php.

Re: [PHP-WIN] PHP5 and MySQL

2005-04-15 Thread JC Botha
Ok, here is some of the php.ini I would appreciate some help: ; ; Paths and Directories ; ; ; UNIX: "/path1:/path2" ;include_path = ".:/php/includes" ; ; Windows: "\path1;\path2" include_path = "c:\php" ; The root of the PHP pages, used only if no

RE: [PHP-WIN] PHP5 and MySQL

2005-04-15 Thread Wagner, Aaron
> -Original Message- > From: JC Botha [mailto:[EMAIL PROTECTED] > Sent: Friday, April 15, 2005 3:49 PM > Cc: php-windows@lists.php.net > Subject: Re: [PHP-WIN] PHP5 and MySQL > > the "Path enviroment" is that the following in the php.ini = > include_path = "c:\php" > > But if the abov

Re: [PHP-WIN] PHP5 and MySQL

2005-04-15 Thread JC Botha
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

RE: [PHP-WIN] PHP5 and MySQL

2005-04-15 Thread Wagner, Aaron
> -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

Re: [PHP-WIN] PHP5 and MySQL

2005-04-15 Thread JC Botha
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] > > Se

RE: [PHP-WIN] PHP5 and MySQL

2005-04-15 Thread Wagner, Aaron
> -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\

Re: [PHP-WIN] PHP5 and MySQL

2005-04-15 Thread JC Botha
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) { ec

Re: [PHP-WIN] PHP5 and MySQL

2005-04-15 Thread Kevin Smith
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

[PHP-WIN] PHP5 and MySQL

2005-04-15 Thread JC Botha
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 -- PHP Windows Mailing List (http://

[PHP-WIN] Problem with pg_trace

2005-04-15 Thread Gene.Brumm
I'm not sure if this the place to ask for help, but I have tried the FAQ, Knowledge Base, etc. to no avail. I am using the Windows version 5.0.3 of PHP running on an XP workstation. I can't get the pg_trace function to work properly. Here is a code snip: $res = pg_trace("C:/PostgreSQLDevHndbk/tmp