CONTENTS #contents ---- Lastmodified &lastmod; ---- */usr/local/libexec/apache22/libphp5.so [#x39d1f2c] /etc/make.conf DEFAULT_VERSIONS+=apache=2.2 としてあるサーバで、 # pkg upgrade したら、Apache22が消えてApache24がインストールされました。 で、Apache24を消してApache22を再インストールしたけれど、 usr/local/libexec/apache22/libphp5.so が、無いといって起動しなくなりました。 で、 # php -v PHP 5.6.26 (cli) (built: Sep 26 2016 17:06:08) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies ということなので、 portinstall www/mod_php56 して、libphp5.soを生成。 # apachectl start Performing sanity check on apache22 configuration: Syntax OK Starting apache22. OK ---- root@piano2nd:~ # apachectl start Cannot 'start' apache24. Set apache24_enable to YES in /etc/rc.conf or use 'onestart' instead of 'start'. root@piano2nd:~ # pkg info apache24-2.4.23_1 Version 2.4.x of Apache web server apr-1.5.2.1.5.4_1 Apache Portability Library aspell-0.60.6.1_5 Spelling checker with better suggestion logic than ispell autoconf-2.69_1 Automatically configure source code on many Un*x platforms autoconf-wrapper-20131203 Wrapper script for GNU autoconf automake-1.15_1 GNU Standards-compliant Makefile generator automake-wrapper-20131203 Wrapper script for GNU automake bash-4.3.46_1 The GNU Project's Bourne Again SHell bdftopcf-1.0.5 Convert X font from BDF to PCF bigreqsproto-1.1.2 BigReqs extension headers bind99-9.9.9P2_1 BIND DNS suite with updated DNSSEC and DNS64 binutils-2.27_3,1 GNU binary tools bison-2.7.1,1 Parser generator from FSF, (mostly) compatible with Yacc bitstream-vera-1.10_7 Bitstream Vera TrueType font collection ca_root_nss-3.26 Root certificate bundle from the Mozilla Project cairo-1.14.6_1,2 Vector graphics library with cross-device output support cclient-2007f_2,1 C-client mail access routines by Mark Crispin cmake-3.6.2 Cross-platform Makefile generator cmake-modules-3.6.2 Modules and Templates for CMake curl-7.50.3 Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers damageproto-1.2.1 Damage extension headers db48-4.8.30.0_2 The Berkeley DB package, revision 4.8 db5-5.3.28_4 Oracle Berkeley DB, revision 5.3 dejavu-2.35 Bitstream Vera Fonts clone with a wider range of characters dialog4ports-0.1.6 Console Interface to configure ports dri2proto-2.8 DRI2 prototype headers encodings-1.0.4_3,1 X.Org Encoding fonts expat-2.2.0 XML 1.0 parser written in C fixesproto-5.0 Fixes extension headers flex-2.6.1 Fast lexical analyzer generator font-bh-ttf-1.0.3_3 X.Org Bigelow & Holmes TTF font font-misc-ethiopic-1.0.3_3 X.Org miscellaneous Ethiopic font font-misc-meltho-1.0.3_3 X.Org miscellaneous Meltho font font-util-1.3.1 Create an index of X font files in a directory fontconfig-2.12.1,1 XML-based font configuration API for X Windows fontsproto-2.1.3,1 Fonts extension headers freetds-1.00.1,1 Sybase/Microsoft TDS protocol library freetype2-2.6.3 Free and portable TrueType font rendering engine gamin-0.1.10_8 File and directory monitoring system gbm-11.2.2 gbm library gcc-4.8.5_2 GNU Compiler Collection 4.8 gcc-ecj-4.5 Eclipse Java Compiler used to build GCC Java gdbm-1.12 GNU database manager gettext-0.19.8.1 GNU gettext meta package gettext-runtime-0.19.8.1 GNU gettext runtime libraries and programs gettext-tools-0.19.8.1 GNU gettext development and translation tools glib-2.46.2_3 Some useful routines of C programming (current stable version) glproto-1.4.17 GLX extension headers gmake-4.2.1_1 GNU version of 'make' utility gmp-5.1.3_3 Free library for arbitrary precision arithmetic gobject-introspection-1.46.0 Generate interface introspection data for GObject libraries graphite2-1.3.8 Rendering capabilities for complex non-Roman writing systems harfbuzz-1.3.0_1 OpenType text shaping engine help2man-1.43.3_1 Automatically generating simple manual pages from program output icu-57.1,1 International Components for Unicode (from IBM) idnkit-1.0_5 Library to handle internationalized domain names indexinfo-0.2.5 Utility to regenerate the GNU info page index inputproto-2.3.1 Input extension headers intltool-0.51.0_1 Tools to internationalize various kinds of data files ja-mailman-2.1.14.j7_2,1 Japanized mailman which is a mailing list manager with a web front-end ja-webalizer-2.23.8_4 Web server log file analysis program jbigkit-2.1_1 Lossless compression for bi-level images such as scanned pages, faxes jpeg-turbo-1.4.2 SIMD-accelerated JPEG codec which replaces libjpeg jsoncpp-1.7.3 JSON reader and writer library for C++ kbproto-1.0.7 KB extension headers libEGL-11.2.2 OpenEGL library libGL-11.2.2 OpenGL library that renders using GLX or DRI libICE-1.0.9_1,1 Inter Client Exchange library for X11 libSM-1.2.2_3,1 Session Management library for X11 libX11-1.6.3,1 X11 library libXau-1.0.8_3 Authentication Protocol library for X11 libXaw-1.0.13,2 X Athena Widgets library libXdamage-1.1.4_3 X Damage extension library libXdmcp-1.1.2 X Display Manager Control Protocol library libXext-1.3.3_1,1 X11 Extension library libXfixes-5.0.1_3 X Fixes extension library libXfont-1.5.1,2 X font library libXft-2.3.2_1 Client-sided font API for X applications libXmu-1.1.2_3,1 X Miscellaneous Utilities libraries libXp-1.0.3,1 X print library libXpm-3.5.11_4 X Pixmap library libXrender-0.9.9 X Render extension library libXt-1.1.5,1 X Toolkit library libXv-1.0.10_3,1 X Video Extension library libXvMC-1.0.9 X Video Extension Motion Compensation library libXxf86vm-1.1.4_1 X Vidmode Extension libarchive-3.2.1,1 Library to create and read several streaming archive formats libcheck-0.10.0 Unit test framework for C libdevq-0.0.2_1 Generic Device Query and Monitor interface libdrm-2.4.66,1 Userspace interface to kernel Direct Rendering Module services libedit-3.1.20150325_2,1 Command line editor library libevent2-2.0.22_1 API for executing callback functions on events or timeouts libexecinfo-1.1_3 Library for inspecting program's backtrace libffi-3.2.1 Foreign Function Interface libfontenc-1.1.3 The fontenc Library libgcrypt-1.7.3 General purpose crypto library based on code used in GnuPG libgd-2.2.3,1 Graphics library for fast creation of images libglapi-11.2.2 Common GL api library used by Mesa based ports libgpg-error-1.24 Common error values for all GnuPG components libiconv-1.14_9 Character set conversion library libltdl-2.4.6 System independent dlopen wrapper liblz4-131 LZ4 compression library, lossless and very fast libmcrypt-2.5.8_3 Multi-cipher cryptographic library (used in PHP) libpciaccess-0.13.4 Generic PCI access library libpthread-stubs-0.3_6 This library provides weak aliases for pthread functions libtool-2.4.6 Generic shared library support script libwww-5.4.0_5 The W3C Reference Library libxcb-1.11.1 The X protocol C-language Binding (XCB) library libxml2-2.9.4 XML parser library for GNOME libxshmfence-1.2 Shared memory 'SyncFence' synchronization primitive libxslt-1.1.29 The XSLT C library for GNOME libyaml-0.1.6_2 YAML 1.1 parser and emitter written in C libzip-1.1.2 C library for reading, creating, and modifying ZIP archives llvm36-3.6.2_2 Low Level Virtual Machine llvm37-3.7.1_3 LLVM and Clang lzo2-2.09 Portable speedy, lossless data compression library m4-1.4.17_1,1 GNU m4 makedepend-1.0.5,1 Dependency generator for makefiles mkfontdir-1.0.7 Create an index of X font files in a directory mkfontscale-1.1.2 Creates an index of scalable font files for X mod_php55-5.5.38_2 PHP Scripting Language mpc-1.0.3 Library of complex numbers with arbitrarily high precision mpfr-3.1.4 Library for multiple-precision floating-point computations munin-common-2.0.25_2 Common components between a munin node and server munin-master-2.0.25_5 Collector part of Munin munin-node-2.0.25_8 Node-specific part of Munin mysql55-client-5.5.52 Multithreaded SQL database (client) mysql55-server-5.5.52 Multithreaded SQL database (server) net-snmp-5.7.3_11 Extendable SNMP implementation ninja-1.7.1_1,2 Ninja is a small build system closest in spirit to Make ntp-4.2.8p8_1 The Network Time Protocol Distribution oniguruma5-5.9.6_1 BSDL Regular Expressions library compatible with POSIX/GNU/Perl openldap-client-2.4.44 Open source LDAP client implementation openssl-1.0.2i,1 SSL and crypto library p5-Authen-NTLM-1.09_1 Perl5 NTLM authentication module p5-B-Hooks-EndOfScope-0.21 Execute code after a scope finished compilation p5-CGI-4.31 Handle Common Gateway Interface requests and responses p5-CPAN-Meta-2.150005 Distribution metadata for a CPAN dist p5-CPAN-Meta-Requirements-2.140 Set of version requirements for a CPAN distribution p5-CPAN-Meta-YAML-0.018 Read and write a subset of YAML for CPAN Meta files p5-Cache-2.11 Perl Cache interface p5-Cache-Cache-1.08 Perl Cache interface p5-Class-Load-0.22 Working (require Class::Name) and more p5-Class-Singleton-1.5_1 Perl module that describes a singular object class p5-Crypt-CBC-2.33_1 Perl5 interface to Cipher Block Chaining with DES and IDEA p5-Crypt-DES-2.07_1 Perl5 interface to DES block cipher p5-DBD-Pg-3.5.3 Provides access to PostgreSQL databases through the DBI p5-DBI-1.636 Perl5 Database Interface, required for DBD::* modules p5-Data-OptList-0.110 Parse and validate simple name/value option pairs p5-Date-Manip-6.53 Perl5 module containing date manipulation routines p5-DateTime-1.36_1 Date and time object p5-DateTime-HiRes-0.01_1 Create DateTime objects with sub-second current time resolution p5-DateTime-Locale-1.05 Localization support for DateTime p5-DateTime-TimeZone-2.01,1 Time zone object base class and factory p5-Digest-HMAC-1.03_1 Perl5 interface to HMAC Message-Digest Algorithms p5-Digest-SHA1-2.13_1 Perl interface to the SHA-1 Algorithm p5-Dist-CheckConflicts-0.11_1 Declare version conflicts for your dist p5-Encode-Locale-1.05 Determine the locale encoding p5-Error-0.17024 Error/exception handling in object-oriented programming style p5-Exporter-Tiny-0.042_1 Exporter with features of Sub::Exporter but only core dependencies p5-FCGI-0.78 Modules for perl5, for enabling FastCGI support in CGI scripts p5-File-Copy-Recursive-0.38_1 Perl extension for recursively copying files and directories p5-File-Listing-6.04_1 Parse directory listings p5-File-NFSLock-1.21_1 File::NFSLock - perl module to do NFS (or not) locking p5-Getopt-Long-2.46 Perl module for extended processing of command line options p5-HTML-Parser-3.72 Perl5 module for parsing HTML documents p5-HTML-Tagset-3.20_1 Some useful data table in parsing HTML p5-HTML-Template-2.95_1 Perl module to use HTML Templates from CGI scripts p5-HTTP-Cookies-6.01_1 HTTP Cookie jars p5-HTTP-Daemon-6.01_1 Simple HTTP server class p5-HTTP-Date-6.02_1 Conversion routines for the HTTP protocol date formats p5-HTTP-Message-6.11 Representation of HTTP style messages p5-HTTP-Negotiate-6.01_1 Implementation of the HTTP content negotiation algorithm p5-Heap-0.80_1 Perl extensions for keeping data partially sorted p5-IO-HTML-1.001_1 Open an HTML file with automatic charset detection p5-IO-Multiplex-1.13_1 IO::Multiplex - Manage IO on many file handles p5-IO-Socket-INET6-2.72_1 Perl module with object interface to AF_INET6 domain sockets p5-IO-Socket-IP-0.37_1 Drop-in replacement for IO::Socket::INET supporting IPv4 and IPv6 p5-IO-Socket-SSL-2.038 Perl5 interface to SSL sockets p5-IO-String-1.08_1 Simplified Perl5 module to handle I/O on in-core strings p5-IPC-ShareLite-0.17_1 Simple interface to access shared memory p5-JSON-PP-2.27400 JSON::XS compatible pure-Perl module p5-LWP-MediaTypes-6.02_1 Guess media type for a file or a URL p5-List-AllUtils-0.10 Combines List::Util and List::MoreUtils in one bite-sized package p5-List-MoreUtils-0.413 Provide the stuff missing in List::Util p5-List-SomeUtils-0.52 Provide the stuff missing in List::Util p5-List-SomeUtils-XS-0.52 XS implementation for List::SomeUtils p5-Locale-gettext-1.06 Message handling functions p5-Log-Log4perl-1.47 Log4j implementation for Perl p5-MIME-Base32-1.301 Perl5 module for Base32 encodings p5-Module-Build-0.4220 Build and install Perl modules p5-Module-Implementation-0.09_1 Loads one of several alternate underlying implementations for a module p5-Module-Metadata-1.000027 Perl extension to gather package information from perl module files p5-Module-Runtime-0.014_1 Runtime module handling p5-Mozilla-CA-20160104 Perl extension for Mozilla CA cert bundle in PEM format p5-Net-CIDR-0.18 Perl module to manipulate IPv4/IPv6 netblocks in CIDR notation p5-Net-DNS-1.06_2,1 Perl5 interface to the DNS resolver, and dynamic updates p5-Net-HTTP-6.09 Low-level HTTP client p5-Net-SNMP-6.0.1_1 Object oriented interface to SNMP p5-Net-SSLeay-1.78 Perl5 interface to SSL p5-Net-Server-2.008_1 Configurable base class for writing internet servers in Perl p5-Package-DeprecationManager-0.15 Manage deprecation warnings for your distribution p5-Package-Stash-0.37_1 Routines for manipulating stashes p5-Package-Stash-XS-0.28_1 Faster and more correct implementation of the Package::Stash API p5-Params-Util-1.07_2 Utility functions to aid in parameter checking p5-Params-Validate-1.24 Validate method/function parameters p5-Parse-CPAN-Meta-1.44.14_1 Parse META.yml and other similar CPAN metadata files p5-Perl-OSType-1.010 Map Perl operating system names to generic types p5-Scalar-List-Utils-1.45,1 Perl subroutines that would be nice to have in the perl core p5-Socket-2.021 Networking constants and support functions p5-Socket6-0.28 IPv6 related part of the C socket.h defines and structure manipulators p5-Storable-2.45_1 Persistency for perl data structures p5-Sub-Exporter-0.987_1 Sophisticated exporter for custom-built routines p5-Sub-Exporter-Progressive-0.001011 Only use Sub::Exporter if you need it p5-Sub-Identify-0.12 Retrieve names of code references p5-Sub-Install-0.928_1 Install subroutines into packages easily p5-Text-Balanced-2.03 Extract delimited text sequences from strings p5-Time-HiRes-1.9726_1,1 Perl5 module implementing High resolution time, sleep, and alarm p5-TimeDate-2.30_2,1 Perl5 module containing a better/faster date parser for absolute dates p5-Try-Tiny-0.24 Minimal try/catch with proper localization of $@ p5-URI-1.71 Perl5 interface to Uniform Resource Identifier (URI) references p5-Variable-Magic-0.59 Associate user-defined magic to variables from Perl p5-WWW-RobotRules-6.02_1 Database of robots.txt-derived permissions p5-XML-LibXML-2.0126,1 Interface to Gnome libxml2 library p5-XML-NamespaceSupport-1.11_1 Simple generic namespace support class p5-XML-Parser-2.44 Perl extension interface to James Clark's XML parser, expat p5-XML-SAX-0.99_2 Simple API for XML p5-XML-SAX-Base-1.08_1 Base class SAX Drivers and Filters p5-YAML-Syck-1.27_1 Fast, lightweight YAML and JSON loader and dumper p5-libwww-6.15 Perl5 library for WWW access p5-namespace-autoclean-0.28 Keep imports out of your namespace p5-namespace-clean-0.27 Keep imports and functions out of your namespace p5-version-0.99.15 Perl extension for Version Objects pango-1.38.0_1 Open-source framework for the layout and rendering of i18n text patch-2.7.5 GNU patch utility pciids-20160621 Database of all known IDs used in PCI devices pcre-8.39 Perl Compatible Regular Expressions library pdflib-7.0.5_4 C library for dynamically generating PDF pecl-pdflib-3.0.4_1 PECL extension to create PDF on the fly perl5-5.20.3_15 Practical Extraction and Report Language php56-5.6.25_1 PHP Scripting Language php56-bz2-5.6.25 The bz2 shared extension for php php56-ctype-5.6.25 The ctype shared extension for php php56-filter-5.6.25 The filter shared extension for php php56-gd-5.6.25 The gd shared extension for php php56-json-5.6.25 The json shared extension for php php56-mbstring-5.6.25 The mbstring shared extension for php php56-mcrypt-5.6.25 The mcrypt shared extension for php php56-mysqli-5.6.25 The mysqli shared extension for php php56-openssl-5.6.25 The openssl shared extension for php php56-session-5.6.25 The session shared extension for php php56-xml-5.6.25 The xml shared extension for php php56-zip-5.6.25 The zip shared extension for php php56-zlib-5.6.25 The zlib shared extension for php phpMyAdmin-4.6.4_1 Set of PHP-scripts to manage MySQL over the web pixman-0.34.0 Low-level pixel manipulation library pkg-1.8.7_3 Package manager pkgconf-1.0.1 Utility to help to configure compiler and linker flags png-1.6.23 Library for manipulating PNG images portdowngrade-1.5 Sets a port back to a previous version portupgrade-2.4.14,2 FreeBSD ports/packages administration and management tool suite postfix-3.1.2_3,1 Secure alternative to widely-used Sendmail postgresql93-client-9.3.14_1 PostgreSQL database (client) presentproto-1.0 Present protocol specification printproto-1.0.5 Print extension headers py27-Babel-2.3.4 Collection of tools for internationalizing Python applications py27-Jinja2-2.8 Fast and easy to use stand-alone template engine py27-MarkupSafe-0.23 Implements XML/HTML/XHTML Markup safe string for Python py27-alabaster-0.7.6 Modified Kr Sphinx theme py27-docutils-0.12 Python Documentation Utilities py27-enum34-1.1.6 Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7 py27-imagesize-0.7.1 Python image size library py27-pygments-2.1.3 Syntax highlighter written in Python py27-pystemmer-1.3.0_1 Snowball Stemming Algorithms for Information Retrieval py27-pytz-2016.6.1,1 World Timezone Definitions for Python py27-setuptools27-23.1.0 Python packages installer py27-six-1.10.0 Python 2 and 3 compatibility utilities py27-snowballstemmer-1.2.0_1 Snowball stemming library collection for Python py27-sphinx-1.4.6_1 Python documentation generator py27-sphinx_rtd_theme-0.1.9 Mobile-friendly py-sphinx theme python-2.7_2,2 The "meta-port" for the default version of Python interpreter python2-2_3 The "meta-port" for version 2 of the Python interpreter python27-2.7.12 Interpreted object-oriented programming language recode-3.6_12 Converts files between character sets and usages renderproto-0.11.1 RenderProto protocol headers rrdtool-1.6.0_1 Round Robin Database Tools rsync-3.1.2_5 Network file distribution/synchronization utility ruby-2.2.5,1 Object-oriented interpreted scripting language ruby21-2.1.9,1 Object-oriented interpreted scripting language ruby22-bdb-0.6.6_5 Ruby interface to Oracle Berkeley DB revision 2 or later scons-2.5.0 Build tool alternative to make screen-4.4.0_1 Multi-screen window manager serf-1.3.9_1 Serf HTTP client library smartmontools-6.5_1 S.M.A.R.T. disk monitoring tools sqlite3-3.14.1_1 SQL database engine in a C library subversion-1.9.4 Version control system swig13-1.3.40_1 Simplified Wrapper and Interface Generator t1lib-5.1.2_4,1 Type 1 font rasterization library for Unix/X11 tidy-lib-090315.c_3 Utility to clean up and pretty print HTML/XHTML/XML (with shared lib) tiff-4.0.6_2 Tools and library routines for working with TIFF images unixODBC-2.3.4 ODBC library suite for Unix videoproto-2.3.2 Video extension headers xcb-proto-1.11_1 The X protocol C-language Binding (XCB) protocol xcb-util-0.4.0_1,1 Module with libxcb/libX11 extension/replacement libraries xcb-util-renderutil-0.3.9_1 Convenience functions for the Render extension xcmiscproto-1.2.2 XCMisc extension headers xextproto-7.3.0 XExt extension headers xf86bigfontproto-1.2.0 XFree86-Bigfont extension headers xf86vidmodeproto-2.3.1 XFree86-VidModeExtension extension headers xmbmon-205_14 MB monitor for LM78/79, W8378x, AS99127F, VT82C686 and ADM9240 xorg-fonts-truetype-7.7_1 X.Org TrueType fonts xorg-macros-1.19.0 X.Org development aclocal macros xproto-7.0.28 X11 protocol headers xtrans-1.3.5 Abstract network code for X zip-3.0_1 Create/update ZIP files compatible with PKZIP root@piano2nd:~ # pkg install apache22 Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. Checking integrity... done (1 conflicting) - apache22-2.2.31_1 conflicts with apache24-2.4.23_1 on /usr/local/man/man1/dbmmanage.1.gz Checking integrity... done (0 conflicting) The following 4 package(s) will be affected (of 0 checked): Installed packages to be REMOVED: apache24-2.4.23_1 mod_php55-5.5.38_2 New packages to be INSTALLED: apache22: 2.2.31_1 Installed packages to be REINSTALLED: pkg-1.8.7_3 Number of packages to be removed: 2 Number of packages to be installed: 1 Number of packages to be reinstalled: 1 The operation will free 13 MiB. Proceed with this action? [y/N]: y [1/4] Deinstalling mod_php55-5.5.38_2... [preparing module `php5' in /usr/local/etc/apache24/httpd.conf] [1/4] Deleting files for mod_php55-5.5.38_2: 100% [2/4] Deinstalling apache24-2.4.23_1... [2/4] Deleting files for apache24-2.4.23_1: 100% [3/4] Reinstalling pkg-1.8.7_3... [3/4] Extracting pkg-1.8.7_3: 100% You may need to manually remove /usr/local/etc/pkg.conf if it is no longer needed. [4/4] Installing apache22-2.2.31_1... ===> Creating groups. Using existing group 'www'. ===> Creating users Using existing user 'www'. [4/4] Extracting apache22-2.2.31_1: 100% Message from apache22-2.2.31_1: To run apache www server from startup, add apache22_enable="YES" in your /etc/rc.conf. Extra options can be found in startup script. Your hostname must be resolvable using at least 1 mechanism in /etc/nsswitch.conf typically DNS or /etc/hosts or apache might have issues starting depending on the modules you are using. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 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 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Upstream propose EoL of apache 2.2.x during the next 12 months. It is scheduled to be removed on or after 2017-07-01. root@piano2nd:~ # root@piano2nd:~ # root@piano2nd:~ # root@piano2nd:~ # root@piano2nd:~ # reboot ---- Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday); #counter([total|today|yesterday]);