php.ini removed

Scott Haneda talklists at
Sun Jun 28 10:05:23 PDT 2009

Why did moving it break things is I think what first needs to be  

Why was ini put in a php5 directory? As far as I know php wants to  
look in some standard locations. /etc is one if them so that would  
translate to /opt/local/etc/php.ini.

Of cource there are a few other locations but I believe etc is pretty  
normal. I think it should have just kep working. Any idea why it did  
not work for you? What did you have to change to get it to work?

You can also run 'port contents portname' to see where all the files  
registered to that port are.

Iphone says hello.

On Jun 28, 2009, at 9:08 AM, Chris Janton <face at CentosPrime.COM> wrote:

> On 2009-06-28 , at 08:39 , Bradley Giesbrecht wrote:
>>> Sorry about the problem, but I'm not sure how it happened. As far  
>>> as I can tell, php5 does not touch your php.ini, and never has. It  
>>> only installs sample files named php.ini-dist and php.ini- 
>>> recommended and prints a message advising you to copy one of these  
>>> to the proper location.
>> I think the location of php.ini may have been moved to etc/php5  
>> with php5 @5.2.10. I was paying that much attention when I upgraded.
> ahhh, the mystery is solved.
> the upgrade to php5 @5.2.10 moved the php.ini file to /opt/local/etc/ 
> php5/php.ini
> the deactivate didn't touch anything
> the activate php5 @5.2.6 didn't do anything to php.ini either, since  
> there now is no php.ini in /opt/local/etc
> hmmm, maybe the "right" thing for php5 @5.2.10 to do is copy the  
> php.ini file as opposed to moving it?
> my brain hurts less now.
> 8)
> ----------------------------------
> Chris Janton  - face at CentosPrime dot COM
> Netminder for Opus1.COM
> _______________________________________________
> macports-users mailing list
> macports-users at

More information about the macports-users mailing list