想在公司的机子上装Apache+php5+mysql环境...
配置PHP过程中遇到2个问题...
首先下载需要的程序..apache php mysql
公司电脑只用一个盘.... 昏........
都装在C盘下.
通过网上的资料配置PHP;
DirectoryIndex index.html 在后面加入 index.htm index.php (默认index.php为首页文件)
在httpd.conf文件最后加上;
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
还把文件php5ts.dll拷到了wint/system32下;
php.ini-recommended拷到了wint下..
重启Apache..
出现错误,
引用
您无权查看该网页
您可能没有权限用您提供的凭据查看此目录或网页。
... ...
HTTP 错误 403 - 禁止访问
修改httpd.conf 在
<Directory "/">
Options FollowSymLinks
Allow from all #修改
Order Allow,Deny #修改
AllowOverride None
Satisfy all
</Directory>
重启Apache.....
又出现了500错误,internet server ............
引用
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@synchrotimes.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
查找网上资料..
应当吧php目录下的php.exe改名,然后把php-cgi.exe改名为php.exe,也可以把
Action application/x-httpd-php "/php/php.exe" 改为
Action application/x-httpd-php "/php/php-cgi.exe"
重启APACHE.........
OK........
分享到:
相关推荐
Windows下PHP5和Apache的安装与配置
装apache时突然出现了LoadModule takes two arguments, a module name and the name of a shared object file to load it ...LoadModule php5_module modules/php5apache2.dll AddType application/x-httpd-php .php
Apache+php+mysql在windows下的安装与配置图解(最新版)
Windows下安装Apache+php+mysql+bugfree
WindowsXP下安装Apache+Mysql+Php平台
在Windows中安装Apache2和PHP5.pdf
在windows下安装apache php mysql安装与配置图解
快速配置php apache mysql 开发环境参考文档。
Apache+php+mysql在windows下的安装与配置(图文) 一、安装Apache,配置成功一个普通网站服务器 二、php的安装、以module方式,将php与apache结合使你的网站服务器支持php服务器脚本程序 ······
如何在Windows上安装Apache,MySQL和PHP ,操作方案等
PHP 5.2 标准课程初级windows下安装apache
在linux中安装apache ,php ,mysql 和 phpMyAdmin是相当容易的,在windows 10中就难一些。这本小册子详细介绍如何在windows 10中安装最新的apache 2.4,php 7,mysql 8 和 phpMyAdmin,非常实用。
详细介绍在Windows系统下安装Apache和php和mysql的运行环境
windows xp 下 apache + php 安装Xdebug 附件中 含有 Xdebug的dll扩展库文件 和 详细的 安装步骤,如果使用的是 php的其他版本 请到 www.Xdebug.org/download.php 下载相应版本
Apache的安装与配置 打开apache官方网站 http://archive.apache.org/dist/httpd/binaries/win32/ 或者镜像网站 http://apache.mirror.phpchina.com/httpd/binaries/win32/,下载里面的apache_2.2.20-win32-x86-no_...
Apache+php+mysql在windows下的安装与配置图解
在windows下安装apache+php+mysql安装与配置图解.pdf
windows,apache,php5,mysql 在windows上部署 详解
apache+php+mysql在windows下安装配置的视频,值得一看