Toggle navigation Home Store Browse All ----- Webhosting Domains Quotation (Webdesign Services) eMail Hosting SEO- Search Engine Optimisation GRAPHIC DESIGN Dedicated/ VPS Webhosting BULKSMS Mobi Applications Website Maintenance Register a New Domain Transfer Domains to Us Announcements Knowledgebase Network Status Affiliates Contact Us Account Login Register ----- Forgot Password? Categories 9 CGI Scripts 34 Databases 28 Dedicated Servers 1 DNS 15 Domains 5 eCommerce 79 eMails 27 FTP 1 General Issues 1 MX Records 1 Nameservers 28 Other 104 Scripting 254 Web Hosting Control Panel 9 Web Resources 8 Web Stats & Logs 11 Web Tools 8 Website Help and Diagnostics 4 Windows Hosting Categories CGI Scripts (9) Databases (34) Dedicated Servers (28) DNS (1) Domains (15) eCommerce (5) eMails (79) FTP (27) General Issues (1) MX Records (1) Nameservers (1) Other (28) Scripting (104) Web Hosting Control Panel (254) Web Resources (9) Web Stats & Logs (8) Web Tools (11) Website Help and Diagnostics (8) Windows Hosting (4) [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 files. These are plain text files (use Notepad if running Windows, TextEdit in Plain Text mode on Mac), which contain directives such as:-memory_limit = 24MA complete list of php.ini directives can be found here:-http://www.php.net/manual/en/ini.list.php-: you should only set these as per the requirements of your application as other settings may cause your scripts to malfunction or be vulnerable to attack.You should name this file php.ini, unless otherwise required, it should be located in the root of your hosting package (ie, above public_html).php.ini files can be used for very fine-grained control - a PHP script will pick up the settings in the php.ini file closest to it, so you can enable functions for a single folder rather than the whole site - this is useful when running CMSes on subdomains. Was this answer helpful? Yes No Print this Article Also Read [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.04] What is PHP? Self-referentially short for PHP: Hypertext Preprocessor, an open source, server-side, HTML... [PHP3.12] How do I connect to another database on another server from my PHP script? A connection is made to a database with the usual... [PHP3.13] Mime magic is not enabled To enable mime magic, add the following to your php.ini file:mime_magic.magicfile =... [PHP3.17] Using PHP5 makes all my products disappear in OSCommerce We have updated our version of php so the default used is PHP5 rather than PHP4. This can cause... Support My Support Tickets Announcements Knowledgebase Downloads Network Status Open Ticket × Close Title Loading...