Welcome to collectivesolver - Programming & Software Q&A with code examples. A website with trusted programming answers. All programs are tested and work.

Contact: aviboots(AT)netvision.net.il

Buy a domain name - Register cheap domain names from $0.99 - Namecheap

Scalable Hosting That Grows With You

Secure & Reliable Web Hosting, Free Domain, Free SSL, 1-Click WordPress Install, Expert 24/7 Support

Semrush - keyword research tool

Boost your online presence with premium web hosting and servers

Disclosure: My content contains affiliate links.

39,940 questions

51,877 answers

573 users

How to get the names of all modules compiled and loaded in PHP

1 Answer

0 votes
echo "<pre>";
print_r(get_loaded_extensions());
echo "</pre>";


/*
run:

Array
(
    [0] => Core
    [1] => bcmath
    [2] => calendar
    [3] => ctype
    [4] => date
    [5] => ereg
    [6] => filter
    [7] => ftp
    [8] => hash
    [9] => iconv
    [10] => json
    [11] => mcrypt
    [12] => SPL
    [13] => odbc
    [14] => pcre
    [15] => Reflection
    [16] => session
    [17] => standard
    [18] => mysqlnd
    [19] => tokenizer
    [20] => zip
    [21] => zlib
    [22] => libxml
    [23] => dom
    [24] => PDO

    ...

*/

 



answered Jun 22, 2016 by avibootz

Related questions

1 answer 139 views
3 answers 286 views
1 answer 150 views
1 answer 159 views
1 answer 151 views
1 answer 139 views
1 answer 210 views
...