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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sugapablo

    #1

    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@12jab ber.com <--jabber IM ]

  • Pedro

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

    Comment

    • Justin Koivisto

      #3
      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.

      Comment

      • Sugapablo

        #4
        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@12jab ber.com <--jabber IM ]

        Comment

        • Jan Pieter Kunst

          #5
          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" = @.

          Comment

          Working...