Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding multiple extensions to PHP.INI

Tags:

php

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
like image 454
Daniel Williams Avatar asked Jun 15 '26 08:06

Daniel Williams


1 Answers

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
like image 60
Blackcoat77 Avatar answered Jun 17 '26 20:06

Blackcoat77



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!