Daniel Williams
Daniel Williams

Reputation: 2317

Adding multiple extensions to PHP.INI

I have two extensions I want to add. Do I add these separately like:

extension=php_ftp.dll
extension=php_openssl.dll

Or are they added like an array?

extension=php_ftp.dll,php_openssl.dll

Upvotes: 3

Views: 6484

Answers (1)

Blackcoat77
Blackcoat77

Reputation: 1625

Yes. Line by line. One line for each extension you want to enable. After enabling them, restart your server, and check if they are loaded in php.ini file:

<?php
phpinfo();
?>

Or from command line:

drive:\\path\to\php\executable\php.exe -i

Upvotes: 4

Related Questions