[MacPorts] #21871: php52 - depends on non-standard apache2 config

MacPorts noreply at macports.org
Mon Oct 5 21:38:31 PDT 2009


#21871: php52 - depends on non-standard apache2 config
-------------------------------+--------------------------------------------
 Reporter:  apinstein@…        |       Owner:  ryandesign@…           
     Type:  defect             |      Status:  assigned               
 Priority:  Normal             |   Milestone:                         
Component:  ports              |     Version:  1.8.1                  
 Keywords:                     |        Port:  php52                  
-------------------------------+--------------------------------------------

Comment(by ryandesign@…):

 Alan sent the following reply by email:

 > From: Alan Pinstein <apinstein at mac.com> [[BR]]
 > Date: October 5, 2009 23:22:50 CDT [[BR]]
 > To: macports-dev at lists.macosforge.org [[BR]]
 > Cc: ryandesign at macports.org, macports-tickets at lists.macosforge.org,
 jwa at macports.org [[BR]]
 > Subject: Re: [MacPorts] #21871: php52 - depends on non-standard apache2
 config [[BR]]
 > [[BR]]
 > Thanks for the quick update. [[BR]]
 > [[BR]]
 > I read the other ticket, that's good info. [[BR]]
 > [[BR]]
 > However, that Wiki/MAMP article is not referenced anywhere so I had no
 idea it existed. [[BR]]
 > [[BR]]
 > Plus, I use Postgres so I tend not to search for MAMP stuff (that's on
 me of course). [[BR]]
 > [[BR]]
 > But I've gotten to the point where to bootstrap a new machine I need
 only do: [[BR]]
 > [[BR]]
 > port install apache2 postgresql83 postgresql83-server php52
 +apache2+postgresql83+pear+readline php5-syck php5-xdebug [[BR]]
 > [[BR]]
 > And then add to the bottom of httpd.conf: [[BR]]
 > [[BR]]
 > Include conf/extras-conf/* [[BR]]
 > NameVirtualHost 10.0.1.201:8080 [[BR]]
 > Include /Users/alanpinstein/dev/sandbox/project1/conf/httpd.conf [[BR]]
 > Include /Users/alanpinstein/dev/sandbox/project2/conf/httpd.conf [[BR]]
 > [[BR]]
 > The only thing that isn't "mine" is the php-conf setup. [[BR]]
 > [[BR]]
 > It's unexpected that the port sets up the loadmodule and installs the
 php-conf but doesn't "include" the conf file. [[BR]]
 > [[BR]]
 > Is there no apache-recommended way to automate module installs the same
 way that the LoadModule stuff is automated? [[BR]]
 > [[BR]]
 > If it can't be totally automated at least the ui_msg output should
 indicate to add: [[BR]]
 > [[BR]]
 > Include conf/extra/mod_php.conf [[BR]]
 > [[BR]]
 > to the conf file. [[BR]]
 > [[BR]]
 > Regards, [[BR]]
 > Alan

-- 
Ticket URL: <http://trac.macports.org/ticket/21871#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list