Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能不能用这种思路部署WordPress #10

Open
snesqwq opened this issue Oct 16, 2023 · 3 comments
Open

能不能用这种思路部署WordPress #10

snesqwq opened this issue Oct 16, 2023 · 3 comments

Comments

@snesqwq
Copy link

snesqwq commented Oct 16, 2023

如题

@Lete114
Copy link
Owner

Lete114 commented Oct 17, 2023

可以,但是需要你做部分修改,例如修改掉 wordpress 源码中操作文件的代码,因为 vercel 规定了程序没有写入权限,唯一拥有写入权限的只有 /tmp 但这个目录是临时的。对 wordpress 源码进行修改还是蛋有不小的难度的,如果你有能力可以尝试一下

@snesqwq
Copy link
Author

snesqwq commented Oct 22, 2023

可以,但是需要你做部分修改,例如修改掉 wordpress 源码中操作文件的代码,因为 vercel 规定了程序没有写入权限,唯一拥有写入权限的只有 /tmp 但这个目录是临时的。对 wordpress 源码进行修改还是蛋有不小的难度的,如果你有能力可以尝试一下

要不你开个repo或文档做下试试?

@Lete114
Copy link
Owner

Lete114 commented Oct 22, 2023

我不会php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants