Welcome to WebmasterWorld Guest from 18.206.48.142

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

php.ini at directory level not working

     
3:47 am on Feb 25, 2008 (gmt 0)

Full Member

10+ Year Member

joined:Oct 6, 2004
posts:281
votes: 0


Hi there.

I can't seem to get php to use php.ini files besides my main file. I'm running php 5.1.6 on apache 2.

Any ideias on what may be causing this?

Thanks!

9:38 pm on Feb 25, 2008 (gmt 0)

Administrator

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
posts:12555
votes: 3


You can set PHP directives in per-directory context (Apache <Directory> containers in your Apache conf, or .htaccess files). You don't actually create another php.ini file. See the PHP manual pages on Runtime Configuration [php.net] and How to change configuration settings [php.net] for more information.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members