Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8658011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T15:39:47+00:00 2026-06-12T15:39:47+00:00

I just managed to install the latest php version using this guide Upgrading the

  • 0

I just managed to install the latest php version using this guide

Upgrading the Native PHP Installation on OS X Mountain Lion (Aug 2012 by Bruno Skvorc) and now I wonder should the php.ini file be located.

When I am at the terminal and I give the command php --ini I get the following path :

/usr/local/lib

When I execute phpinfo() in a script I get the following php.ini path :

/etc

Where should I put php.ini file and what should I put in it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T15:39:48+00:00Added an answer on June 12, 2026 at 3:39 pm

    php -ini shows the location of the binary’s .ini file (ie calling PHP not through a browser)
    phpinfo() shows the location of the version used by the server (ie calling PHP through a browser)

    I dont know what you want in there, the ini file allows you to customize php to your use of php. I dont know what you want out of it ?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just started with JQuery and I've managed to pass a parameter using POST, firebug
I just managed to install my cuda SDK under Linux Ubuntu 10.04. My graphic
I can build a managed custom action just fine using the DTF tools (I.E
I am running Mountain Lion, none RVM managed. I have attempted: middleman server -p
Just managed to install WordPress on SQL 2008 R2 . How to find and
I am trying to install Django 1.0, I can install latest version of Django
We are using Install4J for our current version of our software and install MySQL
I just need clarification on what a managed prototype is. I think it is
I have just created a report in Report Manager using a Stored Procedure which
I manage a CakePHP 1.1 CMS website, and our hosts just upgraded PHP to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.