Steve
Steve

Reputation: 29

How to check if these php modules like mod_php5.c are installed on my server?

How do I check if mod_php5.c, mod_suphp.c and mod_rewrite.c are installed on my server?

Tried searching there before posting here, but I can't find any with these names, does that mean they're not installed? Or if it's installed, where does it show in the phpinfo()?

I'm using WHM/CPANEL, Cent OS.

Upvotes: 0

Views: 3720

Answers (2)

Malay M
Malay M

Reputation: 1759

You can use <?php phpinfo(); ?> to check php list of active php modules.

active php modules in phpinfo via chrome

Upvotes: 2

Sourabh Kumar Sharma
Sourabh Kumar Sharma

Reputation: 2817

create a file with name like info.php and write the below code in it and execute and see all the php information in it.

    <?php
      phpinfo();
    ?>

Upvotes: 3

Related Questions