-
Custom php.ini not loading
Hi all, I have a hopefully simple question.
I just created a custom php.ini file for one of my subdomains. But when I run phpinfo() on a php script in the same folder as the php.ini file it says the "Loaded Config File" is still coming from the default location in "/usr/local/lib/php.ini". My site's behavior is telling me the same.
I am not running in FastCGI or "one php.ini file for all" mode. My other subdomains are working just fine. The security on the file is 644, just like all of my php.ini files.
Can anyone think of a reason this one would not load?
-
It turns out I had a bad line in my .htaccess file.
It was:
AddHandler application/x-httpd-php5s .php
and should have been:
AddHandler application/x-httpd-php5 .php
I have Joshua from the support team to thank for the solution. Hopefully this helps somebody else down the road.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules