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

How to deploy typecho #34

Open
fydy opened this issue Dec 11, 2019 · 2 comments
Open

How to deploy typecho #34

fydy opened this issue Dec 11, 2019 · 2 comments

Comments

@fydy
Copy link

fydy commented Dec 11, 2019

How to deploy typecho with now-php?
https://github.com/typecho/typecho

@f3l1x
Copy link
Collaborator

f3l1x commented Dec 15, 2019

Hello. I've never used typecho. Could you please describe how it works, requirements and setup a minimal version to deploy?

@fydy
Copy link
Author

fydy commented Dec 16, 2019

Typecho is a single entry program.

All accesses are through index.php , Index.php does three things

  • Load config.inc.php (config.inc.php sets the relevant directory, including path, load system basic class library, program initialization typecho_common:: init();, and finally sets the database connection parameters, which can be viewed here by yourself)
  • Execute Typecho widget:: widget ('widget init ');
  • Execute Typecho Router:: dispatch();

Typecho running environment

PHP 5.1 upMysql, PostgreSQL and SQLite are supported by any database, and related extensions are installed in PHPCurl or socket extension supportMbstring or iconv extension support

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

No branches or pull requests

2 participants