shawnmei 发表于 2018-11-13 10:30:16

整合freeBSD下nginx+php+mysql安装方案(ports安装)

cd /usr/ports/lang/php5  
make install clean
  
#配置编译参数
  
CLI      Build CLI version
  
CGI      Build CGI version
  
[ ] APACHE   Build Apache module
  
[ ] DEBUG      Enable debug
  
SUHOSIN    Enable Suhosin protection system (not for jails)
  
[ ] MULTIBYTEEnable zend multibyte support
  
[ ] IPV6       Enable ipv6 support
  
[ ] MAILHEAD   Enable mail header patch
  
[ ] REDIRECT   Enable force-cgi-redirect support (CGI only)
  
[ ] DISCARD    Enable discard-path support (CGI only)
  
FASTCGI    Enable fastcgi support (CGI only)
  
PATHINFO   Enable path-info-check support (CGI only)
  
#安装 php5-extensions
  
cd /usr/ports/lang/php5-extensions
  
make install clean
  
#配置编译参数
  
[ ] BCMATH      bc style precision math functions
  
[ ] BZ2         bzip2 library support
  
[ ] CALENDAR    calendar conversion support
  
CTYPE       ctype functions
  
CURL      CURL support
  
[ ] DBA         dba support
  
[ ] DBASE       dBase library support
  
DOM         DOM support
  
[ ] EXIF      EXIF support
  
[ ] FILEINFO    fileinfo support
  
FILTER      input filter support
  
[ ] FRIBIDI   FriBidi support
  
[ ] FTP         FTP support
  
GD          GD library support
  
[ ] GETTEXT   gettext library support
  
[ ] GMP         GNU MP support
  
HASH      HASH Message Digest Framework
  
ICONV       iconv support
  
[ ] IMAP      IMAP support
  
[ ] INTERBASE   Interbase 6 database support (Firebird)
  
JSON      JavaScript Object Serialization support
  
[ ] LDAP      OpenLDAP support
  
MBSTRING    multibyte string support
  
[ ] MCRYPT      Encryption support
  
[ ] MHASH       Crypto-hashing support
  
[ ] MING      ming shockwave flash support
  
[ ] MSSQL       MS-SQL database support
  
MYSQL       MySQL database support
  
[ ] MYSQLI      MySQLi database support
  
[ ] NCURSES   ncurses support (CLI only)
  
[ ] ODBC      unixODBC support
  
[ ] OPENSSL   OpenSSL support
  
[ ] PCNTL       pcntl support (CLI only)
  
PCRE      Perl Compatible Regular Expression support
  
[ ] PDF         PDFlib support (implies GD)
  
PDO         PHP Data Objects Interface (PDO)
  
PDO_SQLITEPDO sqlite driver
  
[ ] PGSQL       PostgreSQL database support
  
POSIX       POSIX-like functions
  
[ ] PSPELL      pspell support
  
[ ] READLINE    readline support (CLI only)
  
[ ] RECODE      recode support
  
SESSION   session support
  
[ ] SHMOP       shmop support
  
SIMPLEXML   simplexml support
  
[ ] SNMP      SNMP support
  
[ ] SOAP      SOAP support
  
[ ] SOCKETS   sockets support
  
SPL         Standard PHP Library
  
[ ] SQLITE      sqlite support
  
[ ] SYBASE_CT   Sybase database support
  
[ ] SYSVMSG   System V message support
  
[ ] SYSVSEM   System V semaphore support
  
[ ] SYSVSHM   System V shared memory support
  
[ ] TIDY      TIDY support
  
TOKENIZER   tokenizer support
  
[ ] WDDX      WDDX support (implies XML)
  
XML         XML support
  
XMLREADER   XMLReader support
  
[ ] XMLRPC      XMLRPC-EPI support
  
XMLWRITER   XMLWriter support
  
[ ] XSL         XSL support (Implies DOM)
  
[ ] YAZ         YAZ support (ANSI/NISO Z39.50)
  
[ ] ZIP         ZIP support
  
ZLIB      ZLIB support
  
#安装过程中遇到的软件配置编译参数默认选择即可


页: [1]
查看完整版本: 整合freeBSD下nginx+php+mysql安装方案(ports安装)