> I've taken over a redhat server with apache/php4.1. I need to enable > register_argc_argv but I can't find the php.ini file (I've searched the > entire system). > > Would creating a new php.ini file with only register_argc_argv line work? > Where's the default location for php.ini?
Load up a page with phpinfo() in it. In the first block, it'll tell you the location of php.ini that the installation is using. If it's only a directory, then that's where it expects to find php.ini, but it's not there. If it's a full path including php.ini, then that's where it is. If there's still no file present, then you can go to http://cvs.php.net/co.php/php4/php.ini-dist to get the latest copy from CVS. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php