我刚刚重新安装了XAMPP,当我尝试在XAMPP控制面板中启动我的Apache服务器时,我现在收到以下错误:
16:50:25 [Apache] Status change detected: running
16:50:26 [Apache] Status change detected: stopped
16:50:26 [Apache] Error: Apache shutdown unexpectedly.
16:50:26 [Apache] This may be due to a blocked port, missing dependencies,
16:50:26 [Apache] improper privileges, a crash, or a shutdown by another method.
16:50:26 [Apache] Press the Logs button to view error logs and check
16:50:26 [Apache] the Windows Event Viewer for more clues
16:50:26 [Apache] If you need more help, copy and post this
16:50:26 [Apache] entire log window …
Run Code Online (Sandbox Code Playgroud) 我正在尝试从localhost发送邮件.但我无法从localhost发送邮件,所以任何人都可以告诉我如何重新配置我的xampp从localhost发送邮件
尝试在我的XAMPP本地开发环境中上传WordPress上的导入时出现此错误:
警告:POST内容长度为8978294字节超过了第0行的Unknown中的8388608字节限制
我改变了upload_max_filesize
从2M
到1000M
,但是这似乎并没有做任何事情.
有任何想法吗?
我一直试图弄清楚如何解决这个问题两天.我对这种事情不熟悉所以如果有人能告诉我如何解决这个问题我会很感激.
我试过删除Skype,但是没有用,我试过关闭万维网的东西,IIS似乎没什么用.
12:51:22 PM [Apache] Problem detected!
12:51:22 PM [Apache] Port 80 in use by "Unable to open process" with PID 4!
12:51:22 PM [Apache] Apache WILL NOT start without the configured ports free!
12:51:22 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
12:51:22 PM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
Run Code Online (Sandbox Code Playgroud) 我想知道你如何在Xampp for Windows中升级PHP?我尝试从主PHP站点下载最新的PHP版本,但是当我检查(phpinfo)时,我仍然得到以前的版本仍在使用中.
我在Windows 7上运行PHP版本5.6.3作为XAMPP的一部分.
当我尝试使用Mandrill API时,我收到以下错误:
未捕获的异常'Mandrill_HttpError',消息'API调用消息/发送模板失败:SSL证书问题:无法获取本地颁发者证书'
我已经尝试过在StackOverflow上阅读的所有内容,包括将以下内容添加到php.ini文件中:
curl.cainfo = "C:\xampp\php\cacert.pem"
Run Code Online (Sandbox Code Playgroud)
并且当然从http://curl.haxx.se/docs/caextract.html下载到该位置的cacert.pem文件
但毕竟,重新启动XAMPP和Apache服务器但仍然得到相同的错误.
我真的不知道还有什么可以尝试的.
任何人都可以建议我还能尝试什么?
我在Windows 7上运行了XAMPP安装.
只要我将一个VirtualHost添加到httpd-vhosts.conf,那么'常规' http://localhost
和新的dropbox.local
都不起作用.
这是我添加到我的httpd-vhosts.conf中的内容:
<VirtualHost *:80>
ServerAdmin postmaster@dummy-host.localhost
DocumentRoot "E:/Documenten/Dropbox/Dropbox/dummy-htdocs"
ServerName dropbox.local
ServerAlias www.dropbox.local
ErrorLog "logs/dropbox.local-error.log"
CustomLog "logs/dropbox.local-access.log" combined
</VirtualHost>
Run Code Online (Sandbox Code Playgroud)
所以我查看了我的dropbox.local-error.log以获取任何信息:
[Thu Feb 02 10:41:57 2012] [error] [client 127.0.0.1] client denied by server configuration: E:/Documenten/Dropbox/Dropbox/dummy-htdocs/
Run Code Online (Sandbox Code Playgroud)
这个错误似乎可以通过添加来解决
<directory "E:/Documenten/Dropbox/Dropbox/dummy-htdocs">
Allow from all
</directory>
Run Code Online (Sandbox Code Playgroud)
但现在我在dropbox.local-error.log中收到此错误:
[Thu Feb 02 10:45:56 2012] [error] [client ::1] Directory index forbidden by Options directive: E:/Documenten/Dropbox/Dropbox/dummy-htdocs/
Run Code Online (Sandbox Code Playgroud)
此外,当我尝试访问时httpd-vhosts.conf
,我没有在常规中得到任何错误dropbox.local-error.log
,虽然我得到了dropbox.local-error.log
当我尝试访问它时.
任何人都可以帮忙......这让我很生气:S
编辑:还有http://localhost
以下(我已经多次提到它,所以在任何人说之前):
<IfModule dir_module>
DirectoryIndex index.php index.pl index.cgi index.asp …
Run Code Online (Sandbox Code Playgroud) 我刚在家里建立了一个Wi-Fi网络.我的桌面计算机(192.168.1.56)上有我的所有文件,并希望从另一台计算机(192.168.1.2)访问那里的localhost.
在我的桌面上,我可以通过正常的http:// localhost访问localhost.Apache像往常一样在端口80上运行.
究竟我该怎么做才能实现这个目标?网上有文档,但它们要么不起作用,要么过于片段化,难以理解.
我想我必须更改我的apache的httpd.conf文件和hosts文件.关于做出哪些改变的任何想法?