简体   繁体   中英

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM