|
马上注册,,享用更多功能,让你轻松玩转本站。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
xampp的配置文件如下: ## XAMPP settings#<IfModule env_module> SetEnv MIBDIRS "F:/xampp/php/extras/mibs" SetEnv MYSQL_HOME "\\xampp\\mysql\\bin" SetEnv OPENSSL_CONF "F:/xampp/apache/bin/openssl.cnf" SetEnv PHP_PEAR_SYSCONF_DIR "\\xampp\\php" SetEnv PHPRC "\\xampp\\php" SetEnv TMP "\\xampp\\tmp"</IfModule>## PHP-Module setup#LoadFile "F:/xampp/php/php5ts.dll"LoadFile "F:/xampp/php/libpq.dll"LoadModule php5_module "F:/xampp/php/php5apache2_4.dll"<FilesMatch "\.php$"> SetHandler application/x-httpd-php</FilesMatch><FilesMatch "\.phps$"> SetHandler application/x-httpd-php-source</FilesMatch>## PHP-CGI setup##<FilesMatch "\.php$"># SetHandler application/x-httpd-php-cgi#</FilesMatch>#<IfModule actions_module># Action application/x-httpd-php-cgi "/php-cgi/php-cgi.exe"#</IfModule><IfModule php5_module> PHPINIDir "F:/xampp/php"</IfModule><IfModule mime_module> AddType text/html .php .phps</IfModule>ScriptAlias /php-cgi/ "F:/xampp/php/"<Directory "F:/xampp/php"> AllowOverride None Options None Require all denied <Files "php-cgi.exe"> Require all granted </Files></Directory><Directory "F:/xampp/cgi-bin"> <FilesMatch "\.php$"> SetHandler cgi-script </FilesMatch> <FilesMatch "\.phps$"> SetHandler None </FilesMatch></Directory><Directory "F:/xampp/htdocs/xampp"> <IfModule php5_module> <Files "status.php"> php_admin_flag safe_mode off </Files> </IfModule> AllowOverride AuthConfig</Directory><IfModule alias_module> Alias /licenses "F:/xampp/licenses/" <Directory "F:/xampp/licenses"> Options +Indexes <IfModule autoindex_color_module> DirectoryIndexTextColor "#000000" DirectoryIndexBGColor "#f8e8a0" DirectoryIndexLinkColor "#bb3902" DirectoryIndexVLinkColor "#bb3902" DirectoryIndexALinkColor "#bb3902" </IfModule> Require local ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var </Directory> Alias /phpmyadmin "F:/xampp/phpMyAdmin/" <Directory "F:/xampp/phpMyAdmin"> AllowOverride AuthConfig Require local ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var </Directory> Alias /webalizer "F:/xampp/webalizer/" <Directory "F:/xampp/webalizer"> <IfModule php5_module> <Files "webalizer.php"> php_admin_flag safe_mode off </Files> </IfModule> AllowOverride AuthConfig Require local ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var </Directory></IfModule>尝试过许多方法都失败,哪位前辈有什么办法可以解决?
|
|