A Chan wrote:
Hello Everyone,
I have an older instance of MediaWiki (v1.4.5) running with PHP 5.0.3, MySQL 4.1.9, Redhat Linux. We need to upgrade to PHP 5.2.3 to enable another application to run on the same server.
I wanted to test compatibility of PHP 5.2.3 with MediaWiki 1.4.5, so installed MediaWiki 1.4.5 on a test machine running PHP 5.2.3.
However:
- Image uploads work fine on the live instance of our wiki running with PHP 5.0.3.
- phpinfo() on the PHP 5.0.3 does not list the GD library as enabled.
Is GD library the likely problem?
Yes. Your php is not configured to handle the images.
Are there any known incompatibilities between MediaWiki 1.4.5 and PHP 5.2.3?
It should work. But MediaWiki 1.4.5 is four years old, completely unsupported and has security bugs. In case of problems, update to the latest version.
Eventually we should upgrade to a newer version of MediaWiki, but so far have not had the resources to do so.
You can update either before or after upgrading the server. Since it's a pre-1.5 version, i will take a bit upgrading the table schema. Otherwise, MediaWiki updates are quite simple.