I'm on a ppc, running 10.5.8, having Apache2, and PHP Version 5.2.10.
I'm having the same year 0000 problem, and the Entropy link above is fine to know, but neither PHP Entropy PHP 5.3.0-3.pkg nor Entropy PHP 5.2.9-7.pkg resulted in a successfull installation:
The Installer application ended the installation wit hthis message:
The following install step failed: run postupgrade script for entropy-php. Contact the software manufacturer for assistance."
It is quite borin to see that all the files seem to have been installed properly though, and that these kept my Apache from restarting properly. Apache choked on the php load module that the developer thought to put into an awkward location.
The idea described on th webpage tells to unload the actual php module in the httpd.conf before installation. That's because he loads his php with a similar line, but in a file apart.
That file he has put into his own installation folder /usr/local/php5/
he symlinks to that file trough the other loadmodules folder of Apache (/etc/apache2/other/
First of all I don't like that style of putting things in own places and adding symlinks etc,
second of all, he's put redundant stuff into the file that apache would find in php5.conf, in the same /etc/apache2/other/. I don't see the logic...
So, it hasn't helped me a bit neither, and I'm allergic to such ways of developing without proper info, and the arrogance he has in his writing.
By the way the proper way would be:
(1) unload the php module you had active in httpd.conf, by recommenting the line
LoadModule php5_module libexec/apache2/libphp5.so
(add a "#" in front of it)
(2) end apache by disabling Web Sharing in the System Preferences/Sharing pane
(3) install his package
(4) Re-enable Apache by re-enabling Web Sharing in System Preferences/Sharing
End of the story:
If you have the same problems, don't hope on an easy workaround here...