电商商城定制开发Internal Server Error 错误 The server encountered an internal error or misconfiguration and was una...

电商商城定制开发在家中搭一个个人的eyoucms电商商城定制开发的测试环境,安装时,前边顺利的很,但到后边,一直报以下的这个错误,让人头疼不已。

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at admin@example.com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
百度了一下,发现大部分人把问题的原因,归结为服务器url rewrite问题,说是修改.htaccess就可以了。

具体就是把.htaccess修改为:

  1. <IfModule mod_rewrite.c>
  2. RewriteEngine On
  3. RewriteBase /
  4. RewriteRule ^index\.php$ - [L]
  5. RewriteCond %{ENV:REDIRECT_STATUS} ^$
  6. RewriteCond %{REQUEST_FILENAME} !-f
  7. RewriteCond %{REQUEST_FILENAME} !-d
  8. RewriteRule . /index.php [L]
  9. </IfModule>

但是我修改了以后,却问题依旧。

琢磨会不会是php版本的问题,根据官方的提示,php应该是支持5.4以上的所有版本啊,于是,从php7.4一直到php5.4全试了一下,还是不行。

后来怀疑是不是mysql的问题。官方说是mysql要求5.7+,我的是8.0版本。按说是在+的范围,但还是试一下得了,于是把mysql调到5.7版本,试了一下。安装正常通过。

绕了半天,竟然是mysql版本引起的问题。晕!

网站建设定制开发 软件系统开发定制 定制软件开发 软件开发定制 定制app开发 app开发定制 app开发定制公司 电商商城定制开发 定制小程序开发 定制开发小程序 客户管理系统开发定制 定制网站 定制开发 crm开发定制 开发公司 小程序开发定制 定制软件 收款定制开发 企业网站定制开发 定制化开发 android系统定制开发 定制小程序开发费用 定制设计 专注app软件定制开发 软件开发定制定制 知名网站建设定制 软件定制开发供应商 应用系统定制开发 软件系统定制开发 企业管理系统定制开发 系统定制开发