I'm looking at the ubuntu sets up php for both apache (mod_php) and php cli. They have one configuration ini in /etc/php5/apache2/php.ini which contains settings for apache+php and another configuration ini in /etc/php5/cli/php.ini for php cli. How do I duplicate these settings? I'm compiling php in a rhel environment
when you compile php, you will need to compile it twice. so what you can do is first check out your php info for the mod_php and than your cli. they may be compiled differently.
so for mod_php, you might do something with:
for php cli:
it is importantly to not configure apxs2 while you are configuring your cli.
Those values are hard coded at compile time. On Debian/Ubuntu packages these paths appear to be modified via the
On a Debian/Ubuntu system do an