Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 18, 2012, 10:52 AM   #1
orvn
macrumors 6502
 
Join Date: Jan 2011
Location: Toronto, Canada
Where is php.ini in Lion?

(first of all I know this forum doesn't apply to web programming, but I thought this relevant because it has to do with OSX directory structure)

I'm a little confused. I wanted to run some PHP right on my Mac, uncommented httpd.conf, activated web sharing, installed MySQL etc.

I can't seem to find my PHP files, most importantly, PHP.ini.

On my old machine it was located in /usr/local/php5/lib
But PHP5 doesn't exist in /usr/local..

Do I need to get a package or am I looking in the incorrect place?

Running OS X 10.7.3, PHP 5.3.8, Apache/2.2.21
Thanks.

Last edited by orvn; Feb 18, 2012 at 11:04 AM.
orvn is offline   0 Reply With Quote
Old Feb 18, 2012, 11:26 AM   #2
CheesePuff
macrumors regular
 
Join Date: Sep 2008
Location: Rochester, NY
should be in /etc
CheesePuff is offline   0 Reply With Quote
Old Feb 18, 2012, 11:51 AM   #3
chown33
macrumors 603
 
Join Date: Aug 2009
Terminal command line:
Code:
locate php.ini
chown33 is offline   0 Reply With Quote
Old Feb 18, 2012, 01:26 PM   #4
robvas
macrumors 68000
 
Join Date: Mar 2009
Location: USA
Quote:
Originally Posted by chown33 View Post
Terminal command line:
Code:
locate php.ini
Is the database for locate created by default in OS X?

There's a file /etc/php.ini.default
robvas is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Tags
lion, php, php.ini

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Where is iOS 6 in Mountain Lion? Mad Mac Maniac iOS 5 and earlier 36 Feb 22, 2012 11:21 AM
Where is the OS X Lion user manual? hakr100 OS X 14 Dec 7, 2011 04:59 AM
where are the plists in Lion? Rowf Mac OS X 10.7 Lion 5 Aug 9, 2011 08:45 PM
Clean install but where are the wallpapers in Lion? cl0ud Mac OS X 10.7 Lion 1 Jul 22, 2011 08:38 PM
Where is the Mac OS Lion Installer? zgh1999 Mac OS X 10.7 Lion 7 Jul 20, 2011 04:03 PM


All times are GMT -5. The time now is 08:09 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC