CONTENTS


Lastmodified 2022-06-28 (火) 17:11:07


portupgrade -r --batcj apache24-2.4.39_1

すると、

eval: /usr/local/bin/nm: not found

というエラーでストップする。

原因は、/usr/local/bin/nm の実体が無いため。

/usr/bin/nm は存在するため、

# cp /usr/bin/nm /usr/local/bin/ 

として、upgrade

Apache24

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                      H E A D S - U P
2014-07-13:
  The default version was changed from www/apache22 to www/apache24,
  pre-build apache modules will also reflect this!

  In case ports are build by yourself and apache22 is required
  use the following command to keep apache22 as default

  echo "DEFAULT_VERSIONS+=apache=2.2" >> /etc/make.conf

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

埋め込み cgiが動作しない

/usr/local/etc/apache24 コメントを外すヨロシ

<IfModule !mpm_prefork_module>
	LoadModule cgid_module libexec/apache24/mod_cgid.so
</IfModule>
<IfModule mpm_prefork_module>
	LoadModule cgi_module libexec/apache24/mod_cgi.so
</IfModule>

joomla3

/usr/local/etc/apache24/Includes/Joomla3.conf

こちらだとOK

### Add the AcceptPathInfo directive only for Apache 2.0.30 or later.
 Alias /joomla /usr/local/www/joomla3/
 AcceptPathInfo On
 <Directory "/usr/local/www/joomla3/">
     AllowOverride None
     Order Allow,Deny
     Allow from all
     Require all granted
     #Order Allow,Deny
     #Allow from all
 </Directory>

こちらは、NG。インストール中にMySQLと接続できない風味。

### Add the AcceptPathInfo directive only for Apache 2.0.30 or later.
 Alias /joomla /usr/local/www/joomla3/
 AcceptPathInfo On
 <Directory /usr/local/www/joomla3>
     AllowOverride None
     Require all granted
     #Order Allow,Deny
     #Allow from all
 </Directory>

root@g7:/usr/ports/www/mod_python3 # make install
===>  ap24-mod_python-3.3.1_3 is marked as broken: : Error from bsd.apache.mk. apache24 is installed
(or APACHE_PORT is defined) and port requires apache22 at most.
*** [install] Error code 1

Stop in /usr/ports/www/mod_python3.

Total access 3082:本日 1:昨日 0

Counter: 3082, today: 1, yesterday: 0

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS