Re: Cannot find php.ini

From: Date: Fri, 21 Feb 2003 19:15:34 +0000
Subject: Re: Cannot find php.ini
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-136557@lists.php.net to get a copy of this message
> 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...

« previous php.general (#136557) next »