php icon indicating copy to clipboard operation
php copied to clipboard

How to deploy typecho

Open fydy opened this issue 5 years ago • 2 comments

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

fydy avatar Dec 11 '19 08:12 fydy

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

f3l1x avatar Dec 15 '19 13:12 f3l1x

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

fydy avatar Dec 16 '19 00:12 fydy