neogranas Posted October 13, 2008 Share Posted October 13, 2008 I've scoured google, the OS forums for my linux distribution, apache.org, php.net and other places. I couldn't find anything on how to set up my home server to have a php.ini file work outside /etc I've tried putting a php.ini with the settings I want in the directory I need them in, but it didn't recognize it. I made the same changes to /etc/php.ini and it recognized the changes so I know I've got the right syntax. I searched this website and found this post about it, but the link posted no longer works for me. Can anyone tell me what I would need to do in order to allow a php.ini file to be accepted outside the root of my server? Link to comment https://forums.phpfreaks.com/topic/128273-phpini-per-directory/ Share on other sites More sharing options...
trq Posted October 13, 2008 Share Posted October 13, 2008 You need to install php as a cgi binary not an apache module. Link to comment https://forums.phpfreaks.com/topic/128273-phpini-per-directory/#findComment-664407 Share on other sites More sharing options...
neogranas Posted October 13, 2008 Author Share Posted October 13, 2008 I may be wrong, but I think I did do that. I don't have mod_php installed either. Do you happen to have a walk through on how to install through the method you mentioned so I can be sure I have it right? Link to comment https://forums.phpfreaks.com/topic/128273-phpini-per-directory/#findComment-664408 Share on other sites More sharing options...
trq Posted October 13, 2008 Share Posted October 13, 2008 I've not used php as a cgi but I might be able to help, what distro are you using? Link to comment https://forums.phpfreaks.com/topic/128273-phpini-per-directory/#findComment-664436 Share on other sites More sharing options...
neogranas Posted October 13, 2008 Author Share Posted October 13, 2008 Fefora 9 Kernel 2.6.26.3-29.fc9.i386 PHP 5.2.6 Apache 2.2.9 Link to comment https://forums.phpfreaks.com/topic/128273-phpini-per-directory/#findComment-664447 Share on other sites More sharing options...
neogranas Posted October 13, 2008 Author Share Posted October 13, 2008 Eerr.., Fedora, not Fefora. Link to comment https://forums.phpfreaks.com/topic/128273-phpini-per-directory/#findComment-664473 Share on other sites More sharing options...
neogranas Posted October 17, 2008 Author Share Posted October 17, 2008 Nothing? Link to comment https://forums.phpfreaks.com/topic/128273-phpini-per-directory/#findComment-668071 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.