Connecting Tech Pros Worldwide Help | Site Map

PHP on a MacOS sever. Where is php.ini?

Sugapablo
Guest
 
Posts: n/a
#1: Jul 17 '05
I have a client who is using a Mac OSX server. I'm logged in now, but I
cannot find php.ini. Is the file called something different on a Mac?

I need to locate the variable for max_uploads and increase the size.


--
[ Sugapablo ]
[ http://www.sugapablo.com <--music ]
[ http://www.sugapablo.net <--personal ]
[ sugapablo@12jabber.com <--jabber IM ]

Pedro
Guest
 
Posts: n/a
#2: Jul 17 '05

re: PHP on a MacOS sever. Where is php.ini?


Sugapablo wrote:[color=blue]
> I have a client who is using a Mac OSX server. I'm logged in now, but I
> cannot find php.ini. Is the file called something different on a Mac?
>
> I need to locate the variable for max_uploads and increase the size.[/color]

can you run a script with phpinfo()?
one of the things that tell you is the location of php.ini


HTH

Justin Koivisto
Guest
 
Posts: n/a
#3: Jul 17 '05

re: PHP on a MacOS sever. Where is php.ini?


Sugapablo wrote:
[color=blue]
> I have a client who is using a Mac OSX server. I'm logged in now, but I
> cannot find php.ini. Is the file called something different on a Mac?
>
> I need to locate the variable for max_uploads and increase the size.
>
>[/color]

sudo find / -name php.ini

--
Justin Koivisto - spam@koivi.com
PHP POSTERS: Please use comp.lang.php for PHP related questions,
alt.php* groups are not recommended.

Sugapablo
Guest
 
Posts: n/a
#4: Jul 17 '05

re: PHP on a MacOS sever. Where is php.ini?


Justin Koivisto wrote:
[color=blue]
> sudo find / -name php.ini[/color]

Did that. Came up empty. That's what I thought was weird. But PHP
pages are obviously working so...


--
[ Sugapablo ]
[ http://www.sugapablo.com <--music ]
[ http://www.sugapablo.net <--personal ]
[ sugapablo@12jabber.com <--jabber IM ]

Jan Pieter Kunst
Guest
 
Posts: n/a
#5: Jul 17 '05

re: PHP on a MacOS sever. Where is php.ini?


In article <bmeaik$m19mf$1@ID-203069.news.uni-berlin.de>,
Pedro <hexkid@hotpop.com> wrote:
[color=blue]
> can you run a script with phpinfo()?
> one of the things that tell you is the location of php.ini[/color]

And if there isn't one at that location you can create one (copy a
'recommended' ini file there and edit it).

JP

--
Sorry, <devnull@cauce.org> is een "spam trap".
E-mail adres is <jpk"at"akamail.com>, waarbij "at" = @.
Closed Thread