Connecting Tech Pros Worldwide Help | Site Map

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

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 12:31 AM
Sugapablo
Guest
 
Posts: n/a
Default PHP on a MacOS sever. Where is php.ini?

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 ]


  #2  
Old July 17th, 2005, 12:31 AM
Pedro
Guest
 
Posts: n/a
Default 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

  #3  
Old July 17th, 2005, 12:31 AM
Justin Koivisto
Guest
 
Posts: n/a
Default 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.

  #4  
Old July 17th, 2005, 12:31 AM
Sugapablo
Guest
 
Posts: n/a
Default 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 ]

  #5  
Old July 17th, 2005, 12:31 AM
Jan Pieter Kunst
Guest
 
Posts: n/a
Default 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" = @.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.