PHP Tutorials - Herong's Tutorial Examples
Dr. Herong Yang, Version 3.00

"php -m" - Compiled-in Modules

This section provides a tutorial example on how to get a list of all modules that are pre-compiled in the PHP engine: php -m.

The Windows binary version of PHP engine comes with many modules pre-compiled into the engine. The "-m" option can give you a list of all compiled-in modules:

>\php\php -m

[PHP Modules]
bcmath
calendar
com_dotnet
ctype
date
dom
filter
ftp
hash
iconv
json
libxml
mbstring
mysql
odbc
pcre
Reflection
session
SimpleXML
SPL
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
zlib

[Zend Modules]

Last update: 2007.

Sections in This Chapter

What Is PHP?

Downloading and Installing PHP 5.0.4 for Windows

Downloading and Installing PHP 5.2.2 for Windows

"php -help" - Command Line Options

"php -m" - Compiled-in Modules

"php -i" - PHP Engine Information

Hello.php - My First PHP Script

Adding PHP to IIS as CGI

Dr. Herong Yang, updated in 2009
"php -m" - Compiled-in Modules