# RFC: Removal of dead SAPIs and extensions

- Status: Implemented (PHP 7.0)
- Authors: Anatol Belski, ab@php.net
- Date: 2015-01-14
- Version: 2
- Original: https://wiki.php.net/rfc/removal_of_dead_sapis_and_exts
- Page: https://externals.io/rfc/removal_of_dead_sapis_and_exts
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

## Votes

### Remove sapi/aolserver from the core (closed)

Yes: 31 · No: 0

Voters: ab (Yes), aharvey (Yes), andi (Yes), auroraeosrose (Yes), dmitry (Yes), francois (Yes), guilhermeblanco (Yes), hywan (Yes), irker (Yes), jedibc (Yes), jpauli (Yes), kalle (Yes), klaussilveira (Yes), krakjoe (Yes), lcobucci (Yes), leigh (Yes), lstrojny (Yes), mariuz (Yes), mbeccati (Yes), pajoye (Yes), pollita (Yes), ramsey (Yes), rdlowrey (Yes), reeze (Yes), remi (Yes), santiagolizardo (Yes), sebastian (Yes), thetaphi (Yes), treffynnon (Yes), yunosh (Yes), zeev (Yes)

### Remove sapi/apache from the core (closed)

Yes: 32 · No: 0

Voters: ab (Yes), aharvey (Yes), andi (Yes), auroraeosrose (Yes), derick (Yes), francois (Yes), guilhermeblanco (Yes), hywan (Yes), irker (Yes), jedibc (Yes), jpauli (Yes), kalle (Yes), klaussilveira (Yes), krakjoe (Yes), lcobucci (Yes), leigh (Yes), lstrojny (Yes), mariuz (Yes), mbeccati (Yes), pajoye (Yes), pollita (Yes), ramsey (Yes), rdlowrey (Yes), reeze (Yes), remi (Yes), santiagolizardo (Yes), sebastian (Yes), stas (Yes), thetaphi (Yes), treffynnon (Yes), yunosh (Yes), zeev (Yes)

### Remove sapi/apache_hooks from the core (closed)

Yes: 31 · No: 0

Voters: ab (Yes), aharvey (Yes), andi (Yes), auroraeosrose (Yes), derick (Yes), guilhermeblanco (Yes), hywan (Yes), irker (Yes), jedibc (Yes), jpauli (Yes), kalle (Yes), klaussilveira (Yes), krakjoe (Yes), lcobucci (Yes), leigh (Yes), lstrojny (Yes), mariuz (Yes), mbeccati (Yes), pajoye (Yes), pollita (Yes), ramsey (Yes), rdlowrey (Yes), reeze (Yes), remi (Yes), santiagolizardo (Yes), sebastian (Yes), stas (Yes), thetaphi (Yes), treffynnon (Yes), yunosh (Yes), zeev (Yes)

### Remove sapi/apache2filter from the core (closed)

Yes: 23 · No: 1

Voters: ab (Yes), andi (Yes), auroraeosrose (No), guilhermeblanco (Yes), irker (Yes), jedibc (Yes), jpauli (Yes), kalle (Yes), klaussilveira (Yes), krakjoe (Yes), lcobucci (Yes), lstrojny (Yes), mariuz (Yes), mbeccati (Yes), pajoye (Yes), pollita (Yes), ramsey (Yes), rdlowrey (Yes), santiagolizardo (Yes), sebastian (Yes), stas (Yes), thetaphi (Yes), treffynnon (Yes), zeev (Yes)

### Remove sapi/caudium from the core (closed)

Yes: 30 · No: 0

Voters: ab (Yes), aharvey (Yes), andi (Yes), auroraeosrose (Yes), derick (Yes), dmitry (Yes), guilhermeblanco (Yes), hywan (Yes), irker (Yes), jedibc (Yes), jpauli (Yes), kalle (Yes), klaussilveira (Yes), krakjoe (Yes), lcobucci (Yes), lstrojny (Yes), mariuz (Yes), mbeccati (Yes), pajoye (Yes), pollita (Yes), ramsey (Yes), rdlowrey (Yes), remi (Yes), santiagolizardo (Yes), sebastian (Yes), stas (Yes), thetaphi (Yes), treffynnon (Yes), yunosh (Yes), zeev (Yes)

### Remove sapi/continuity from the core (closed)

Yes: 28 · No: 0

Voters: ab (Yes), aharvey (Yes), andi (Yes), auroraeosrose (Yes), derick (Yes), dmitry (Yes), guilhermeblanco (Yes), hywan (Yes), jedibc (Yes), kalle (Yes), klaussilveira (Yes), krakjoe (Yes), lcobucci (Yes), lstrojny (Yes), mariuz (Yes), mbeccati (Yes), pajoye (Yes), pollita (Yes), ramsey (Yes), rdlowrey (Yes), remi (Yes), santiagolizardo (Yes), sebastian (Yes), stas (Yes), thetaphi (Yes), treffynnon (Yes), yunosh (Yes), zeev (Yes)

### Remove sapi/isapi from the core (closed)

Yes: 28 · No: 0

Voters: ab (Yes), aharvey (Yes), andi (Yes), auroraeosrose (Yes), derick (Yes), dmitry (Yes), guilhermeblanco (Yes), hywan (Yes), jedibc (Yes), kalle (Yes), klaussilveira (Yes), krakjoe (Yes), lcobucci (Yes), lstrojny (Yes), mariuz (Yes), mbeccati (Yes), pajoye (Yes), pollita (Yes), ramsey (Yes), rdlowrey (Yes), remi (Yes), santiagolizardo (Yes), sebastian (Yes), stas (Yes), thetaphi (Yes), treffynnon (Yes), yunosh (Yes), zeev (Yes)

### Remove sapi/milter from the core (closed)

Yes: 10 · No: 9

Voters: ab (Yes), andi (No), auroraeosrose (No), derick (No), guilhermeblanco (No), hywan (No), kalle (Yes), klaussilveira (Yes), lcobucci (Yes), lstrojny (No), mariuz (Yes), mbeccati (No), pajoye (Yes), pollita (Yes), ramsey (Yes), santiagolizardo (Yes), sebastian (Yes), treffynnon (No), zeev (No)

### Remove sapi/phttpd from the core (closed)

Yes: 26 · No: 0

Voters: ab (Yes), aharvey (Yes), andi (Yes), auroraeosrose (Yes), dmitry (Yes), guilhermeblanco (Yes), hywan (Yes), jedibc (Yes), kalle (Yes), klaussilveira (Yes), lcobucci (Yes), lstrojny (Yes), mariuz (Yes), mbeccati (Yes), pajoye (Yes), pollita (Yes), ramsey (Yes), rdlowrey (Yes), remi (Yes), santiagolizardo (Yes), sebastian (Yes), stas (Yes), thetaphi (Yes), treffynnon (Yes), yunosh (Yes), zeev (Yes)

### Remove sapi/pi3web from the core (closed)

Yes: 24 · No: 0

Voters: ab (Yes), aharvey (Yes), andi (Yes), auroraeosrose (Yes), dmitry (Yes), guilhermeblanco (Yes), jedibc (Yes), kalle (Yes), klaussilveira (Yes), lcobucci (Yes), lstrojny (Yes), mariuz (Yes), mbeccati (Yes), pajoye (Yes), pollita (Yes), ramsey (Yes), rdlowrey (Yes), remi (Yes), santiagolizardo (Yes), sebastian (Yes), stas (Yes), thetaphi (Yes), treffynnon (Yes), yunosh (Yes)

### Remove sapi/roxen from the core (closed)

Yes: 23 · No: 0

Voters: ab (Yes), aharvey (Yes), andi (Yes), auroraeosrose (Yes), dmitry (Yes), guilhermeblanco (Yes), hywan (Yes), jedibc (Yes), kalle (Yes), klaussilveira (Yes), lcobucci (Yes), lstrojny (Yes), mariuz (Yes), mbeccati (Yes), pajoye (Yes), pollita (Yes), ramsey (Yes), rdlowrey (Yes), santiagolizardo (Yes), sebastian (Yes), stas (Yes), treffynnon (Yes), yunosh (Yes)

### Remove sapi/thttpd from the core (closed)

Yes: 25 · No: 0

Voters: ab (Yes), aharvey (Yes), andi (Yes), auroraeosrose (Yes), derick (Yes), dmitry (Yes), guilhermeblanco (Yes), irker (Yes), jedibc (Yes), kalle (Yes), klaussilveira (Yes), lcobucci (Yes), lstrojny (Yes), mariuz (Yes), mbeccati (Yes), pajoye (Yes), pollita (Yes), ramsey (Yes), rdlowrey (Yes), santiagolizardo (Yes), sebastian (Yes), stas (Yes), treffynnon (Yes), yunosh (Yes), zeev (Yes)

### Remove sapi/tux from the core (closed)

Yes: 25 · No: 0

Voters: ab (Yes), aharvey (Yes), andi (Yes), auroraeosrose (Yes), dmitry (Yes), guilhermeblanco (Yes), hywan (Yes), jedibc (Yes), kalle (Yes), klaussilveira (Yes), lcobucci (Yes), lstrojny (Yes), mariuz (Yes), mbeccati (Yes), pajoye (Yes), pollita (Yes), ramsey (Yes), rdlowrey (Yes), remi (Yes), santiagolizardo (Yes), sebastian (Yes), stas (Yes), thetaphi (Yes), treffynnon (Yes), yunosh (Yes)

### Remove sapi/webjames from the core (closed)

Yes: 25 · No: 0

Voters: ab (Yes), aharvey (Yes), andi (Yes), auroraeosrose (Yes), dmitry (Yes), guilhermeblanco (Yes), hywan (Yes), jedibc (Yes), kalle (Yes), klaussilveira (Yes), lcobucci (Yes), lstrojny (Yes), mariuz (Yes), mbeccati (Yes), pajoye (Yes), pollita (Yes), ramsey (Yes), rdlowrey (Yes), remi (Yes), santiagolizardo (Yes), sebastian (Yes), stas (Yes), thetaphi (Yes), treffynnon (Yes), yunosh (Yes)

### Remove ext/imap from the core (closed)

Yes: 14 · No: 19

Voters: ab (Yes), aharvey (No), andi (No), auroraeosrose (No), bukka (Yes), bwoebi (Yes), derick (No), dmitry (No), fa (Yes), francois (No), guilhermeblanco (No), hywan (No), kalle (No), klaussilveira (No), krakjoe (No), lcobucci (No), lstrojny (Yes), mariuz (Yes), mbeccati (Yes), nikic (Yes), olemarkus (Yes), pajoye (Yes), pollita (No), ramsey (No), remi (Yes), salathe (No), santiagolizardo (No), sebastian (Yes), stas (No), treffynnon (No), yohgaki (Yes), yunosh (Yes), zeev (No)

### Remove ext/mcrypt from the core (closed)

Yes: 15 · No: 18

Voters: ab (Yes), aharvey (No), andi (No), auroraeosrose (No), bukka (Yes), derick (No), dmitry (No), fa (Yes), francois (No), guilhermeblanco (Yes), hywan (No), ircmaxell (No), jedibc (Yes), kalle (Yes), klaussilveira (No), krakjoe (No), lcobucci (No), lstrojny (Yes), mariuz (Yes), mattwil (Yes), mbeccati (Yes), nikic (No), olemarkus (Yes), pajoye (Yes), ramsey (No), rdlowrey (No), remi (Yes), santiagolizardo (No), stas (No), treffynnon (No), yohgaki (Yes), yunosh (Yes), zeev (No)

### Remove ext/mssql from the core (closed)

Yes: 17 · No: 3

Voters: ab (Yes), aharvey (Yes), auroraeosrose (Yes), guilhermeblanco (Yes), jedibc (Yes), kalle (No), klaussilveira (Yes), krakjoe (No), lcobucci (Yes), lstrojny (Yes), mariuz (Yes), mbeccati (Yes), pajoye (Yes), pollita (Yes), ramsey (Yes), rdlowrey (Yes), remi (No), santiagolizardo (Yes), stas (Yes), treffynnon (Yes)

### Remove ext/pdo_dblib from the core (closed)

Yes: 4 · No: 18

Voters: ab (Yes), aharvey (No), andi (No), auroraeosrose (No), guilhermeblanco (No), hywan (No), jedibc (No), kalle (No), klaussilveira (No), krakjoe (No), lcobucci (No), lstrojny (Yes), mariuz (No), mbeccati (No), pajoye (Yes), pollita (No), ramsey (No), remi (No), santiagolizardo (Yes), thetaphi (No), treffynnon (No), zeev (No)

### Remove ext/sybase_ct from the core (closed)

Yes: 17 · No: 1

Voters: ab (Yes), auroraeosrose (Yes), guilhermeblanco (Yes), jedibc (Yes), kalle (Yes), klaussilveira (Yes), lcobucci (Yes), lstrojny (Yes), mariuz (Yes), mbeccati (Yes), mrook (Yes), pajoye (Yes), pollita (Yes), ramsey (Yes), santiagolizardo (Yes), thetaphi (No), treffynnon (Yes), yohgaki (Yes)

## Discussions on the mailing list

- [\[RFC\]\[DISCUSSION\] Removal of dead SAPIs and extensions](https://externals.io/message/80838.md) — started on 2015-01-19, 13 messages
- [\[RFC\]\[VOTE\] Removal of dead or not yet PHP7 ported SAPIs and extensions](https://externals.io/message/81630.md) — started on 2015-02-02, 48 messages
- [Remove mycrypt. Vote ends Monday](https://externals.io/message/82142.md) — started on 2015-02-08, 5 messages
- [ext/interbase maintanance](https://externals.io/message/89858.md) — started on 2015-12-21, 8 messages

---

## Introduction

Currently PHP contains many SAPIs to the servers either completely unavailable or unsupported for a long time. The same can be said about several extensions which are for long deprecated or their dependency libraries are unsupported. Here's a short list:

Dead SAPIs:

- aolserver
- apache
- apache\_hooks
- caudium
- continuity
- isapi
- milter
- phttpd
- pi3web
- roxen
- thttpd
- tux
- webjames
- apache2filter - not really dead, but currently broken
- nsapi

Extensions with unmaintained dependencies

- imap
- mcrypt

Extensions not yet ported to PHP7

- interbase
- mssql
- oci8
- pdo\_dblib
- pdo\_oci
- sybase\_ct

Deprecated extensions handled by [https://wiki.php.net/rfc/remove\_deprecated\_functionality\_in\_php7](https://externals.io/rfc/remove_deprecated_functionality_in_php7) (not handled by this RFC)

- mysql
- ereg

This leads to the situation where the repository contains a lot of unmaintained code. The code which doesn't become any updates for years or relies on long unmaintained libraries. Besides that code being not maintained, it is also kind of security risk.

## Research

### sapi/aolserver

- Server home: <http://sourceforge.net/projects/aolserver/>
- Server last release: 2012
- Server debian supported: yes
- SAPI status: 5.4 builds with the latest server API

#### Voting

**Vote: Remove sapi/aolserver from the core** — Yes: 31 · No: 0 (closed)

### sapi/apache

- Server last release: 2010
- Server debian supported: no

Apache 1.x branch not developed anymore since 2010. Also it supports no security updates anymore.

#### Voting

**Vote: Remove sapi/apache from the core** — Yes: 32 · No: 0 (closed)

### sapi/apache\_hooks

Same as sapi/apache.

#### Voting

**Vote: Remove sapi/apache\_hooks from the core** — Yes: 31 · No: 0 (closed)

### sapi/apache2filter

- Server debian supported: yes

This Apache 2.x compatible module seems to have been supported in at least PHP5. In master, it will need to be ported.

#### Voting

**Vote: Remove sapi/apache2filter from the core** — Yes: 23 · No: 1 (closed)

### sapi/caudium

- Sevrer home: <http://caudium.net/>
- Server last release: 2012
- Server debian supported: not completely
- SAPI status: unsupported

The official documentation of Caudium states that PHP can only run as CGI or FCGI <http://www.caudium.net/space/documentation/PHP%20Setup> . Running PHP as a module is not supported anymore.

#### Voting

**Vote: Remove sapi/caudium from the core** — Yes: 30 · No: 0 (closed)

### sapi/continuity

No mortal remains of the corresponding server could be found on the internets.

#### Voting

**Vote: Remove sapi/continuity from the core** — Yes: 28 · No: 0 (closed)

### sapi/isapi

- Server home: <http://www.iis.net/>
- SAPI status: unsupported

The ISAPI support was announced to have been dropped already in the 5.3 migration guide. <http://us2.php.net/manual/en/migration53.windows.php> .

#### Voting

**Vote: Remove sapi/isapi from the core** — Yes: 28 · No: 0 (closed)

### sapi/milter

- Home: <https://www.milter.org/>
- Server debian supported: yes
- SAPI status: 5.4 builds with sendmail 8.14

Milter is not a web server but an API enabling to hook into different MTAs for mail filtering. PHP scripts running under this SAPI are not dedicated to web development, but would be invoked by the corresponding MTA. In this case also, the corresponding PHP program will need to implement whichever rules. An example of another binding to Milter, just to name one, is an interface to Amavis.

#### Voting

**Vote: Remove sapi/milter from the core** — Yes: 10 · No: 9 (closed)

### sapi/phttpd

- Server home: <http://www.lysator.liu.se/~pen/phttpd/>
- Server last release: not sure, development seems to have ended around 2000
- Server debian supported: no
- SAPI status: development incomplete

Comment from the README: THIS IS BY NO MEANS COMPLETE NOR USABLE RIGHT NOW!

#### Voting

**Vote: Remove sapi/phttpd from the core** — Yes: 26 · No: 0 (closed)

### sapi/pi3web

- Server home: <http://pi3web.sourceforge.net/pi3web/>
- Server last release: 2005
- Server debian supported: no
- SAPI status: last commit by the author is in 2004

#### Voting

**Vote: Remove sapi/pi3web from the core** — Yes: 24 · No: 0 (closed)

### sapi/roxen

- Server Home: <http://www.roxen.com/products/cms/webserver/>
- Server last release: 2014
- Server debian supported: no
- SAPI status: experimental

The official documentation [http://docs.roxen.com/roxen/5.0/system\_developer\_manual/languages/php.xml](http://docs.roxen.com/roxen/5.0/system_developer_manual/languages/php.xml) call the only supported mode to be CGI. The SAPI module is called experimental there.

#### Voting

**Vote: Remove sapi/roxen from the core** — Yes: 23 · No: 0 (closed)

### sapi/thttpd

- Server home: <http://acme.com/software/thttpd/>
- Server last release: 2014
- Server debian supported: yes
- SAPI status: not clear

The latest thttpd version is 2.26, which builds fine. But when building PHP, there's an error message 

“This version only supports thttpd-2.21b and premium thttpd” 

But thttpd-2.21b doesn't build anymore, at least at some recent distro i've used. The premium thttpd seems to be a commercial product which isn't available to test with.

#### Voting

**Vote: Remove sapi/thttpd from the core** — Yes: 25 · No: 0 (closed)

### sapi/tux

- Server home: <http://people.redhat.com/~mingo/TUX-patches/>
- Server last release: 2006
- Server debian supported: no
- SAPI status: PHP4 compatible

#### Voting

**Vote: Remove sapi/tux from the core** — Yes: 25 · No: 0 (closed)

### sapi/webjames

- Sevrer home: <http://www.cp15.org/webjames/>
- Server last release: 2007
- Server debian supported: no
- SAPI status: PHP5.2 compatible

#### Voting

**Vote: Remove sapi/webjames from the core** — Yes: 25 · No: 0 (closed)

### sapi/nsapi

- Server home: there seem to be many, but all require some Sun/Oracle environment, more to read here [http://en.wikipedia.org/wiki/Oracle\_iPlanet\_Web\_Server](http://en.wikipedia.org/wiki/Oracle_iPlanet_Web_Server)
- Server last release: 2014
- Server debian supported: no
- SAPI status: Seems to be PHP5 compatible, untested

The developers of iPlanet @Oracle wrote back, that they're not intended to support this SAPI starting from PHP7 onwards.

However Uwe Schindler wrote back, that he will port and maintaing this SAPI for PHP7.

**NOTE**: This SAPI was removed from the voting options, because per the current info it's going to be supported for PHP7 in the future.

### ext/imap

```
* Dependency home: http://www.washington.edu/imap/
* Dependency debian supported: yes
* Dependency last release: 2007
```

#### Voting

**Vote: Remove ext/imap from the core** — Yes: 14 · No: 19 (closed)

### ext/mcrypt

- Dependency home: <http://sourceforge.net/projects/mcrypt/>
- Dependency debian supported: yes
- Dependency last release: 2007

#### Voting

**Vote: Remove ext/mcrypt from the core** — Yes: 15 · No: 18 (closed)

### ext/interbase

- Dependency home: not available, firebird can be used
- Dependency debian supported: yes
- Dependency last release: 2014

Marius Adrian Popa wrote back about an intention to maintain this further in the core together with ext/pdo\_firebird. Right now the ext/interbase is half ported to PHP7 (needs cleaning).

**NOTE**: This extension was removed from the voting options, because per the current info it's going to be supported for PHP7 in the future.

### ext/pdo\_oci and ext/oci8

- Dependency home: oracle.com
- Dependency debian supported: no
- Dependency last release: 2014

Christopher Jones stated these extensions to be supported by Oracle. Oracle plans to maintains them further in the core.

**NOTE**: These extensions was removed from the voting options, because they per the current info are going to be supported for PHP7 in the future.

### ext/mssql

- Dependency home: microsoft.com
- Dependency debian supported: no
- Dependency last release: 2014

#### Voting

**Vote: Remove ext/mssql from the core** — Yes: 17 · No: 3 (closed)

### ext/pdo\_dblib

- Dependency home: sybase.com, microsoft.com
- Dependency debian supported: no
- Dependency last release: 2014

#### Voting

**Vote: Remove ext/pdo\_dblib from the core** — Yes: 4 · No: 18 (closed)

### ext/sybase\_ct

- Dependency home: sybase.com
- Dependency debian supported: no
- Dependency last release: 2014

#### Voting

**Vote: Remove ext/sybase\_ct from the core** — Yes: 17 · No: 1 (closed)

## Proposal

The SAPIs listed above should be removed from the source tree. The extensions listed above should be removed from the source tree. Depending on the vote outcome and presence of the maintainers, they could be resurrected in PECL.

## Backward Incompatible Changes

None.

## Proposed PHP Version(s)

7

## SAPIs Impacted

SAPI and extension list in the description.

## Impact to Existing Extensions

Unsupported extensions list in the description.

## php.ini Defaults

php.ini will have to be checked to remove the unavailable config options, if any.

## Open Issues

None.

## Future Scope

Should an SAPI or extension come back, the corresponding code is available in the git history.

## Voting

The voting options are attached to the corresponding items. The voting starts on 2015-02-02 and ends on 2015-02-09 at 23:00 CET respectively. To be accepted/declined each vote requires 50%+1 acceptance.

## Implementation

Implemented in PHP7, see PRE\_NATIVE\_TLS\_MERGE and POST\_NATIVE\_TLS\_MERGE tags.
