#39048: php52: build error with libxml2 @2.9.0 --------------------------+-------------------------- Reporter: coolkutex@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: php52 | --------------------------+-------------------------- Changes (by ryandesign@…): * status: new => assigned Comment: The php52 build error you've encountered is an incompatibility with libxml2 @2.9.0. The php52 port built fine last I checked it, but that was three days before the libxml2 port was updated to version 2.9.0. Here is the [https://mail.gnome.org/archives/xml/2012-August/msg00028.html discussion about this problem], and the [https://mail.gnome.org/archives/xml/2012-August/txtbgxGXAvz4N.txt patch] for PHP 5.4. I'll work on backporting this patch to PHP 5.2 and incorporating it into the php52 port. However, I strongly urge you to reconsider your approach. You should not be running PHP 5.2 in production; it is far too old. The developers of PHP announced the [http://php.net/archive/2010.php end of support for PHP 5.2] in December 2010. It is undoubtedly full of bugs and security problems that have already been fixed in newer versions of PHP. At this time, you should be running PHP 5.4 in production (e.g. the MacPorts php54 port) and testing your sites with pre-release versions of PHP 5.5 (e.g. the php55 port) in preparation for PHP 5.5 becoming the new stable version. MySQL 5.0.x is also very old. Per [http://www.mysql.com/support/eol- notice.html Oracle policy], "active support" for MySQL 5.0 ended at the end of 2009. You should be running MySQL 5.5 (the mysql55 port) or 5.6 (not yet in MacPorts; see #37976), or considering switching to a MySQL fork like MariaDB (the mariadb port) or Percona (the percona port). You should also ensure you're running the current version of MediaWiki, 1.20.5. The developers of MediaWiki are constantly announcing major security vulnerabilities in older versions; running anything older than the current versions will undoubtedly expose your server and your users to the possibility of attack. Contact the developers of MediaWiki if you need help upgrading your current MediaWiki installation to the latest version. -- Ticket URL: <https://trac.macports.org/ticket/39048#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X