Re: Mac Os X - Where is php.ini file?

From: Date: Sun, 25 Aug 2002 17:59:11 +0000
Subject: Re: Mac Os X - Where is php.ini file?
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-8213@lists.php.net to get a copy of this message
Roland Swingler schrieb:
Hi Small problem ... have installed php on Mac OSx following the instructions on macosx.org (binary install) but I cannot find the php.ini file. The phpinfo test file claims it is in /usr/local/lib, but when I go into the shell to look for it, there is no lib directory in /usr/local/ Where is it? What am I doing wrong? TIA Roland
Hi Roland, it seems as if the binary distribution doesn't install a php.ini file. So just create an /usr/local/lib directory and get a sample php.ini file from www.php.net (a sample is in every binary download as far as I know and should be in the source code downloads too) copy it to the designated directory, edit the parameters you want to change and restart apache. This should be the solution. Greetings Markus

« previous php.install (#8213) next »