Re: PHP 5, Windows, and MySQL

From: Date: Tue, 27 Jun 2006 01:12:41 +0000
Subject: Re: PHP 5, Windows, and MySQL
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-238673@lists.php.net to get a copy of this message
I've got it running fine on my windows. Mysql 5.0.19 PHP 5.1.4 I just activate php_mysql.dll and php_mysqli.dll. Which versions of php and mysql are you using? ""Beauford"" <php-user@netscan.ca> escreveu na mensagem news:!&!AAAAAAAAAAAYAAAAAAAAAFzLTDhDwWBHpzgX5w1qDiPigAAAEAAAAJiz/MDHLf9FmsyyS18PJCcBAAAAAA==@netscan.ca... > Aside from my previous gd problems, here's another problem. It appears > that > PHP5 (for Windows anyways) does not support MySQL (which in itself is > riduculous), but here's my problem. I have a script I just downloaded that > works perfectly on Linux/Apche/MySQL/PHP5, but when I run it on Windows > 2000 > with PHP 4.4 I get a page full of errors. Lets forget about the errors, > does > anyone have any idea how to get PHP5 and MySQL to work on Windows. I have > already tried 100 different variations of things from information I found > searching out this problem, but maybe someone has a new idea. > > If it were me I'd just run this site on Linux, but this is for a friend > who > wants to use IIS. If your curious the errors are below. > > Thanks > > B > > Warning: mysql_numrows(): supplied argument is not a valid MySQL result > resource in G:\Websites\Webtest\caalogin\include\database.php on line 207 > > Warning: mysql_numrows(): supplied argument is not a valid MySQL result > resource in G:\Websites\Webtest\caalogin\include\database.php on line 218 > > Warning: session_start(): Cannot send session cookie - headers already > sent > by (output started at > G:\Websites\Webtest\caalogin\include\database.php:207) > in G:\Websites\Webtest\caalogin\include\session.php on line 46 > > Warning: session_start(): Cannot send session cache limiter - headers > already sent (output started at > G:\Websites\Webtest\caalogin\include\database.php:207) in > G:\Websites\Webtest\caalogin\include\session.php on line 46 > > Warning: mysql_numrows(): supplied argument is not a valid MySQL result > resource in G:\Websites\Webtest\caalogin\include\database.php on line 218 > > Warning: mysql_numrows(): supplied argument is not a valid MySQL result > resource in G:\Websites\Webtest\caalogin\include\database.php on line 207 > > Warning: mysql_numrows(): supplied argument is not a valid MySQL result > resource in G:\Websites\Webtest\caalogin\include\database.php on line 218

« previous php.general (#238673) next »