phplist

NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1


View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015554phplist applicationphpListpublic25-10-10 00:5304-09-12 18:54
Reporterh2b2 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version2.10.12 
Target VersionFutureDevelopmentsFixed 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.
Ref: http://php.net/manual/en/migration53.deprecated.php [^]

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:
http://forums.phplist.com/viewtopic.php?f=24&t=28050 [^]
http://forums.phplist.com/viewtopic.php?f=3&t=31936 [^]

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
parent of 0015273resolvedmichiel Check for safe_mode wrong 

-  Notes
(0051135)
h2b2 (manager)
26-10-10 06:45
edited on: 26-10-10 06:57

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:
  register_globals
  safe_mode
  magic_quotes_gpc
  magic_quotes_runtime

Functions deprecated in PHP 5.3:
  ereg()
  ereg_replace()
  eregi()
  eregi_replace()
  set_magic_quotes_runtime()
  split()
  mysql_db_query()

(0051154)
h2b2 (manager)
26-01-11 01:55

For bug fixes related to confirmation emails not working (v2.10.12, PHP 5.3.3) see this forum thread: http://forums.phplist.com/viewtopic.php?p=83199#p83199 [^]
(0051176)
michiel (manager)
28-04-11 15:02

I've gone through deprecation stuff quite a bit in trunk, and it's better to keep these things there.
(0051653)
michiel (manager)
31-05-12 00:46

removed any "ereg" I could find.
http://phplist.svn.sourceforge.net/phplist/?rev=3267&view=rev [^]

now checking for the other ones
(0051654)
michiel (manager)
31-05-12 01:11

removed any use of "split"
http://phplist.svn.sourceforge.net/phplist/?rev=3272&view=rev [^]
(0051655)
michiel (manager)
31-05-12 01:18

removed single unused instance of "mysql_db_query"
http://phplist.svn.sourceforge.net/phplist/?rev=3273&view=rev [^]
(0051656)
michiel (manager)
31-05-12 01:33

set_magic_quotes_runtime() is only used in phpMailer
(0051657)
michiel (manager)
31-05-12 02:30


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.
(0051658)
michiel (manager)
31-05-12 02:35

this site suggests 95% of PHP sites use PHP 5

http://w3techs.com/technologies/details/pl-php/all/all [^]
(0051731)
michiel (manager)
04-09-12 18:54

afaict all deprecated functions have been removed in 2.11.7


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker