OSX上的XAMPP默认文件夹 [英] XAMPP default folder on OSX

查看:66
本文介绍了OSX上的XAMPP默认文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

入门手册说我可以将文件放在/Applications/XAMPP/htdocs/文件夹和/Sites/文件夹中,但是当我将文件放在/Sites文件夹中时,会出现此错误:

Getting Started manual says I can put my files in /Applications/XAMPP/htdocs/ folder and in /Sites/ folder, but when I put files in /Sites folder it gives me this error:

Server error!

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.

If you think this is a server error, please contact the webmaster.
Error 500
localhost
Wed Mar 17 11:29:01 2010
Apache/2.2.14 (Unix) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l PHP/5.3.1 mod_perl/2.0.4 Perl/v5.10.1 

是否需要更改?

此外,当我尝试通过终端重新启动XAMPP时,也会收到此消息:

Also, when I try to restart XAMPP via Terminal I get this message:

XAMPP: Starting ProFTPD.../Applications/XAMPP/xamppfiles/xampp: line 184: /Applications/XAMPP/xamppfiles//var/proftpd/start.err: No such file or directory
fail.
Contents of "/Applications/XAMPP/xamppfiles//var/proftpd/start.err":
cat: /Applications/XAMPP/xamppfiles//var/proftpd/start.err: No such file or directory

这与安装有关吗?

谢谢

推荐答案

您可以按照以下步骤操作:

You can follow these:

sudo mkdir /Applications/XAMPP/xamppfiles/var/proftpd/

sudo touch /Applications/XAMPP/xamppfiles/var/proftpd/start.err

sudo /Applications/XAMPP/xamppfiles/xampp fix_rights

这篇关于OSX上的XAMPP默认文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆