Coder Social home page Coder Social logo

tbvercel's Introduction

myphp

30秒在Vercel构建自己的无服务器php环境并实现国内直连访问。

操作步骤:

  • 准备好域名
  • 为域名添加一条CNAME到cname-china.vercel-dns.com
  • 点击下方按钮跳转并部署

  • 找到Vercel项目的域名设置,改为你的域名保存
  • 访问你的域名

最后你可以:删除仓库的README.md,编辑或删除index.html

说明:

  • 这只是一个简单的示例,每次编辑或上传新的php文件到Github仓库的api目录下都会自动构建。构建完成后访问你的域名/api/文件名.php即可。

主要目录文件结构:

myphp
├── api
│   └── index.php
└── vercel.json

php版本:

默认部署的php版本为8.3.X。编辑vercel.json文件可构建不同版本的php环境。

官方仓库:

更新说明

  • 同步官方仓库,更新PHP版本。

tbvercel's People

Contributors

hp5843 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.