Default php.ini location OS X

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
frankc
-


Joined: 24 Jul 2010
Posts: 6

PostPosted: Wed Aug 25, 2010 10:42 am    Post subject: Default php.ini location OS X Reply with quote

Can anyone answer..

Is it possible to overide the default php.ini location in the precompiled php download from aprelium (for OS X).
It seems hardwirde to an /Application/PHP/... path and does not seem to accept any other location.

Regards

Frank C.
Back to top View user's profile Send private message
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1295

PostPosted: Wed Aug 25, 2010 1:54 pm    Post subject: Re: Default php.ini location OS X Reply with quote

frankc,

As far as we know, it is always possible to have PHP use another directory for its .ini files by adding a -c switch on its command line.

In other words, in the PHP interpreter declaration in the console, just enter in "Arguments" the following:

-c /path/to/folder

/path/to/folder is the path of the directory that contains your php.ini file.
_________________
Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com
Back to top View user's profile Send private message
frankc
-


Joined: 24 Jul 2010
Posts: 6

PostPosted: Wed Aug 25, 2010 7:39 pm    Post subject: Reply with quote

Apologies I should have been more specific with my request...

No matter what one puts here....



This is the only thing that works (shows).....



This seems to be hardwired?

Regards

Frank C.
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group