免费注册 查看新帖 |

Chinaunix

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

[FreeBSD] freebsd 6.2配置 apache2.2.3 php 5.16不能解析! [复制链接]

论坛徽章:
0
11 [报告]
发表于 2007-08-29 09:40 |只看该作者
晕, 没有libphp5.so
再怎么加AddType xxxxx 都没用吧?!

论坛徽章:
0
12 [报告]
发表于 2007-08-29 09:44 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
13 [报告]
发表于 2007-08-29 16:07 |只看该作者
PHP5.2.3里的安装文档说PHP5.2.3和Apache2.0.xx结合的比较好。有一点要注意:安装源码的Apache时make install 后不要马一make clean,这样编译PHP时就可以有libphp5.so这个文件了。PHP安装程序会自动配置好httpd.conf的。本人在FreeBSD6.2平台上安装Apache2.0.59+PHP5.2.3+MySQL5.0.45,(用*.tar.gz文件安装)也挺快的。

论坛徽章:
0
14 [报告]
发表于 2007-10-22 16:26 |只看该作者
偶全部 ports 安装.
并参考网友的配置设置.但解析PHP文件时会提示:

which is a: application/x-httpd-php
from: http//127.0.0.1

#cd /usr/ports/lang/php5
#make WITH_APACHE22=yes install clean
#cd ..
#cd php5-extensions/
#make config

     ┌────────────────────────────────────────────────────────────────────┐
     │                 Options for php5-extensions 1.1                    │
     │ ┌────────────────────────────────────────────────────────────────┐ │
     │ │   [ ] BCMATH      bc style precision math functions            │ │
     │ │   [ ] BZ2         bzip2 library support                        │ │
     │ │   [ ] CALENDAR    calendar conversion support                  │ │
     │ │   [X] CTYPE       ctype functions                              │ │
     │ │   [ ] CURL        CURL support                                 │ │
     │ │   [ ] DBA         dba support                                  │ │
     │ │   [ ] DBASE       dBase library support                        │ │
     │ │   [X] DOM         DOM support                                  │ │
     │ │   [ ] EXIF        EXIF support                                 │ │
     │ │   [ ] FILEINFO    fileinfo support                             │ │
     │ │   [X] FILTER      input filter support                         │ │
     │ │   [ ] FRIBIDI     FriBidi support                              │ │
     │ │   [X] FTP         FTP support                                  │ │
     │ │   [X] GD          GD library support                           │ │
     │ │   [ ] GETTEXT     gettext library support                      │ │
     │ │   [ ] GMP         GNU MP support                               │ │
     │ │   [X] HASH        HASH Message Digest Framework                │ │
     │ │   [X] ICONV       iconv support                                │ │
     │ │   [ ] IMAP        IMAP support                                 │ │
     │ │   [ ] INTERBASE   Interbase 6 database support (Firebird)      │ │
     │ │   [X] 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                      │ │
     │ │   [X] MYSQL       MySQL database support                       │ │
     │ │   [ ] MYSQLI      MySQLi database support                      │ │
     │ │   [ ] NCURSES     ncurses support (CLI only)                   │ │
     │ │   [ ] ODBC        unixODBC support                             │ │
     │ │   [ ] OPENSSL     OpenSSL support                              │ │
     │ │   [ ] PCNTL       pcntl support (CLI only)                     │ │
     │ │   [X] PCRE        Perl Compatible Regular Expression support   │ │
     │ │   [X] PDF         PDFlib support (implies GD)                  │ │
     │ │   [X] PDO         PHP Data Objects Interface (PDO)             │ │
     │ │   [X] PDO_SQLITE  PDO sqlite driver                            │ │
     │ │   [ ] PGSQL       PostgreSQL database support                  │ │
     │ │   [X] POSIX       POSIX-like functions                         │ │
     │ │   [ ] PSPELL      pspell support                               │ │
     │ │   [ ] READLINE    readline support (CLI only)                  │ │
     │ │   [ ] RECODE      recode support                               │ │
     │ │   [X] SESSION     session support                              │ │
     │ │   [ ] SHMOP       shmop support                                │ │
     │ │   [X] SIMPLEXML   simplexml support                            │ │
     │ │   [ ] SNMP        SNMP support                                 │ │
     │ │   [ ] SOAP        SOAP support                                 │ │
     │ │   [X] SOCKETS     sockets support                              │ │
     │ │   [X] SPL         Standard PHP Library                         │ │
     │ │   [X] 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                                 │ │
     │ │   [X] TOKENIZER   tokenizer support                            │ │
     │ │   [ ] WDDX        WDDX support (implies XML)                   │ │
     │ │   [X] XML         XML support                                  │ │
     │ │   [X] XMLREADER   XMLReader support                            │ │
     │ │   [ ] XMLRPC      XMLRPC-EPI support                           │ │
     │ │   [X] XMLWRITER   XMLWriter support                            │ │
     │ │   [ ] XSL         XSL support (Implies DOM)                    │ │
     │ │   [ ] YAZ         YAZ support (ANSI/NISO Z39.50)               │ │
     │ │   [X] ZIP         ZIP support                                  │ │
     │ │   [X] ZLIB        ZLIB support                                 │ │
     ├─└────────────────────────────────────────────────────────────────┘─┤
     │                       [  OK  ]       Cancel                        │
     └────────────────────────────────────────────────────────────────────┘
#make install clean
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP