Chinaunix首页 | 论坛 | 博客
  • 博客访问: 168544
  • 博文数量: 45
  • 博客积分: 466
  • 博客等级: 下士
  • 技术积分: 520
  • 用 户 组: 普通用户
  • 注册时间: 2011-05-18 11:34
个人简介

机会是留给有准备的人。

文章分类

全部博文(45)

文章存档

2022年(1)

2016年(1)

2015年(3)

2014年(9)

2013年(9)

2012年(1)

2011年(21)

我的朋友

分类: Python/Ruby

2011-05-26 11:22:27

Don't forget to run 'make test'.
===>  Installing for php5-5.3.5
===>   php5-5.3.5 depends on file: /usr/local/sbin/apxs - found
===>   php5-5.3.5 depends on executable: pkg-config - found
===>   Generating temporary packing list
"Makefile", line 629: warning: duplicate script for target "main/internal_functions.lo" ignored
Installing PHP SAPI module:       apache2handler
/usr/local/share/apache22/build/instdso.sh SH_LIBTOOL='/usr/local/share/apr/build-1/libtool' libphp5.la /usr/local/libexec/apache22
/usr/local/share/apr/build-1/libtool --mode=install cp libphp5.la /usr/local/libexec/apache22/
libtool: install: cp .libs/libphp5.so /usr/local/libexec/apache22/libphp5.so
libtool: install: cp .libs/libphp5.lai /usr/local/libexec/apache22/libphp5.la
libtool: install: warning: remember to run `libtool --finish /usr/ports/lang/php5/work/php-5.3.5/libs'
chmod 755 /usr/local/libexec/apache22/libphp5.so
[activating module `php5' in /usr/local/etc/apache22/httpd.conf]
Installing PHP CLI binary:        /usr/local/bin/
Installing PHP CLI man page:      /usr/local/man/man1/
Installing PHP CGI binary: /usr/local/bin/
Installing build environment:     /usr/local/lib/php/build/
Installing header files:          /usr/local/include/php/
Installing helper programs:       /usr/local/bin/
  program: phpize
  program: php-config
Installing man pages:             /usr/local/man/man1/
  page: phpize.1
  page: php-config.1
***************************************************************

Make sure index.php is part of your DirectoryIndex.

You should add the following to your Apache configuration file:

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

***************************************************************
===>   Compressing manual pages for php5-5.3.5
===>   Registering installation for php5-5.3.5
===> SECURITY REPORT:
      This port has installed the following files which may act as network
      servers and may therefore pose a remote security risk to the system.
/usr/local/libexec/apache22/libphp5.so
/usr/local/bin/php
/usr/local/bin/php-cgi

      If there are vulnerabilities in these programs there may be a security
      risk to the system. FreeBSD makes no guarantee about the security of
      ports included in the Ports Collection. Please type 'make deinstall'
      to deinstall the port if this is a concern.

      For more information, and contact details about the security
      status of this software, see the following webpage:

阅读(881) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~