apache - Loading php extension for specific domain only -
I have a dedicated LAMP server with more than one domain I just want to load a php extension for one domain it's possible?
Edit your VirtualHost configuration.
Make a copy of php .ini file Add that extension to which you need it. Store it in a different directory.
Use PHPIniDir in your config for a specific site and point to that new directory, which includes the new php.ini
Restart Apache. > Your config will load and will use different php.ini file.
Comments
Post a Comment