Re: New to mac and trying to define a php.ini file.
| From: | Phil Dobbin | Date: | Wed, 04 Jan 2012 16:18:42 +0000 |
| Subject: | Re: New to mac and trying to define a php.ini file. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-316166@lists.php.net to get a copy of this message | ||
On 4/1/12 14:09, "Richard Quadling" <rquadling@gmail.com> wrote:
> Where do I put my php.ini file for a MacBook Air? I've only had it 2
> days and having trouble with the date.timezone setting.
>
> I've also had to install xampp (recommended - no idea about it) for
> Apache with PHP.
>
> Different versions of PHP now installed.
>
> Default from command line is PHP 5.3.6 with Suhosin-Patch (cli)
> (built: Sep 8 2011 19:34:00)
>
> The one that XAMPP installed is 5.3.1 and I've found the ini file for
> this is in /Applications/XAMPP/xamppfiles/etc/php.ini
If you want to use the php installed by xampp, you have to adjust the PATH
to php in your .bashrc/.bash_profile to suit.
There are about a million examples of how to achieve this on Google.
Cheers,
Phil...
--
Nothing to see here... move along, move along