Help - Search - Members - Calendar
Full Version: php.ini for each domain
The Planet Forums > Control Panels > Plesk > Plesk HOWTOs
sir_octet
Hi guys!

Is it possible to make Zend optimizer available only for one domain name through vhost.conf or any other methods instead of putting the following lines in /etc/php.ini?

[Zend]
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2_6_2
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-2_6_2
zend_optimizer.version=2.6.2
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

I'm using Plesk...

Many thanks!
kamihacker
I highly doubt that

browse around sw-soft forums for plesk, but the odds of that being possible are really low

regards
rexw
I don't think this is possible in the conf files, as I believe zend has to be loaded before the pages load. Only way I can think of is by using suPHP. We have this set up on our server and use custom php.ini files for several domains.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.