[quote]I compiled my own PHP (and I’m a newb at it too). If I make changes to PHP.INI, do I need to restart Apache? The change I make seems to have no effect.
You do not need to install PHP. If the changes you’re making aren’t effecting your site, then I recommend to make sure you’re using Your PHP and editing the file in the right place.[/quote]
With all due respect, my experience differs with this.
To explain: My website designs often require that I compensate for browser compatibilities (…if only IE could somehow die in a fire…) so I need to keep my browscap.ini updated; the DH copy of this file appears to be either non-existent or ancient beyond utility. I have tried setting an appropriately-updated php.ini file with the following:
browscap = /home/yourname/www.yourdomian.com/php_browscap.ini using the DH-native Apache-based PHP and it had no effect at all; worked just dandy using my own compiled version.
However if you do compile your own PHP, the datum for “Configuration File” from phpinfo() is definitely where the php.ini is located and should be appropriately modified and you must also have the appropriate .htaccess file with the following lines:
AddHandler phpFive .php
Action phpFive /cgi-bin/php.cgi
…in order to make Apache use the appropriate CGI script for PHP. It is also worthy to note that if either of the php.ini or the .htaccess file is uploaded in the inappropriate MSWindows text format that it may be ineffective or cause your site to fail altogether (…a 500-level error) respectively, so have a care when fiddling with config files.