RE: [PHP] register_global variables on Mac OS X
| From: | John W. Holmes | Date: | Wed, 09 Oct 2002 03:09:44 +0000 |
| Subject: | RE: [PHP] register_global variables on Mac OS X | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-119376@lists.php.net to get a copy of this message | ||
I checked and it's actually php.ini-dist or php.ini-recommended. You can
get them from within the source download from php.net or if you can take
a zip/rar, I'll send them to you.
---John Holmes...
> -----Original Message-----
> From: Jule Slootbeek [mailto:jslootbeek@clarku.edu]
> Sent: Tuesday, October 08, 2002 10:55 PM
> To: holmes072000@charter.net
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] register_global variables on Mac OS X
>
> well, there is no such file, i searched all over my drive, and there
is
> no php-ini.* php_ini.*
> i guess i could try getting a php.ini file from somewhere and putting
> it in the /usr/local/lib dir
> but i wouldn't know where to get a 'standard' php.ini file
>
> Jule
>
> On Tuesday, Oct 8, 2002, at 22:43 US/Eastern, John W. Holmes wrote:
>
> > You may not have one right now and PHP is using it's defaults. Look
for
> > a php-ini.dist or php-ini.recommended in the php folder. Modify one
of
> > those and save it as php.ini. But, I have no idea where to save it
on a
> > Mac.
> >
> > Like the other poster said, load up a <? phpinfo(); ?> page through
> > your
> > browser and PHP may tell you where it thinks php.ini should be.
It'll
> > be
> > in the first block that appears on the page created by phpinfo().
> >
> > ---John Holmes...
> >
> >> -----Original Message-----
> >> From: Jule Slootbeek [mailto:jslootbeek@clarku.edu]
> >> Sent: Tuesday, October 08, 2002 10:32 PM
> >> To: php-general@lists.php.net
> >> Subject: [PHP] register_global variables on Mac OS X
> >>
> >> Hi,
> >> i just installed PHP under Mac OS X and now i was looking around
> > trying
> >> to find the php.ini file, or its equivalent, in order to turn
> >> register_globals to on, so i don't have to go through 15 pages of
code
> >> and change all my variables to $_POST['foo'] but i couldn't find
> >> anywhere where this action could be done. So i was wondering if
> > anybody
> >> had experience with PHP under Jaguar, and could lend me a hand.
> >>
> >> TIA,
> >>
> >> Jule Slootbeek
> >> jslootbeek@clarku.edu
> >>
> >>
> >> --
> >> PHP General Mailing List (http://www.php.net/)
> >> To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> Jule Slootbeek
> jslootbeek@clarku.edu