您现在的位置: 无忧电子商务网 >> 信息学院 >> 程序开发 >> php >> 正文

LAMPJT最适用的PHP开发系统详细配置

作者:佚名    信息学院来源:整理    点击数:    更新时间:2008-2-2 我要参与讨论

    linux fed core 4安装说明

  一般只要按着光盘的安装顺序进行操作即可,如进行个性化的配置安装,可以参考本站的其他相关文档

  mysql安装说明

  本说明采用mysql4.0.14

shell>groupadd mysql

  shell>useradd  -g mysql mysql

  shell>tar xvf XXXXmysql.tar.gz

  shell>cd /usr/mysql

  shell>ln -s /PATH-to-mysql mysql

  shell>cd mysql

  shell>scripts/mysql_install_db  --user=mysql

  shell>chown -R root .

  shell>chown -R mysql data

  shell>chgrp -R mysql .

  shell>bin/mysqld_safe --user=mysql &

  apache安装说明

  本说明采用http2.0.54

shell>cd  /usr/

  shell>tar xvfz httpd-2.0.54.tar.gz

  shell>cd httpd-2.0.54

  shell>./configure --prefix=/usr/apache --enable-module=so

  shell>make

  shell>make install

  shell>/usr/apache/conf

  shell>vi ./httpd.conf

  将Listen 80 修改为Listen :80

  将ServerName 修改为ServerName :80

  在DirectoryIndex中添加 index.jsp

  shell>cd /usr/apache/bin/

  shell>./apachectl configtest

  若显示Syntax ok则表明安装成功

  shell>./apachectl start

  启动apache服务,访问本机80端口,查看端口是否正常

  shell>./apachectl stop

  php的安装说明

  本安装采用版本php4.4.0

shell>tar zxvf php4.4.0.tar.gz

  shell>cd php4.4.0

  shell>./configure --prefix=/usr/php --with-apxs2=/usr/apache/bin/apxs --with-xml --with-mysql=/usr/mysql

  shell>make

  shell>make install

  shell>

[1] [2] [3] 下一页

在google里搜索更多LAMPJT最适用的PHP开发系统详细配置

Google
Web www.51ec.org
  • 上一篇信息学院:

  • 下一篇信息学院:
  • 【字体: 】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
    我来说两句 对此文章发表了评论
      昵 称: *必填    ·注册用户·
      评 分: 1分 2分 3分 4分 5分     严禁发表危害国家安全、政治、黄色淫秽等内容的评论,用户需对自己在使用本网站服务过程中的行为承担法律责任。本站管理员有权保留或删除评论内容,评论内容只代表机友个人观点,与本网站立场无关。  
    评 论
    内 容

     
    评论列表 (最新 评论仅限网友观点!)

    供求信息




    | 设为首页 | 加入收藏 | 关于我们 | 广告服务 | 联系方式 | 友情链接 | 版权申明