Brett Cohen
Brett Cohen

Reputation: 161

Adding new PHP modules

I am having problems with my IMAP PHP module installation and want to try either installing this module again without recompiling PHP (is this possible?) or at least look at the configuration of all of the PHP modules. After doing some Googling, I am still at a loss as to how to:

  1. Install new PHP modules without recompiling PHP, if possible.
  2. Configure the installed PHP modules.

I notice that the IMAP module appears on a webpage with <?php php_info(); ?> but does NOT appear with php -i on the command line.

Any help would be appreciated. Thank you!

Upvotes: 2

Views: 5746

Answers (1)

xofer
xofer

Reputation: 1030

Check the ini file(s) referenced in the output of php -i. The CLI uses a different php.ini file, and you may need to enable the module in that php.ini.

Upvotes: 3

Related Questions