Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Need help with PHP in OSX.

Need help with PHP in OSX.
Thread Tools
Fresh-Faced Recruit
Join Date: Aug 2002
Location: London
Status: Offline
Reply With Quote
Jan 28, 2003, 07:47 PM
 
Hi all,

Just getting into PHP on OSX and have installed 4.3 and am testing files locally on my iBook.

What I need to know is where the hell do I configure it?

The first think I want to do is to turn on the 'register_globals'

Any help would be nice.

Cheers,

Kia.
     
TC
Senior User
Join Date: Mar 2001
Location: Milan
Status: Offline
Reply With Quote
Jan 29, 2003, 07:34 AM
 
Check out the instructions on this page:

http://www.entropy.ch/software/macosx/php/
Nothing to see, move along.
     
Senior User
Join Date: Jul 2000
Status: Offline
Reply With Quote
Jan 29, 2003, 07:43 AM
 
How did you install PHP 4.3? Did you download the source, compile it, and install it from there? If so, then you will have to move the default config file to the proper location and edit it from there. Try looking in /usr/local/lib for a file named 'php.ini'. If it does not exist, then look in the direcotry of the source code for a file called 'php.ini-dist' or something to that affect.

If you installed 4.3 from some premade package, then try looking in /usr/lib and /usr/local/lib for the php.ini file.

Once you have located the php.ini file, you can edit it. Near the top of the file, there is the option to turn on the register_globals.
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:18 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2