I am installing media wiki 1.16.0 onto a Solaris 10 u8 x64 system. I am using the sunfreeware packages and have the following versions: Apache - 2.2.15 PHP – 5.2.13 libxml2 - 2.7.7
When I navigate to the config component I get this browser message:
Your system has a combination of PHP and libxml2 versions which is buggy and can cause hidden data corruption in MediaWiki and other web apps. Upgrade to PHP 5.2.9 or later and libxml2 2.7.3 or later! ABORTING (http://bugs.php.net/bug.php?id=45996 for details).
Anyone have any idea?
Thx, CC
On 12 August 2010 17:58, Chuck Carson Chuck.Carson@uav.com wrote:
I am installing media wiki 1.16.0 onto a Solaris 10 u8 x64 system. I am using the sunfreeware packages and have the following versions: Apache - 2.2.15 PHP – 5.2.13 libxml2 - 2.7.7 When I navigate to the config component I get this browser message: Your system has a combination of PHP and libxml2 versions which is buggy and can cause hidden data corruption in MediaWiki and other web apps. Upgrade to PHP 5.2.9 or later and libxml2 2.7.3 or later! ABORTING (http://bugs.php.net/bug.php?id=45996 for details). Anyone have any idea?
I got this on RHEL 5. Eventually I compiled libxml2 from source, then PHP 5.3.2 from source to get libphp5.so.
- d.
Yea trying to avoid rolling my own stuff. This box serves a myriad of other web applications and I would have to custom roll a dozen packages or more. =(
Its probably just some logic issues in the config code that I could work around but was mainly concerned with the data corruption it talks about... Ie what other versions it might impact. The bug info in the URL it points out was not very informative.
-CC
On 8/12/10 10:05 AM, "David Gerard" dgerard@gmail.com wrote:
On 12 August 2010 17:58, Chuck Carson Chuck.Carson@uav.com wrote:
I am installing media wiki 1.16.0 onto a Solaris 10 u8 x64 system. I am using the sunfreeware packages and have the following versions: Apache - 2.2.15 PHP 5.2.13 libxml2 - 2.7.7 When I navigate to the config component I get this browser message: Your system has a combination of PHP and libxml2 versions which is buggy and can cause hidden data corruption in MediaWiki and other web apps. Upgrade to PHP 5.2.9 or later and libxml2 2.7.3 or later! ABORTING (http://bugs.php.net/bug.php?id=45996 for details). Anyone have any idea?
I got this on RHEL 5. Eventually I compiled libxml2 from source,
then
PHP 5.3.2 from source to get libphp5.so.
-
d.
_______________________________________________ MediaWiki-l mailing
list
MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listi
nfo/mediawiki-l
On 12 August 2010 18:08, Chuck Carson Chuck.Carson@uav.com wrote:
Yea trying to avoid rolling my own stuff. This box serves a myriad of other web applications and I would have to custom roll a dozen packages or more. =(
Yes, that's less than ideal.
The key point appears to be libphp5.so. System versions of stuff don't seem to matter as long as the libphp5.so is lovely. If you can build a libphp5.so that MW likes, and get away with dropping that into Apache, then everything is just fiiiiiiine. I think.
- d.
Cool, I'll try just rolling PHP against the sunfreeware versions of everything else.
Thx, CC
On 8/12/10 10:25 AM, "David Gerard" dgerard@gmail.com wrote:
On 12 August 2010 18:08, Chuck Carson Chuck.Carson@uav.com wrote:
Yea trying to avoid rolling my own stuff. This box serves a myriad of other web applications and I would have to custom roll a dozen packages or more. =(
Yes, that's less than ideal.
The key point appears to be libphp5.so. System versions of stuff don't seem to matter as long as the libphp5.so is lovely. If you can build a libphp5.so that MW likes, and get away with dropping that into Apache, then everything is just fiiiiiiine. I think.
- d.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On 12 August 2010 18:30, Chuck Carson Chuck.Carson@uav.com wrote:
Cool, I'll try just rolling PHP against the sunfreeware versions of everything else.
The key point is to build a libphp5.so with all the salad, and *just drop that into place* - don't install the rest of PHP if you don't have to. Is anything else in your Apache using PHP?
- d.
Well I can't seem to build php against the sunfreeware version of mysql:
Undefined first referenced symbol in file mysql_set_character_set ext/mysql/.libs/php_mysql.o mysql_set_server_option ext/mysql/.libs/php_mysql.o ld: fatal: Symbol referencing errors. No output written to sapi/cli/php collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1
One roadblock after another.
-Chuck
On 8/12/10 10:36 AM, "David Gerard" dgerard@gmail.com wrote:
On 12 August 2010 18:30, Chuck Carson Chuck.Carson@uav.com wrote:
Cool, I'll try just rolling PHP against the sunfreeware versions of everything else.
The key point is to build a libphp5.so with all the salad, and *just drop that into place* - don't install the rest of PHP if you don't have to. Is anything else in your Apache using PHP?
- d.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On 12 August 2010 22:03, Chuck Carson Chuck.Carson@uav.com wrote:
Well I can't seem to build php against the sunfreeware version of mysql: Undefined first referenced symbol in file mysql_set_character_set ext/mysql/.libs/php_mysql.o mysql_set_server_option ext/mysql/.libs/php_mysql.o ld: fatal: Symbol referencing errors. No output written to sapi/cli/php collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 One roadblock after another.
My advice concerning MediaWiki on Solaris is: don't. Just don't. It's ridiculously painful. Linux with decent repositories is the only way I've found to do it sanely.
Given you're probably stuck with it ... is everything compiled with the same compiler? (Either gcc or Sun cc [*], but *pick one*. SFW usually says which it's compiled with.) Is everything compiled with whichever compiler Apache is compiled with? If gcc, is that "make" gmake or Sun make?
- d.
[*] and yes, I have downloaded 500MB of Sun Studio 12 to compile one 10KB Apache module.
mediawiki-l@lists.wikimedia.org