php5 - apache configuration file moved, no notice during upgrade

Chris Janton face at CentosPrime.COM
Tue Oct 13 13:19:15 PDT 2009


--->  Activating php5 @5.3.0_3+apache2+darwin_10+macosx+pear
You may need to update your php.ini for any changes that have been made
in this version of php. Compare /opt/local/etc/php5/php.ini with
/opt/local/etc/php5/php.ini-development (if this is a development  
server) or
/opt/local/etc/php5/php.ini-production (if this is a production server).

If this is your first install, you need to activate PHP in your web  
server.

To enable PHP in Apache, run
   cd /opt/local/apache2/modules
   /opt/local/apache2/bin/apxs -a -e -n "php5" libphp5.so


send a SIGHUP to apache daemondo process and get this error in  the  
logs.

httpd: Syntax error on line 486 of /opt/local/apache2/conf/httpd.conf:  
Could not open configuration file /opt/local/apache2/conf/extras-conf/ 
mod_php.conf: No such file or directory

Look at changes on MacPorts Trac

Changeset 58844
"move conf file from extras-conf to extra to match the rest of  
apache2's extra conf files (#21217)"

I need to "fix" my httpd.conf file after this update. There should be  
a warning somewhere, since it is unlikely that I am going to go to the  
Trac database and look to see what all changed in a "minor" update to  
PHP

8)
----------------------------------
Chris Janton  - face at CentosPrime dot COM
Netminder for Opus1.COM




More information about the macports-users mailing list