| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		frankc -
 
  Joined: 24 Jul 2010 Posts: 6
 
  | 
		
			
				 Posted: Wed Aug 25, 2010 10:42 am    Post subject: Default php.ini location OS X | 
				      | 
			 
			
				
  | 
			 
			
				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 | 
		
			          | 
		
	
	
		  | 
	
	
		admin Site Admin
 
  Joined: 03 Mar 2002 Posts: 1348
 
  | 
		
			
				 Posted: Wed Aug 25, 2010 1:54 pm    Post subject: Re: Default php.ini location OS X | 
				      | 
			 
			
				
  | 
			 
			
				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 | 
		
			          | 
		
	
	
		  | 
	
	
		frankc -
 
  Joined: 24 Jul 2010 Posts: 6
 
  | 
		
			
				 Posted: Wed Aug 25, 2010 7:39 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				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 | 
		
			          | 
		
	
	
		  | 
	
	
		 |