Take the 2-minute tour ×

I want to two split php.ini into two files so that I can move important entries to a new file. I think it is a .ini file so, any rule for creating partial .ini files will also apply to it. Is it possible to do so? If yes, how?

share|improve this question

closed as not a real question by bybe, John Conde Apr 14 '13 at 15:36


add comment

1 Answer

up vote 0 down vote accepted

Generally you would not split a php.ini file unless it was a direct copy, you would make a script that would generate a new php.ini in the location of your choice with the rules that you require.

Your best bet would be to do a little ground work on how to generate text based files in Windows or Linux whichever is your hosting environment and then when you have some code your stuck on, post it on Stack OverFlow.

share|improve this answer
add comment
