Jump to content
[MUST READ] Forum Rules ×

Xera需要什么 PHP拓展吗?具体需要哪些?部署了最后是 404


Recommended Posts

I used the recommended PHP 8.1 and MySQL 3.7, but when I got to the last step of the installation, I clicked on redirect to /admin and it said 404, I didn't find the name admin in the website directory I used the recommended PHP 8.1 and MySQL 3.7. But when I got to the last step of the install, I clicked on redirect to the /admin interface and it showed 404 and I couldn't find anything in the website directory for admin directory

Link to comment
Share on other sites

Just now, YuLong said:

I used the recommended PHP 8.1 and MySQL 3.7, but when I got to the last step of the installation, I clicked on redirect to /admin and it said 404, I didn't find the name admin in the website directory I used the recommended PHP 8.1 and MySQL 3.7. But when I got to the last step of the install, I clicked on redirect to the /admin interface and it showed 404 and I couldn't find anything in the website directory for admin directory

你安装在哪个目录?
普遍是: <网域>/<Xera位置>/admin

Link to comment
Share on other sites

我安装在了网址根目录。我遇到的问题是,安装界面,输入数据库账号密码安装成功后,点击重定向,他会自动重定向到/admin/regeister,但是这个目录是404 Not Found,同时在宝塔看网站目录也是没有admin这个文件夹。

Edited by YuLong
Update
Link to comment
Share on other sites

On 11/2/2024 at 11:14 AM, YuLong said:

用了 Nginx 的原因

location / {
  if (!-e $request_filename){
    rewrite ^(.*)$ /index.php break;
  }
  if (!-e $request_filename){
    rewrite .*$ /index.php?/$1 break;
  }
}

 

试试看这个nginx.conf

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...