Re: Cannot find php.ini
| From: | Ernest E Vogelsinger | Date: | Fri, 21 Feb 2003 20:42:39 +0000 |
| Subject: | Re: Cannot find php.ini | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136559@lists.php.net to get a copy of this message | ||
At 20:03 21.02.2003, Kevin Paz spoke out and said:
--------------------[snip]--------------------
>
> 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).
try (as root)
# update the locate database
locate -u
# look for it
locate php.ini
> Would creating a new php.ini file with only register_argc_argv line
> work?
>Where's the default location for php.ini?
I believe this would be error-prone, although the default values should
work well. The actual location of php.ini is determined at compile time, I
believe. For a RedHat system the default location for php.ini is /etc (at
least our RH7.2 came preconfigured this way).
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/