Re: [PHP-WIN] Re: PHP 4.4.0 with MySQL 4.1.13 on Win XP

2005-08-17 Thread Soheil Noori Bushehri
Thanks for your help. I beleive it was the point. I tried php 5.0.4 with mysql 4.1.13a on Windows XP running apache 2.0.54. Knowing the fact that mysql support is not enabled by default, and must be manually set in php.ini, it works fine with this new auth. hashing. On 8/17/05, Jon <[EMAIL PRO

[PHP-WIN] Re: PHP 4.4.0 with MySQL 4.1.13 on Win XP

2005-08-17 Thread Jon
You need to check the MySQL manual about the password hashing http://dev.mysql.com/doc/mysql/en/password-hashing.html and change to the old version of passwords as a workaround. I don't know if PHP5 supports the new authentication or not. "Soheil Noori Bushehri" <[EMAIL PROTECTED]> wrote in messa

[PHP-WIN] Re: MySQL and PHP

2005-08-17 Thread Jon
Well I ended up with a slightly different way to do it but it seems to work for me. Don't know if anyone else will find it useful but here is the code. //Use windows netstat to check for port 3306 (MySQL) //If it is not in the list then run MySQL exec ('netstat -a -n', $reply, $error); $reply = im

[PHP-WIN] WAMP Clustering

2005-08-17 Thread JM
Does anyone have any experience clustering this configuration? Windows, Apache, mySQL, and PHP? I'm doing research now and could use any info. TIA. John -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] MySQL and PHP

2005-08-17 Thread Soheil Noori Bushehri
you may also consider using $mysql = @mysql_connect(...); to get rid of the warning if it is on. On 8/17/05, Paul Menard <[EMAIL PROTECTED]> wrote: > Well you can start with the mysql_connect() call. If you are unable to > connection check the error > code. Then take action if needed. >

[PHP-WIN] PHP 4.4.0 with MySQL 4.1.13 on Win XP

2005-08-17 Thread Soheil Noori Bushehri
I have used php 4.3.7 with mysql 4.0.20d on windows xp running iis 5.1 as well as php 4.4.0 with mysql 4.1.13 on linux redhat 8.0 running apache 2.0.54 successfully. Now, I have encountered a problem on windows xp: php 4.4.0 (maunally-installed package) phpinfo works fine. mysql 4.1.13 os: windo

Re: [PHP-WIN] MySQL and PHP

2005-08-17 Thread Paul Menard
Well you can start with the mysql_connect() call. If you are unable to connection check the error code. Then take action if needed. --- Jon <[EMAIL PROTECTED]> wrote: > Is there some way to have PHP test if MySQL is running and if not make the > system call to start it? > > This is just an ME

[PHP-WIN] MySQL and PHP

2005-08-17 Thread Jon
Is there some way to have PHP test if MySQL is running and if not make the system call to start it? This is just an ME test machine but I would also like to know how on XP PRO cause I have another test machine available. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: ht

[PHP-WIN] Problem loading external php modules with 2003 Server SP1

2005-08-17 Thread Francis DELTEIL
I was wondering if anyone has encountered a problem on Windows Server 2003 Standard with SP1 and IIS 6.0. PHP 5.0.4 installs fine but trying to load any external modules causes Windows message "PHP Startup: Unable to load dynamic library 'c:\program files\php\ext\php_mysqli.dll' - access denied" an