find / -iname php.ini

or create a page with

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
        <title>Untitled</title>
</head>

<body>
<?echo(phpinfo());?>


</body>
</html>

Save it and then call it form your webserver. It'll tell you where the ini
is.

=C=
* Cal Evans
* Stay Plugged Into Your Audience
* http://www.christianperformer.com


-----Original Message-----
From: Kevin Paz [mailto:[EMAIL PROTECTED]
Sent: Friday, February 21, 2003 1:03 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Cannot find php.ini



        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?


Thanks in advance,

Kevin



--
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

Reply via email to