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? Quote Link to comment 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. Quote Link to comment 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? Quote Link to comment 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? Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
neogranas Posted October 13, 2008 Author Share Posted October 13, 2008 Eerr.., Fedora, not Fefora. Quote Link to comment Share on other sites More sharing options...
neogranas Posted October 17, 2008 Author Share Posted October 17, 2008 Nothing? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.