View Issue Details

IDProjectCategoryView StatusLast Update
0015554phpList 3 applicationphpListpublic04-09-12 18:54
Reporterh2b2 Assigned To 
Status resolvedResolutionfixed 
Product Version2.10.12 
Target VersionFuture developmentsFixed in Version2.11.7 
Summary0015554: System incompatibility: deprecated PHP functions lead to trouble when running PHP 5.3+
DescriptionA number of PHP functions and ini directives currently used in phpList have been deprecated in PHP 5.3+. These include ereg_replace(), eregi_replace(), safe_mode, register_globals, magic_quotes_gpc, etc.

The phpList code in the 2.10.x and 2.11.x branches will need updating to avoid system incompatibilities.
Additional InformationSeveral phpList users with PHP 5.3 systems reported having issues running phpList, and the number of forum reports can be expected to rise quickly as more hosting providers start equipping their servers with PHP 5.3.
Related forum threads:

TagsNo tags attached.


parent of 0015273 resolvedmichiel Check for safe_mode wrong 



26-10-10 06:45

manager   ~0051135

Last edited: 26-10-10 06:57

View 2 revisions

A search in the code shows that phpList 2.10.12 makes use of the following deprecated functions and ini directives:

INI directives deprecated in PHP 5.3:

Functions deprecated in PHP 5.3:


26-01-11 01:55

manager   ~0051154

For bug fixes related to confirmation emails not working (v2.10.12, PHP 5.3.3) see this forum thread:


28-04-11 15:02

administrator   ~0051176

I've gone through deprecation stuff quite a bit in trunk, and it's better to keep these things there.


31-05-12 00:46

administrator   ~0051653

removed any "ereg" I could find.

now checking for the other ones


31-05-12 01:11

administrator   ~0051654

removed any use of "split"


31-05-12 01:18

administrator   ~0051655

removed single unused instance of "mysql_db_query"


31-05-12 01:33

administrator   ~0051656

set_magic_quotes_runtime() is only used in phpMailer


31-05-12 02:30

administrator   ~0051657

Some of this has possibly made the minimum requirement to be PHP 5.3

not sure that's desirable, but it may not be a big problem. No idea about PHP version statistics at this stage.


31-05-12 02:35

administrator   ~0051658

this site suggests 95% of PHP sites use PHP 5


04-09-12 18:54

administrator   ~0051731

afaict all deprecated functions have been removed in 2.11.7