On Oct 1, 2009, at 16:09, Scott Haneda wrote:
Something not right with upgrade:
$sudo port upgrade php5
$sudo /opt/local/apache2/bin/apachectl graceful
httpd: Syntax error on line 497 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
The config file moved from the directory "extras-conf" to the
directory "extra".
$grep extras-conf /opt/local/apache2/conf/httpd.conf
Include conf/extras-conf/mod_php.conf
* Was my httpd.conf replaced in the upgrade?
-rw-r--r-- 1 root admin 17239 Sep 30 15:09 httpd.conf
-rw-r--r-- 1 root admin 16757 Sep 16 22:51 httpd.conf.bak
The 16th is too old for that to be a .bk made today. Actually,
httpd.conf is fine, I see some customizations I made in there.
"extras-conf" is gone, which is where that mod_php.conf used to live.
It is now in:
/opt/local/apache2/conf/extra
-rw-r--r-- 1 root admin 2845 Sep 16 22:11 httpd-autoindex.conf
-rw-r--r-- 1 root admin 1718 Sep 16 22:11 httpd-dav.conf
-rw-r--r-- 1 root admin 2344 Sep 16 22:11 httpd-default.conf
-rw-r--r-- 1 root admin 1103 Sep 16 22:11 httpd-info.conf
-rw-r--r-- 1 root admin 5078 Sep 16 22:11 httpd-languages.conf
-rw-r--r-- 1 root admin 918 Sep 16 22:11 httpd-manual.conf
-rw-r--r-- 1 root admin 3789 Sep 16 22:11 httpd-mpm.conf
-rw-r--r-- 1 root admin 2186 Sep 16 22:11 httpd-multilang-
errordoc.conf
-rw-r--r-- 1 root admin 10283 Sep 16 22:11 httpd-ssl.conf
-rw-r--r-- 1 root admin 806 Sep 16 22:11 httpd-userdir.conf
-rw-r--r-- 1 root admin 398 Sep 18 17:40 httpd-vhosts.conf
-rwxr-xr-x 2 root admin 129 Oct 1 13:52 mod_php.conf
Why is the +x bit set on it?
It shouldn't cause any harm, but indeed is not intended. I'll look
into it.
I think I know how to fix this, but I also think that this update
process went awry. Suggestions on what happened?
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev