Serendipity 1.0 and PHP 5.2.0
Friday, November 3. 2006
Posted by Garvin Hicking in Announcements, Development, Security
Comments (0)
Trackback (1)
Posted by Garvin Hicking in Announcements, Development, Security
Comments (0)
Trackback (1)
Serendipity 1.0.x an PHP 5.2.0 currently do not go well together because of the new PHP ext/filter extension. In the early PHP 5.2.0 cycles this provided a function 'input_name_to_filter' which was later dropped, but not removed from Serendipity 1.0
Serendipity 1.1 beta versions already use a function_exists() check to prevent this, but it had not made it into the 1.0 release cycle.
Thus, to make s9y work with PHP 5.2.0, you have three options:
- Disable the ext/filter extension in your php.ini configuration,
- Upgrade to Serendipity 1.1-beta versions or
- edit your serendipity include/compat.inc.php file and replace the string "extension_loaded('filter')" with "extension_loaded('xfilter')", which will effectively disable the follow-up code to take effect
The upcoming Serendipity 1.1 final version will of course integrate a more thorough fix. The serendipity Team is sorry for this confusion it may cause for PHP 5.2.0 users.



Because of the issue with PHP 5.2.0 mentioned before, and the 1.1 release not hastily being pushed out the barnyard, the Serendipity Team has decided to release a 1.0.3 version that fixes the mentioned problem. We have also decided to backport some oth
Tracked: Nov 07, 10:52