凡是过往,皆为序章。
  • 微信微信

腾讯云lamp服务器使用phpmailer发邮件出错:SMTP Error: Could not connect to SMTP host.

腾讯云lamp服务器使用phpmailer发邮件出错:SMTP Error: Could not connect to SMTP host.
        这几天发现从阿里云迁移到腾讯云的php网站发不了邮件,提示:SMTP Error: Could not connect to SMTP host.         这就奇怪了,因为在阿里云是可以的。         百度说"fsockopen 和pfsockopen 经常被服务器端关闭"。尝试了解决方案都不行。还有...

httpd一个不常见的403错误,error.log提示:pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/html/' is executable

httpd一个不常见的403错误,error.log提示:pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/html/' is executable
        今天搭个lamp服务端,一切程序服务在15分钟左右搞好,放个测试程序上去,却出现403错误。         根据提示,是权限问题,所以核查httpd.conf配置,找来找去,发现没有错误,<Directory "/var/www/html">没问题,配置如下: <Directory "/var/www/html"> ...