1 [[!meta title="How do I enable additional PHP extensions?"]]
2 Several PHP extensions are installed on the scripts servers, but
3 not enabled by default. (Since most scripts do not use these
4 extensions, this saves startup time and memory.) You can load any
5 of these extensions by creating a text file called `php.ini` in the
6 same directory as your PHP script, and adding a line with:
8 > **extension =**[extension name]**.so**
10 one line for each extension you want to enable.
12 Note that this will override some settings in the global php.ini —
13 most importantly, this will cause magic\_quotes\_gpc to turn
14 **on**! You should make sure that your application unsets this
15 option, or set **magic\_quotes\_gpc = no** in your own php.ini
18 The following are the extensions installed on the scripts servers,
19 with links to more information about them from the PHP website.
21 - [bcmath](http://php.net/bc)
22 - [curl](http://php.net/curl)
23 - [dba](http://php.net/dba)
24 - [dom](http://php.net/dom)
25 - [fileinfo](http://php.net/fileinfo)
26 - [gd](http://php.net/gd)
27 - [imap](http://php.net/imap)
28 - [imagick](http://php.net/imagick)
29 - [json](http://php.net/json)
30 - [ldap](http://php.net/ldap)
31 - [mailparse](http://php.net/mailparse)
32 - [mbstring](http://php.net/mbstring)
33 - [mcrypt](http://php.net/mcrypt)
34 - [mysql](http://php.net/mysql)
35 - [mysqli](http://php.net/mysqli)
36 - [ncurses](http://php.net/ncurses)
37 - [odbc](http://php.net/odbc)
38 - [pdo](http://php.net/pdo)
39 - [pdo\_mysql](http://php.net/pdo_mysql) (requires pdo)
40 - [pdo\_odbc](http://php.net/pdo_odbc) (requires pdo)
41 - [pdo\_pgsql](http://php.net/pdo_pgsql) (requires pdo)
42 - [pdo\_sqlite](http://php.net/pdo_sqlite) (requires pdo)
43 - [pgsql](http://php.net/pgsql)
44 - [rrdtool](http://oss.oetiker.ch/rrdtool/)
45 - [snmp](http://php.net/snmp)
46 - [soap](http://php.net/soap)
47 - [tidy](http://php.net/book.tidy)
48 - [xmlreader](http://php.net/xmlreader)
49 - [xmlrpc](http://php.net/xmlrpc)
50 - [xmlwriter](http://php.net/xmlwriter)
51 - [xsl](http://php.net/xsl)
52 - [zip](http://php.net/zip)