Skip to content

nanpuyue/docker-typecho

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typecho

/** 定义数据库参数 */
$db = new Typecho_Db('Pdo_Mysql', 'typecho_');
$db->addServer(array (
  'host' => '',
  'user' => '__USER__',
  'password' => '__PASSWORD__',
  'charset' => 'utf8',
  'port' => '',
  'database' => '__DATABASE__',
), Typecho_Db::READ | Typecho_Db::WRITE);
Typecho_Db::set($db);

nginx

# pass PHP scripts to FastCGI server
location ~ \.php$ {
    include snippets/fastcgi-php.conf;
    fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published