最近,我把我的项目php+smarty+mysql放到了httpd服务器上。但我遇到一个错误,上面写着:
500 Internal Server Error
我的操作系统是archlinux,httpd服务器和php是这样安装的:
sudo pacman -S apache php
如果我使用一个测试原生php文件,它包含以下内容:
<html>
<head>
<title>PHP Test Page</title>
</head>
<body>
This is Arch Lin
我一直在跟踪本指南在我的专用服务器上设置邮件服务器。我已经能够从我使用的php应用程序和linux命令行(使用telnet、php等)发送邮件。
问题是,我无法通过IMAP/POP连接到服务器,而我已经使用Courier设置了该服务器。我试过使用雷鸟,但它抱怨用户名或密码是错误的。我怀疑这是用户名/密码,但我不知道如何解决这个问题。
编辑:以下是mail.log中的消息:
Jan 9 22:43:38 mail authdaemond: received auth request, service=imap, authtype=login
Jan 9 22:43:38 mail authd
我想在eclipse中运行我的第一个php项目(在宠物包的帮助下)。当我运行我的项目(index.php) eclipse时,会显示一个错误,下面的消息如下:
Page Login failed with error. Could not connect to the server.
更多信息:
当我在浏览器中输入"http ://localhost“时,它找不到服务器
我在用开普勒版的月食
我在MAC OSX中运行eclipse
我认为我的本地服务器没有启动或者我没有本地服务器。如何解决这个错误?如何在mac中运行本地php服务器?
诚挚的问候
这是我的设置:
从本地环境调试/开发
IDE: PhpStorm 10
url for setting up my PhpStorm debugging: https://blog.jetbrains.com/phpstorm/2011/03/configure-php-debugging-in-phpstorm-2-0/
PHP interpreter version (local copy): 5.6
远程AWSEC2-Linux设置:
xdebug for php56-devel
I used this SO answer for my xdebug setup: https: