• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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