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

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -