[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.13] Mime magic is not enabled

To enable mime magic, add the following to your php.ini file:mime_magic.magicfile =...

[PHP3.04] What is PHP?

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

[PHP3.06] What file extensions can run PHP?

PHP will run all files with the following extensions by default:-.php.php3.php4.php5.php4 files...

[PHP3.07] Do you support Blogs on your packages?

Yes we do - you'll need to select a package that includes MySQL databases as all major blogging...

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

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