doubledee Posted April 28, 2011 Share Posted April 28, 2011 Where would the php.ini file typically be on a Linux VPS? Debbie Quote Link to comment https://forums.phpfreaks.com/topic/234939-where-is-phpini-file-at/ Share on other sites More sharing options...
Pikachu2000 Posted April 28, 2011 Share Posted April 28, 2011 phpinfo will tell you exactly where the loaded ini file is. Quote Link to comment https://forums.phpfreaks.com/topic/234939-where-is-phpini-file-at/#findComment-1207371 Share on other sites More sharing options...
doubledee Posted April 28, 2011 Author Share Posted April 28, 2011 phpinfo will tell you exactly where the loaded ini file is. This is on a VPS, so how would do that? Debbie Quote Link to comment https://forums.phpfreaks.com/topic/234939-where-is-phpini-file-at/#findComment-1207376 Share on other sites More sharing options...
Pikachu2000 Posted April 28, 2011 Share Posted April 28, 2011 Did you read the manual entry in the link? Quote Link to comment https://forums.phpfreaks.com/topic/234939-where-is-phpini-file-at/#findComment-1207379 Share on other sites More sharing options...
doubledee Posted April 28, 2011 Author Share Posted April 28, 2011 Did you read the manual entry in the link? It's *really* hard to see hyperlinks on this forum... So is it safe to use phpinfo() on a production server that the whole world could see?! Debbie Quote Link to comment https://forums.phpfreaks.com/topic/234939-where-is-phpini-file-at/#findComment-1207384 Share on other sites More sharing options...
Pikachu2000 Posted April 28, 2011 Share Posted April 28, 2011 You should only only leave it in there long enough to get the info you need, then delete it. You should be fine doing it that way. Quote Link to comment https://forums.phpfreaks.com/topic/234939-where-is-phpini-file-at/#findComment-1207385 Share on other sites More sharing options...
doubledee Posted April 28, 2011 Author Share Posted April 28, 2011 You should only only leave it in there long enough to get the info you need, then delete it. You should be fine doing it that way. Okay, thanks. This is related to a problem I'm having with a form being re-submitted here: http://www.phpfreaks.com/forums/index.php?topic=331630.0 I was actually able to get my web host to confirm that... Register_Globals = Off Thanks for the php.ini tips, though. Debbie Quote Link to comment https://forums.phpfreaks.com/topic/234939-where-is-phpini-file-at/#findComment-1207389 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.