https://bugzilla.wikimedia.org/show_bug.cgi?id=66952
Bug ID: 66952
Summary: generateSitemap.php gzopen() fatal error on Ubuntu
14.04
Product: MediaWiki
Version: 1.23.0
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Maintenance scripts
Assignee: [email protected]
Reporter: [email protected]
Web browser: ---
Mobile Platform: ---
After upgrading to Ubuntu 14.04 generateSitemap.php dies with a fatal error:
PHP Fatal error: Call to undefined function gzopen() in
.../w/maintenance/generateSitemap.php on line 378
After doing some research, it seems this is because the PHP 5.5 build in Ubuntu
14.04 is compiled with large file support. The suggested fix for this problem
is to use gzopen64() instead of gzopen(). See:
http://stackoverflow.com/questions/23417519/php-zlib-gzopen-not-exists
http://piwigo.org/forum/viewtopic.php?pid=151458
https://tracker.moodle.org/browse/MDL-45572
It seems this change can be made without impacting compatibility with other
builds of PHP. Given that 14.04 is an LTS release others will likely hit this
so would be good to fix.
--
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l