免费注册 查看新帖 |

Chinaunix

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

[FreeBSD] freebsd+mysql+apache+php.浏览PHP网叶变成下载 [复制链接]

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
11 [报告]
发表于 2007-05-26 21:33 |只看该作者
原帖由 hacking1983 于 2007-5-26 20:45 发表
你是不是记错了!/usr/local/下没有apache这个目录


不是我记错了吧。

我安装的从来都在 /usr/local/apache 目录下,且有很清晰的文件目录。

比如,所有的执行文件都在 /usr/local/apache/bin 目录下。

网站的主目录是 /usr/local/apache/htdocs ,

系统的配置文件在 /usr/local/apache/conf 目录下,

php5 的动态链接库在 /usr/local/apache/modules 目录下。

php4 的动态链接库在 /usr/local/apache/libexec 目录下。

... ...

还有一些,记忆得不是很清楚了。

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
12 [报告]
发表于 2007-05-26 21:56 |只看该作者
楼主的 apahce 什么版本 是用什么方式安装的

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
13 [报告]
发表于 2007-05-26 21:58 |只看该作者
如果是 apache22  目录也是 apache22

论坛徽章:
54
2017金鸡报晓
日期:2017-02-08 10:39:42操作系统版块每日发帖之星
日期:2016-03-08 06:20:00操作系统版块每日发帖之星
日期:2016-03-07 06:20:00操作系统版块每日发帖之星
日期:2016-02-22 06:20:00操作系统版块每日发帖之星
日期:2016-01-29 06:20:00操作系统版块每日发帖之星
日期:2016-01-27 06:20:00操作系统版块每日发帖之星
日期:2016-01-20 06:20:00操作系统版块每日发帖之星
日期:2016-01-06 06:20:0015-16赛季CBA联赛之江苏
日期:2015-12-21 20:00:24操作系统版块每日发帖之星
日期:2015-12-21 06:20:00IT运维版块每日发帖之星
日期:2015-11-17 06:20:002015亚冠之广州恒大
日期:2015-11-12 10:58:02
14 [报告]
发表于 2007-05-26 22:56 |只看该作者
他的路径是正确的,如果用packages安装,就是那个路径。

建议楼主把错误记录类型改为:debug,再看一下apache的日志。

论坛徽章:
0
15 [报告]
发表于 2007-05-26 23:13 |只看该作者
[Fri May 25 08:29:51 2007] [notice] Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 configured -- resuming normal operations
[Fri May 25 08:53:58 2007] [notice] caught SIGTERM, shutting down
[Fri May 25 08:55:15 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri May 25 08:55:17 2007] [notice] Digest: generating secret for digest authentication ...
[Fri May 25 08:55:17 2007] [notice] Digest: done
[Fri May 25 08:55:18 2007] [notice] Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 configured -- resuming normal operations
[Fri May 25 12:01:06 2007] [notice] caught SIGTERM, shutting down
[Fri May 25 12:02:24 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri May 25 12:02:28 2007] [notice] Digest: generating secret for digest authentication ...
[Fri May 25 12:02:28 2007] [notice] Digest: done
[Fri May 25 12:02:28 2007] [notice] Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.2 with Suhosin-Patch configured -- resuming normal operations
[Fri May 25 12:25:20 2007] [notice] caught SIGTERM, shutting down
[Fri May 25 12:58:58 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri May 25 12:59:01 2007] [notice] Digest: generating secret for digest authentication ...
[Fri May 25 12:59:01 2007] [notice] Digest: done
[Fri May 25 12:59:01 2007] [notice] Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.2 with Suhosin-Patch configured -- resuming normal operations
[Fri May 25 14:47:18 2007] [notice] caught SIGTERM, shutting down
[Fri May 25 14:47:23 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri May 25 14:47:27 2007] [notice] Digest: generating secret for digest authentication ...
[Fri May 25 14:47:27 2007] [notice] Digest: done
[Fri May 25 14:47:27 2007] [notice] Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.2 with Suhosin-Patch configured -- resuming normal operations
[Fri May 25 15:15:04 2007] [notice] caught SIGTERM, shutting down
[Fri May 25 15:15:09 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri May 25 15:15:11 2007] [notice] Digest: generating secret for digest authentication ...
[Fri May 25 15:15:11 2007] [notice] Digest: done
[Fri May 25 15:15:11 2007] [notice] Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.2 with Suhosin-Patch configured -- resuming normal operations
[Fri May 25 15:23:05 2007] [notice] caught SIGTERM, shutting down
[Fri May 25 15:48:32 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri May 25 15:48:37 2007] [notice] Digest: generating secret for digest authentication ...
[Fri May 25 15:48:37 2007] [notice] Digest: done
[Fri May 25 15:48:37 2007] [notice] Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.2 with Suhosin-Patch configured -- resuming normal operations
[Fri May 25 17:11:56 2007] [notice] caught SIGTERM, shutting down
[Fri May 25 18:46:47 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri May 25 18:46:51 2007] [notice] Digest: generating secret for digest authentication ...
[Fri May 25 18:46:51 2007] [notice] Digest: done
[Fri May 25 18:46:51 2007] [notice] Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.2 with Suhosin-Patch configured -- resuming normal operations
[Fri May 25 19:01:18 2007] [notice] caught SIGTERM, shutting down
[Fri May 25 19:02:39 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri May 25 19:02:42 2007] [notice] Digest: generating secret for digest authentication ...
[Fri May 25 19:02:42 2007] [notice] Digest: done
[Fri May 25 19:02:42 2007] [notice] Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.2 with Suhosin-Patch configured -- resuming normal operations
[Fri May 25 20:42:45 2007] [notice] caught SIGTERM, shutting down
[Sat May 26 07:53:35 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat May 26 07:53:41 2007] [notice] Digest: generating secret for digest authentication ...
[Sat May 26 07:53:41 2007] [notice] Digest: done
[Sat May 26 07:53:41 2007] [notice] Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.2 with Suhosin-Patch configured -- resuming normal operations
[Sat May 26 17:13:25 2007] [notice] caught SIGTERM, shutting down
[Sat May 26 17:13:31 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat May 26 17:13:34 2007] [notice] Digest: generating secret for digest authentication ...
[Sat May 26 17:13:34 2007] [notice] Digest: done
[Sat May 26 17:13:34 2007] [notice] Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.2 with Suhosin-Patch configured -- resuming normal operations
[Sat May 26 17:28:14 2007] [notice] caught SIGTERM, shutting down
[Sat May 26 17:28:18 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat May 26 17:28:23 2007] [notice] Digest: generating secret for digest authentication ...
[Sat May 26 17:28:23 2007] [notice] Digest: done
[Sat May 26 17:28:23 2007] [notice] Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.2 with Suhosin-Patch configured -- resuming normal operations
[Sat May 26 17:34:45 2007] [notice] caught SIGTERM, shutting down
[Sat May 26 17:34:50 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat May 26 17:34:52 2007] [notice] Digest: generating secret for digest authentication ...
[Sat May 26 17:34:52 2007] [notice] Digest: done
[Sat May 26 17:34:52 2007] [notice] Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.2 with Suhosin-Patch configured -- resuming normal operations
[Sat May 26 20:16:18 2007] [notice] caught SIGTERM, shutting down
[Sat May 26 20:16:23 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat May 26 20:16:26 2007] [notice] Digest: generating secret for digest authentication ...
[Sat May 26 20:16:26 2007] [notice] Digest: done
[Sat May 26 20:16:26 2007] [notice] Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.2 with Suhosin-Patch configured -- resuming normal operations
[Sat May 26 20:47:22 2007] [notice] caught SIGTERM, shutting down
[Sat May 26 20:47:27 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat May 26 20:47:30 2007] [notice] Digest: generating secret for digest authentication ...
[Sat May 26 20:47:30 2007] [notice] Digest: done
[Sat May 26 20:47:30 2007] [notice] Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.2 with Suhosin-Patch configured -- resuming normal operations
[Sat May 26 20:54:40 2007] [notice] caught SIGTERM, shutting down
[Sat May 26 20:54:46 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat May 26 20:54:47 2007] [notice] Digest: generating secret for digest authentication ...
[Sat May 26 20:54:47 2007] [notice] Digest: done
[Sat May 26 20:54:47 2007] [notice] Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.2 with Suhosin-Patch configured -- resuming normal operations
[Sat May 26 20:55:27 2007] [notice] caught SIGTERM, shutting down
[Sat May 26 20:56:48 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat May 26 20:56:51 2007] [notice] Digest: generating secret for digest authentication ...
[Sat May 26 20:56:51 2007] [notice] Digest: done
[Sat May 26 20:56:51 2007] [notice] Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.2 with Suhosin-Patch configured -- resuming normal operations
[Sat May 26 21:06:55 2007] [notice] caught SIGTERM, shutting down
[Sat May 26 21:07:00 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat May 26 21:07:02 2007] [notice] Digest: generating secret for digest authentication ...
[Sat May 26 21:07:02 2007] [notice] Digest: done
[Sat May 26 21:07:02 2007] [notice] Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.2 with Suhosin-Patch configured -- resuming normal operations
www# php5-5.2.2          PHP Scripting Language (Apache Module and CLI)
Badly placed ()'s.
www# php5-ctype-5.2.2    The ctype shared extension for php
php5-ctype-5.2.2: Command not found.
www# php5-dom-5.2.2      The dom shared extension for php
php5-dom-5.2.2: Command not found.
www# php5-extensions-1.1 A "meta-port" to install PHP extensions
php5-extensions-1.1: Command not found.
www# php5-ftp-5.2.2      The ftp shared extension for php
php5-ftp-5.2.2: Command not found.
www# php5-gd-5.2.2       The gd shared extension for php
php5-gd-5.2.2: Command not found.
www# php5-gettext-5.2.2  The gettext shared extension for php
php5-gettext-5.2.2: Command not found.
www# php5-iconv-5.2.2    The iconv shared extension for php
php5-iconv-5.2.2: Command not found.
www# php5-pcre-5.2.2     The pcre shared extension for php
php5-pcre-5.2.2: Command not found.
www# php5-pdo-5.2.2      The pdo shared extension for php
php5-pdo-5.2.2: Command not found.
www# php5-pdo_sqlite-5.2.2 The pdo_sqlite shared extension for php
php5-pdo_sqlite-5.2.2: Command not found.
www# php5-session-5.2.2  The session shared extension for php
php5-session-5.2.2: Command not found.
www# php5-simplexml-5.2.2 The simplexml shared extension for php
php5-simplexml-5.2.2: Command not found.
www# php5-spl-5.2.2      The spl shared extension for php
php5-spl-5.2.2: Command not found.
www# php5-tokenizer-5.2.2 The tokenizer shared extension for php
php5-tokenizer-5.2.2: Command not found.
www# php5-xml-5.2.2      The xml shared extension for php
php5-xml-5.2.2: Command not found.
www# php5-xmlreader-5.2.2 The xmlreader shared extension for php
php5-xmlreader-5.2.2: Command not found.
www# php5-xmlwriter-5.2.2 The xmlwriter shared extension for php
php5-xmlwriter-5.2.2: Command not found.
www# php5-zlib-5.2.2     The zlib shared extension for php
php5-zlib-5.2.2: Command not found.
www# pkg-config-0.21     A utility to retrieve information about installed libraries
pkg-config-0.21: Command not found.
www# png-1.2.18          Library for manipulating PNG images
png-1.2.18: Command not found.
www# t1lib-5.1.1_1,1     A Type 1 Rasterizer Library for UNIX/X11
t1lib-5.1.1_1,1: Command not found.
这是httpd-error.log 看不懂有什么问题

论坛徽章:
0
16 [报告]
发表于 2007-05-26 23:55 |只看该作者
重装了下php5-extensions不下载了。变成了显示原代码了就是新建的index.php的原代码

论坛徽章:
0
17 [报告]
发表于 2007-05-27 17:35 |只看该作者
我顶。。。。。。。。。一直等

论坛徽章:
54
2017金鸡报晓
日期:2017-02-08 10:39:42操作系统版块每日发帖之星
日期:2016-03-08 06:20:00操作系统版块每日发帖之星
日期:2016-03-07 06:20:00操作系统版块每日发帖之星
日期:2016-02-22 06:20:00操作系统版块每日发帖之星
日期:2016-01-29 06:20:00操作系统版块每日发帖之星
日期:2016-01-27 06:20:00操作系统版块每日发帖之星
日期:2016-01-20 06:20:00操作系统版块每日发帖之星
日期:2016-01-06 06:20:0015-16赛季CBA联赛之江苏
日期:2015-12-21 20:00:24操作系统版块每日发帖之星
日期:2015-12-21 06:20:00IT运维版块每日发帖之星
日期:2015-11-17 06:20:002015亚冠之广州恒大
日期:2015-11-12 10:58:02
18 [报告]
发表于 2007-05-27 21:51 |只看该作者
把现在的php删除掉,再重新安装一下试试。看你的日志,应该是php出现了问题。
可以先卸载php-extension试试。

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
19 [报告]
发表于 2007-05-27 21:58 |只看该作者
原帖由 hacking1983 于 2007-5-26 23:55 发表
重装了下php5-extensions不下载了。变成了显示原代码了就是新建的index.php的原代码


那还是你的 libphp5.so 没有被 loader 进来,php 代码没有解析的缘故。

论坛徽章:
0
20 [报告]
发表于 2007-05-27 23:00 |只看该作者
/usr/local/etc/apache22/httpd.conf

[ 本帖最后由 雷巫 于 2007-5-27 23:01 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP