[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.02] What modules are installed on the server?

Simply log into your Hosting cPanel v7.5 Control Panel and select Web Diagnostics. Under that...

[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.15] How do I edit php.ini (PHP settings) for my hosting package?

Becuase of the way in which we run PHP, you are able to customise its behaviour with php.ini...

[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...