сначала поставил apache24, php56uname -a
FreeBSD node04 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 15:26:37 UTC 2015 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
поставил и узнал что надо php 5.2.x
не вопрос, качаю http://museum.php.net/php5/php-5.2.17.tar.bz2
http://museum.php.net/php5/php-5.2.17.tar.bz2 распаковал
configure
Код: Выделить всё
checking for the location of libjpeg... /usr/local/php5/lib
checking for the location of libpng... /usr/local/php5/lib
checking for the location of libXpm... no
checking for FreeType 1.x support... no
checking for FreeType 2... no
checking for T1lib support... no
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
configure: error: libjpeg.(a|so) not found.
Код: Выделить всё
'./configure' '--disable-static' '--disable-debug' '--prefix=/usr/local/php5' '--with-config-file-scan-dir=/usr/local/php5/etc' '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection' '--enable-spl' '--enable-zend-multibyte' '--with-regex=system' '--with-tidy' '--enable-zip' '--enable-bcmath' '--with-bz2=shared' '--enable-calendar' '--with-curl=shared' '--enable-dba' '--enable-exif' '--enable-ftp' '--with-gd' '--enable-gd-native-ttf' '--with-jpeg-dir=/usr/local/php5/lib' '--with-png-dir=/usr/local/php5/lib' '--with-zlib-dir=/usr/local/php5/lib' '--with-gettext=shared' '--with-gmp=shared' '--with-imap-ssl' '--with-imap' '--enable-mbstring' '--with-mcrypt=shared' '--with-mhash=shared' '--with-mysql' '--with-mysqli' '--with-openssl-dir' '--with-pdo-mysql' '--enable-sockets' '--with-xsl' '--with-zlib' '--with-apxs2' '--disable-cgi' '--enable-pcntl' '--enable-soap' '--enable-dbase' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm'
# pkg info
apache22-itk-mpm-2.2.31 Version 2.2.x of Apache web server with itk MPM.
apr-1.5.2.1.5.4 Apache Portability Library
arcconf-v1.7.21229,1 Adaptec SCSI/SAS RAID administration tool
atop-2.0.2.b3 ASCII Monitor for system resources and process activity
bash-4.3.42 The GNU Project's Bourne Again SHell
bison-2.7.1,1 Parser generator from FSF, (mostly) compatible with Yacc
ca_root_nss-3.20 Root certificate bundle from the Mozilla Project
compat9x-amd64-9.2.902000.201310 Convenience package to install the compat9x libraries
curl-7.45.0 Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers
cyrus-sasl-2.1.26_12 RFC 2222 SASL (Simple Authentication and Security Layer)
db5-5.3.28_2 The Oracle Berkeley DB, revision 5.3
dialog4ports-0.1.5_2 Console Interface to configure ports
expat-2.1.0_3 XML 1.0 parser written in C
ezjail-3.4.1_1 Framework to easily create, manipulate, and run FreeBSD jails
gdbm-1.11_2 GNU database manager
gettext-runtime-0.19.6 GNU gettext runtime libraries and programs
glib-2.44.1_1 Some useful routines of C programming (current stable version)
indexinfo-0.2.3 Utility to regenerate the GNU info page index
kbproto-1.0.6 KB extension headers
libX11-1.6.2_3,1 X11 library
libXau-1.0.8_3 Authentication Protocol library for X11
libXdmcp-1.1.2 X Display Manager Control Protocol library
libXext-1.3.3_1,1 X11 Extension library
libevent2-2.0.22_1 API for executing callback functions on events or timeouts
libffi-3.2.1 Foreign Function Interface
libiconv-1.14_8 Character set conversion library
libjpeg-turbo-1.4.1 SIMD-accelerated JPEG codec library, provides libTurboJPEG
libpthread-stubs-0.3_6 This library provides weak aliases for pthread functions
libslang2-2.3.0 Routines for rapid alpha-numeric terminal applications development
libssh2-1.6.0_1,2 Library implementing the SSH2 protocol
libxcb-1.11_1 The X protocol C-language Binding (XCB) library
libxml2-2.9.2_3 XML parser library for GNOME
lynx-2.8.8.2_3,1 Non-graphical, text-based World-Wide Web client
m4-1.4.17_1,1 GNU m4
mc-4.8.14_1 Midnight Commander, a free Norton Commander Clone
memcached-1.4.24_2 High-performance distributed memory object cache system
pcre-8.37_4 Perl Compatible Regular Expressions library
perl5-5.20.3_8 Practical Extraction and Report Language
pkg-1.6.1 Package manager
png-1.6.18 Library for manipulating PNG images
portmaster-3.17.8 Manage your ports without external databases or languages
python27-2.7.10 Interpreted object-oriented programming language
re2c-0.14.3 Compile regular expression to C (much faster final code than flex)
screen-4.3.1_2 Multi-screen window manager
sudo-1.8.14p3 Allow others to run commands as root
xextproto-7.3.0 XExt extension headers
xproto-7.0.27 X11 protocol headers