php.ini can be in several different locations, the best way to identify
its location is to ask PHP where it is at (I have seen it in
/usr/local/etc, /etc, /usr/local/lib, /usr/local/conf, among others).
Construct a php file with phpinfo() like:
<?php
phpinfo();
?>
Then visit the page in your browser, now look for: Configuration File
(php.ini) Path section, it is in the top 1/5 of the page, this will give
you the directory PHP is looking for php.ini at.
You can also use filesystem utils such as locate php.ini or find / -name
php.ini
Jason
On Mon, 2002-12-23 at 09:53, Rick Emery wrote:
> For my Linux (RedHat 7.1), it's at /etc/php.ini
>
> ----- Original Message -----
> From: "Vicente Valero" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, December 23, 2002 10:25 AM
> Subject: [PHP] Forms
>
>
> I'm having problems using variables from a html form. I've been reading, and it
>seems that
> I have register_globlas=off in php.ini. But I've tried to find this file in my
>Linux, but
> I haven't been able to locate it. Could someone tell me where is it?
>
> Thank you
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php