Re: Can't find php.ini on my Linux/Apache module install
| From: | Ben Peter | Date: | Tue, 27 Feb 2001 06:08:47 +0000 |
| Subject: | Re: Can't find php.ini on my Linux/Apache module install | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41803@lists.php.net to get a copy of this message | ||
Ken,
if PHP is 'built in' to apache (--with-apxs, besides other ways to
achieve this), it is configured through Apache. This is either
httpd.conf, or .htaccess files within your web tree.
The 'configuration' section in the manual is more specific on that.
Cheers,
Ben
Ken wrote:
>
> I can't seem to locate the php.ini file on my system.
>
> Here's some pertinent info from phpinfo():
>
> PHP Version 4.0.4pl1
> System Linux i686 unknown
> Configure Command './configure' '--with-mysql' '--with-apxs'
> '--enable-versioning'
> Server API Apache
> Configuration File (php.ini) Path /usr/local/lib
>
> find -name php.ini reveals no php.ini file.
>
> /usr/local/lib contains a php directory. The php directory seems to only contain PHP 4.0
> source code.
>
> There IS a php3.ini file on the system, from a previous install. Is there any chance that this
> file is still being used?
>
> Where SHOULD this file be? And how do I find out for sure which one it is? Is it possible
> that it doesn't exist? If not, does that mean I could create one in /usr/local/lib? Where am
> I supposed to get a default version?
>
> Thanks,
>
> Ken
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net