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) [PHP1.09] Why isn't my custom php.ini working? There are a few common reasons why custom php.ini files won't work. Check the file name Often if you're saving it in Windows - for example with Notepad - the file may have been accidentally named "php.ini.txt". Please ensure this isn't the case. Do you have more than one php.ini in your webspace? php.ini files in child directories take precedence over any parent directories. Make sure you don't have an additional php.ini file which is taking precedence. Best practise is to include a single php.ini file in your public_html directory, this will affect all PHP scripts within your webspace, including all subdirectories. Have you set any PHP directives within your site's code? This is very common within certain CMS systems. If you set one memory limit within a php.ini file, and another within your site's code, the latter will take precedence. Are your directives syntactically correct? If commands are misspelt or malformed, they will not function correctly. Consult http://www.php.net to ensure that your commands are correct.If you are still having difficulties, please contact support. Make sure you include any settings that you are attempting to modify, the expected results of the setting along with the actual results. Was this answer helpful? Yes No Print this Article Also Read [PHP1.08] My script needs a higher memory allocation, how do I increase it? You can create your own php.ini file inside whatever sub-directory your script is in. There's a... [PHP1.06] Possible issues with OSCommerce and MySQL5 We have been made aware that some customers may have issues with their OSCommerce installations... [PHP1.05] Why does my PHP script fail with 'Fatal error: Allowed memory size of 8388608 bytes exhausted'? PHP has a built-in limit on the amount of memory it will allocate. If that limit is reached, the... [PHP1.02] Why does my script produce a 'file permissions error'? CGI scripts need certain file permissions to be set if they are to work properly. In general CGI... [PHP1.07] Why is my scheduled task (CRON job) not running? If the scheduled task did not run check the following before contacting support.1) The file... Support My Support Tickets Announcements Knowledgebase Downloads Network Status Open Ticket × Close Title Loading...