• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Plesk Domain php configuration

U

ugs

Guest
Hello,

for a Domain in Plesk 8.3.0 Zend Optimizer is to be installed.

I have the files in the Hosting account unpacked. Now the Zend Extension must be still loaded.

The following must be registered in php.ini:
zend_optimizer.optimization_level=15
zend_extension=/srv/www/vhosts/domain/httpdocs/zend/data/5_1_x_comp/ZendOptimizer.so

How can I provide its own php configuration for the Domain? What do I have to make in Plesk?

Thank you for your answers.
 
Hello,

I provided a .htaccess file with the following PHP data:

php_value zend_optimizer.optimization_level=15
php_value zend_extension=/srv/www/vhosts/domain/httpdocs/zend/data/5_1_x_comp/ZendOptimizer.so

If I call the Domain, I receive a server error 500. I could not find a message in the Logs. Can someone help me?

Thank you for your answers.
 
Hello,

I provided a .htaccess file with the following PHP data:

php_value zend_optimizer.optimization_level=15
php_value zend_extension=/srv/www/vhosts/domain/httpdocs/zend/data/5_1_x_comp/ZendOptimizer.so

If I call the Domain, I receive a server error 500. I could not find a message in the Logs. Can someone help me?

Thank you for your answers.

Hi,

php_value can only be used with PHP_INI_ALL and PHP_INI_PERDIR type directives.
I am not sure which type zend_optimizer.optimization_level is and can not say exactly whether it can be change with php_value or no.

However you can try defining it using php_admin_value which does not have such restrictions. But you should enter php_admin_value in domain vhost.conf file as php_admin_value can not be set in .htaccess files:
http://us2.php.net/configuration.changes

Here is howto on including directives in vhost.conf:
http://download1.parallels.com/Ples...plesk-8.3-unix-administrators-guide/17359.htm

Hope this helps.
 
Back
Top