Can I change php.ini/user.ini settings under my Windows hosting account?

You can put a user.ini file in your FTP directory root (below the public_html directory) otherwise the configuration will default to the global php.ini on the web server. To avoid problems you should ensure that in your php.ini file you must set cgi.force_redirect=0 This is necessary for PHP to work inside IIS.

For Zend Optimizer and ioncube loader you will need to add the following lines:

zend_extension_ts="C:\ioncube\ioncube\ioncube_loader_win_5.2.dll" zend_extension_manager.optimizer_ts="C:\Program Files\Zend\ZendOptimizer-3.3.0\lib\Optimizer-3.3.0" zend_extension_ts="C:\Program Files\Zend\ZendOptimizer-3.3.0\lib\ZendExtensionManager.dll"

For other extensions you will need to declare the extension directory followed by the relevant extension directive:

extension_dir="C:\PHP\ext" extension=php_mysql.dll extension=php_mbstring.dll

Unfortunately, this feature is not available for the temporary URL.

** Once changes have been made you will need to contact support when you have uploaded your user.ini file in order for your hosting to be configured to pick this file up. **

  • 56 Пользователи нашли это полезным
Помог ли вам данный ответ?

Связанные статьи

Is PHP a CGI or Apache module?

PHP runs as a CGI at GreenBackEnd Hosting. This is because it is more secure than running it as...

Can I place a PHP script in any directory I choose?

Yes. PHP scripts do not have to reside in any particular directory and will run anywhere in your...

What are the correct file permissions for a PHP file?

As a general rule, the permissions of a PHP file should take one of two sets of values, either...

Can I override php.ini/.user.ini settings?

Note: On our new platform, custom PHP settings need to be declared in a file called .user.ini,...

Does GreenBackEnd Hosting support Image::Magick?

Yes we do, and in case you need to know the exact version number, at the time of writing, the...