[Bug 30935] update.php fails with fatal PHP error

2011-09-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30935

--- Comment #7 from Dmitriy Sintsov c...@uniyar.ac.ru 2011-09-18 06:18:03 UTC 
---
There is only one ini-file being loaded:

c:\tempphp --ini
Configuration File (php.ini) Path: C:\Windows
Loaded Configuration File: C:\lamp\php\php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed:  (none)

Now a grepped part from php -i output:
mysql

MySQL Support = enabled
Active Persistent Links = 0
Active Links = 0
Client API version = mysqlnd 5.0.7-dev - 091210 - $Revision: 300533 $

Directive = Local Value = Master Value
mysql.allow_local_infile = On = On
mysql.allow_persistent = Off = Off
mysql.connect_timeout = 60 = 60
mysql.default_host = no value = no value
mysql.default_password = no value = no value
mysql.default_port = 3306 = 3306
mysql.default_socket = no value = no value
mysql.default_user = no value = no value
mysql.max_links = Unlimited = Unlimited
mysql.max_persistent = Unlimited = Unlimited
mysql.trace_mode = Off = Off 

It uses mysqlnd, as Chad correctly guessed.
phpinfo() in SAPI mode also shows mysql module provided via mysqlnd
mysqlnd 5.0.7-dev - 091210 - $Revision: 300533 $ 
the same version.

However, in SAPI mode it works, while in CLI mode it fails with beforementioned
message about non-existent mysql module.

Looks like bug in PHP 5.3.3. to me.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 30935] update.php fails with fatal PHP error

2011-09-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30935

--- Comment #8 from Dmitriy Sintsov c...@uniyar.ac.ru 2011-09-18 06:22:01 UTC 
---
There are two php.ini, C:\lamp\php\php.ini and a copy c:\windows\php.ini;
however they are exact match (the same).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 30935] update.php fails with fatal PHP error

2011-09-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30935

Dmitriy Sintsov c...@uniyar.ac.ru changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #9 from Dmitriy Sintsov c...@uniyar.ac.ru 2011-09-18 06:24:51 UTC 
---
I've deleted C:\lamp\php\php.ini and now it works with mysql functions in CLI
mode. The only mystery is, why did it fail, because ini files were binary
match. Sorry for taking your time.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 30935] update.php fails with fatal PHP error

2011-09-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30935

Max Semenik maxsem.w...@gmail.com changed:

   What|Removed |Added

 Resolution|FIXED   |INVALID

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 30935] update.php fails with fatal PHP error

2011-09-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30935

Max Semenik maxsem.w...@gmail.com changed:

   What|Removed |Added

 CC||maxsem.w...@gmail.com

--- Comment #6 from Max Semenik maxsem.w...@gmail.com 2011-09-17 08:27:06 UTC 
---
PHP has a funny feature where it could use php.ini from different locations
when running via mod_php and CLI.

So the only 100% foolproof way to check PHP configuration is phpinfo() from the
web and php -i from command line. Check output of php -i | grep -i mysql

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 30935] update.php fails with fatal PHP error

2011-09-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30935

--- Comment #1 from Dmitriy Sintsov c...@uniyar.ac.ru 2011-09-16 16:13:23 UTC 
---
Ok, I recall that php mysql module should be downloaded and installed
separately. Still why does 1.15.4 runs in SAPI mode without it, but not in the
CLI mode?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 30935] update.php fails with fatal PHP error

2011-09-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30935

--- Comment #2 from Dmitriy Sintsov c...@uniyar.ac.ru 2011-09-16 16:15:30 UTC 
---
Ooops.. phpinfo() in SAPI mode shows that mysql module exists! Why in the world
there is no such module listed in php -m output. Weird.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 30935] update.php fails with fatal PHP error

2011-09-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30935

--- Comment #3 from Reedy s...@reedyboy.net 2011-09-16 16:16:16 UTC ---
You are using the MySQL native driver for PHP - mysqlnd rather than the more
usual mysql

It might be possible that only when running php update.php that it reaches an
error condition, and only then it tries to call it, and then falls over

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 30935] update.php fails with fatal PHP error

2011-09-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30935

Chad H. innocentkil...@gmail.com changed:

   What|Removed |Added

 CC||innocentkil...@gmail.com

--- Comment #4 from Chad H. innocentkil...@gmail.com 2011-09-16 16:17:08 UTC 
---
(In reply to comment #3)
 You are using the MySQL native driver for PHP - mysqlnd rather than the more
 usual mysql
 
 It might be possible that only when running php update.php that it reaches an
 error condition, and only then it tries to call it, and then falls over

mysqlnd should still support the mysql_* functions.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 30935] update.php fails with fatal PHP error

2011-09-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30935

--- Comment #5 from Dmitriy Sintsov c...@uniyar.ac.ru 2011-09-16 16:23:46 UTC 
---
There is ext/php_mysql.dll in php base installation directory and
c:\windows\php.ini contains 
extension=php_mysql.dll
extension=php_mysqli.dll
uncommented. 

My thought was maybe there is collision between mysqlnd and php_mysql.dll. I've
commented it out. Does not work anyway. Maybe php 5.3.3 for Windows bug. I'll
try to update to 5.3.8 when I have more time. I think there was no problem in
Linux, however I'll try again later and report.

But a cleaner message like it was in 1.15.4 is preferred to fatal error in
1.19a.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l