免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: osos
打印 上一主题 下一主题

mysql不能运行。 [复制链接]

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
31 [报告]
发表于 2007-04-15 11:45 |只看该作者
把问题都发在一个贴子里

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
32 [报告]
发表于 2007-04-15 11:48 |只看该作者
原帖由 osos 于 2007-4-15 11:41 发表

bbs# whereis php
php:
bbs#
不显示绝对路径呢。我已经安装好了php5了,而且测试运行正常。

你的PHP 还是没安上 应该显示路径的

论坛徽章:
0
33 [报告]
发表于 2007-04-15 11:49 |只看该作者
好,那我重新安装一遍再看看。谢谢你!

论坛徽章:
0
34 [报告]
发表于 2007-04-15 12:46 |只看该作者
===>  Installing for php5-5.2.1_3
===>   php5-5.2.1_3 depends on file: /usr/local/sbin/apxs - found
===>   php5-5.2.1_3 depends on file: /usr/local/sbin/apxs - found
===>   php5-5.2.1_3 depends on executable in : pkg-config - found
===>   Generating temporary packing list
===>  Checking if lang/php5 already installed
===>   php5-5.2.1_3 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of lang/php5
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/lang/php5.

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
35 [报告]
发表于 2007-04-15 12:50 |只看该作者
原帖由 osos 于 2007-4-15 12:46 发表
===>  Installing for php5-5.2.1_3
===>   php5-5.2.1_3 depends on file: /usr/local/sbin/apxs - found
===>   php5-5.2.1_3 depends on file: /usr/local/sbin/apxs - found
===>   php5-5.2. ...

make reinstall


make deinstall  &&  make install

论坛徽章:
0
36 [报告]
发表于 2007-04-15 12:56 |只看该作者
bbs# make reinstall clean
===>  Installing for php5-5.2.1_3
===>   php5-5.2.1_3 depends on file: /usr/local/sbin/apxs - found
===>   php5-5.2.1_3 depends on file: /usr/local/sbin/apxs - found
===>   php5-5.2.1_3 depends on executable in : pkg-config - found
===>   php5-5.2.1_3 depends on shared library: xml2.5 - found
===>   Generating temporary packing list
===>  Checking if lang/php5 already installed
Installing PHP SAPI module:       apache2handler
/usr/local/share/apache22/build/instdso.sh SH_LIBTOOL='/usr/local/build-1/libtool' libphp5.la /usr/local/libexec/apache22
/usr/local/build-1/libtool --mode=install cp libphp5.la /usr/local/libexec/apache22/
cp .libs/libphp5.so /usr/local/libexec/apache22/libphp5.so
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.2.1/libs'
chmod 755 /usr/local/libexec/apache22/libphp5.so
[activating module `php5' in /usr/local/etc/apache22/httpd.conf]
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.2.1_3
===>   Registering installation for php5-5.2.1_3
===> 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

      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:
http://www.php.net/
===>  Cleaning for apache-2.2.4_2
===>  Cleaning for autoconf-2.59_2
===>  Cleaning for pkg-config-0.21
===>  Cleaning for libxml2-2.6.26
===>  Cleaning for perl-5.8.8
===>  Cleaning for libtool-1.5.22_4
===>  Cleaning for expat-2.0.0_1
===>  Cleaning for libiconv-1.9.2_2
===>  Cleaning for m4-1.4.8_1
===>  Cleaning for help2man-1.36.4_1
===>  Cleaning for gmake-3.81_1
===>  Cleaning for p5-gettext-1.05_1
===>  Cleaning for gettext-0.16.1_1
===>  Cleaning for php5-5.2.1_3
bbs# whereis php
php:
bbs# whereis php5
php5: /usr/ports/lang/php5

[ 本帖最后由 osos 于 2007-4-15 12:58 编辑 ]

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
37 [报告]
发表于 2007-04-15 12:58 |只看该作者
rehash

在 whereis

论坛徽章:
0
38 [报告]
发表于 2007-04-15 13:02 |只看该作者
bbs# rehash
bbs# whereis php
php:
bbs# whereis php5
php5: /usr/ports/lang/php5
还是这样呢,真急人。

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
39 [报告]
发表于 2007-04-15 13:10 |只看该作者
原帖由 osos 于 2007-4-15 13:02 发表
bbs# rehash
bbs# whereis php
php:
bbs# whereis php5
php5: /usr/ports/lang/php5
还是这样呢,真急人。

你开ssh 了吗 我帮你看一下 把用名和密码 站内发给我

论坛徽章:
0
40 [报告]
发表于 2007-04-15 13:17 |只看该作者
开了,你把你的IP发给我吧。
我是教育网,不知道你登陆快不快?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP