[PHP3.14] Can I change php.ini settings under my Windows hosting account?

You can put a php.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.

Was this answer helpful?

 Print this Article

Also Read

[PHP3.01] How can I upload my MySQL database?

There are numerous ways to upload a MySQL database, we would strongly recommend trying methods 2...

[PHP3.05] 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...

[PHP3.11] What PHP5 modules do you support?

Print NowWhat PHP5 modules do you support?The following modules are available:-MySQL ClientGD...

[PHP3.03] What version of PHP does Hosting cPanel run?

You can find out the version of different programs that Hosting cPanel run by logging into your...

[PHP3.04] What is PHP?

Self-referentially short for PHP: Hypertext Preprocessor, an open source, server-side, HTML...