Search


print PDF
Php configuration

This manual describes how to change variables in the php.ini file according to your needs. You may change the php.ini configuration under this link:

http://type of offer.ovh.net/test.php e.g. for 60gp --> http://60gp.ovh.net/test.php


Change of value via SetEnv
You can make changes to register_globals, magic_quotes, Zend Optimizer, choice of php: php4 or php5 via SetEnv of a .htaccess file. You just need to create this file on your account and enter the directives you need.

Example

SetEnv REGISTER_GLOBALS 0
SetEnv ZEND_OPTIMIZER 1
SetEnv MAGIC_QUOTES 1
SetEnv PHP_VER 5



The example shows how to turn off REGISTER_GLOBALS, turn on ZEND_OPTIMIZER and MAGIC_QUOTES and use php5. The above options may be used according to your needs. Choose what suits you best!


Configuration of session.use_trans_sid

This option allows you to configure session id, so that it is a part of the url or appears in cookies. You just need to edit .htaccess to have the following content:

SetEnv SESSION_USE_TRANS_SID 0


Session id will be in cookies.

Ioncube Configuration

Attention: The loading of Ioncube requires the deactivation of Zend Optimizer and the use of PHP 5!

SetEnv IONCUBE 1
SetEnv ZEND_OPTIMIZER 0
SetEnv PHP_VER 5