NYCPHP Meetup

NYPHP.org

[nycphp-talk] php.ini

Matthew Zimmerman matthew.zimmerman at nyu.edu
Tue Jul 16 10:41:48 EDT 2002


Thanks Larry and Oktay!

I did not occur to me that the file might not exist. I created one 
containing the one variable I wanted to change and dropped it in that 
directory, restarted Apache, and bingo, it worked!

Thanks so much!

Matt

----- Original Message -----
From: Oktay Altunergil <nyphp at altunergil.com>
Date: Tuesday, July 16, 2002 10:02 am
Subject: Re: [nycphp-talk] php.ini

> I'm pretty sure MacOS X has the 'find' command. Maybe even 'locate'.
> 
> Try 'locate php.ini' first. If that doesn't work try the following 
> as root. 
> 
> find / | grep php.ini    
> 
> (there's a regexp issue there that you can ignore--for simplicity)
> 
> On another note, not seeing the file where phpinfo.php claims it 
> is might mean that you don't have a copy on your system. Try 
> dropping the file there yourself (it doesn't need to be complete.. 
> a one line option will do fine) set an option and test if it makes 
> a difference after restarting your web server.
> 
> Oktay Altunergil
> 
> 
> On Tue, 16 Jul 2002 09:56:37 -0400
> Matthew Zimmerman <matthew.zimmerman at nyu.edu> wrote:
> 
> > Hey folks,
> > 
> > Trying to find the php.ini file on my system.
> > 
> > I am running Mac OS X and PHP 4.2.1
> > 
> > Someone else installed and set up PHP on this machine, but I do 
> have 
> > admin access.
> > 
> > The PHP info function shows me that it is located in 
> /usr/local/lib but 
> > when I open a terminal and go to that directory the file is not 
> there.> 
> > Anyone else using Mac OSX who could help me?
> > 
> > Matt Zimmerman
> > NYU
> > 
> > 
> 
> 




More information about the talk mailing list