我是靠谱客的博主 喜悦小伙,最近开发中收集的这篇文章主要介绍wampserver 配置详解,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

wampserver 配置详解
在wampserver按装目录下有四个配置文件,是很重要 wampmanager.tpl
 wampscriptsconfig.inc.php
 wampwampmanager.ini
wampmanager.conf
(wampscripts 文件夹很重要.)

1.wampmanager.tpl  和wampmanager.ini的内容 相同 ,wampmanager.tpl 是个配置的文件的模板, 修改wampmanager.ini没作用,只有修改wampmanager.tpl , config.inc.php才会起作用。一些选项动作指定

2.wampmanager.conf
是wamp主模块的配置(apache, mysql, php)
[main]
language = "chinese"
status = "online"
wampserverVersion = 2.4
wampserverLastKnown = 2.4
installDir = "d:/wamp"
navigator = "C:Windowsexplorer.exe"
defaultLanguage = english


[php]
phpVersion = "5.4.12"
phpLastKnown = 5.4.12
phpIniDir = .
phpConfFile = php.ini
phpExeDir = .


[phpCli]
phpCliVersion = 5.4.12
phpExeFile = php.exe
phpCliFile = php-win.exe


[apache]
apacheVersion = "2.4.4"
apacheLastKnown = 2.4.4
apacheExeDir = bin
apacheConfDir = conf
apacheExeFile = httpd.exe
apacheConfFile = httpd.conf
apacheServiceInstallParams = -n wampapache -k install
apacheServiceRemoveParams = -n wampapache -k uninstall


[mysql]
mysqlVersion = "5.6.12"
mysqlLastKnown = 5.6.12
mysqlConfDir = .
mysqlConfFile = my.ini
mysqlExeDir = bin
mysqlExeFile = mysqld.exe
mysqlServiceInstallParams = --install-manual wampmysqld
mysqlServiceRemoveParams = --remove wampmysqld


[apps]
phpmyadminVersion = 4.0.4
sqlbuddyVersion = 1.3.3

3.config.inc.php
这应该是被包含的主配置文件, 从内容可知, 它包含了前面的配置文件,和定义了一些配置。

<VirtualHost *:80>
    DocumentRoot "G:/localhost"
    ServerName  localhost
    ErrorLog "logs/m.local.cc-error.log"
    CustomLog "logs/m.local.cc-access.log" common
    <Directory "G:/localhost">
        Options Indexes FollowSymLinks
        DirectoryIndex index.html index.php
        AllowOverride all
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "F:/PhpLearn"
    ServerName  phplearn.com
    ServerAlias  phplearn
    ErrorLog "logs/m.local.cc-error.log"
    CustomLog "logs/m.local.cc-access.log" common
    <Directory "F:/PhpLearn">
        Options Indexes FollowSymLinks
        DirectoryIndex index.html index.php
        AllowOverride all
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>



最后

以上就是喜悦小伙为你收集整理的wampserver 配置详解的全部内容,希望文章能够帮你解决wampserver 配置详解所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(52)

评论列表共有 0 条评论

立即
投稿
返回
顶部