---------------------- ------------+
现在你可以创建一个定制的证书。该选项将提示输入你的地址、公司 、和其他一些东西。关于证书,请参阅本文的结尾。
# make certificate TYPE=custom
现在安装Apache...
# make install
如果一切正常,你应该看到类似于以下的信息:
+----------------------------- ------------------------------------+
| You now have successfully built and installed the |
| Apache 1.3 HTTP server. To verify that Apache actually |
| works correctly you now should first check the |
| (initially created or preserved) configuration files |
| |
| /usr/local/apache/conf/httpd .conf |
| and then you should be able to immediately fire up |
| Apache the first time by running: |
| |
| /usr/local/apache/bin/apachect l start |
| Or when you want to run it with SSL enabled use: |
| |
| /usr/local/apache/bin/apachect l startssl |
| Thanks for using Apache. The Apache Group |
| http://www.apache.org / |
+----------------------------- -------------------------------+
现在验证Apache和PHP是否正在工作。然而 ,我们需要编辑srm.conf和httpd.conf保证我们 把PHP类型加到了配置中。查看httpd.conf并去掉下列 行的注释。如果你精确地遵循了本文的指令,你的httpd .conf文件将位于/usr/local/apache /conf目录。文件有一行针对php4的addtype加了注 释,现在就去掉注释。httpd.conf 文件--片断
>
> # And for PHP 4.x, use:
> #
---> AddType application/x-httpd-php .php
---> AddType application/x-httpd-php-source .phps
>
>
现在我们准备启动Apache
现在你可以创建一个定制的证书。该选项将提示输入你的地址、公司
# make certificate TYPE=custom
现在安装Apache...
# make install
如果一切正常,你应该看到类似于以下的信息:
+-----------------------------
| You now have successfully built and installed the |
| Apache 1.3 HTTP server. To verify that Apache actually |
| works correctly you now should first check the |
| (initially created or preserved) configuration files |
| |
| /usr/local/apache/conf/httpd
| and then you should be able to immediately fire up |
| Apache the first time by running: |
| |
| /usr/local/apache/bin/apachect
| Or when you want to run it with SSL enabled use: |
| |
| /usr/local/apache/bin/apachect
| Thanks for using Apache. The Apache Group |
| http://www.apache.org / |
+-----------------------------
现在验证Apache和PHP是否正在工作。然而
>
> # And for PHP 4.x, use:
> #
---> AddType application/x-httpd-php .php
---> AddType application/x-httpd-php-source .phps
>
>
现在我们准备启动Apache
| 对此文章发表了评论 |
