[wp-trac] [WordPress Trac] #4364: Wordpress 2.2 may have dependency
on mysql and php being above a certain version...
WordPress Trac
wp-trac at lists.automattic.com
Wed May 30 04:48:41 GMT 2007
#4364: Wordpress 2.2 may have dependency on mysql and php being above a certain
version...
---------------------+------------------------------------------------------
Reporter: sgharms | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.4
Component: General | Version: 2.2
Severity: normal | Keywords: mysql php cache
---------------------+------------------------------------------------------
I installed WP 2.2 on my 'testbed' on my Mac OSX PPC laptop.
$ mysql -V
mysql Ver 14.12 Distrib 5.0.24a, for apple-darwin8.6.0 (powerpc) using
readline 5.0
$ php -v
PHP 4.4.4 (cli) (built: Jan 19 2007 19:18:59)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
This worked fine.
I then deployed the new codebase to my site (
http://www.stevengharms.com/badinst ) and you can see the results at this
URL. Basically all sorts of caching errors appeared. This is similar to
a number of unanswered support requests within the support system.
Errors were like:
`Warning: Illegal offset type in /home/steven/public_html/badinst/wp-
includes/cache.php`
The setup at that provider was:
$mysql -V; php -v
mysql Ver 12.22 Distrib 4.0.27, for pc-linux-gnu (i686)
PHP 4.3.10 (cli) (built: Jan 12 2005 11:54:18)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with Zend Extension Manager v1.0.8, Copyright (c) 2003-2005, by Zend
Technologies
with Zend Optimizer v2.5.10, Copyright (c) 1998-2005, by Zend
Technologies
I then took this wordpress bundle, tarred and moved to another provider
and it worked. Their config was:
$ mysql -V ; php -v
mysql Ver 14.12 Distrib 5.0.16, for pc-linux-gnu (i386) using readline
5.0
PHP 4.4.4 (cgi) (built: Nov 7 2006 13:14:18)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2006, by Zend
Technologies
with Zend Optimizer v3.2.2, Copyright (c) 1998-2006, by Zend
Technologies
In short it seems that there's something in the PHP codebase between 12.x
and 14.x that makes or breaks the function of cache.php as currently
coded. Alternatively, the change could be in the mySQL versions.
Does the development team have an instance of wp2.2 running successfully
with:
mysql Ver 12.22 Distrib 4.0.27, for pc-linux-gnu (i686)
and
PHP 4.3.10 (cli) (built: Jan 12 2005 11:54:18)
--
Ticket URL: <http://trac.wordpress.org/ticket/4364>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list