Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.
/ simboard Public archive

Zephir만 사용해서 웹 만들어보기

Notifications You must be signed in to change notification settings

antibiotics11/simboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simboard

Zephir만 사용해서 웹 만들어보기

프로젝트 구조

빌드

Zephir 0.17.0이 필요합니다.
다른 버전에서는 빌드 가능 여부가 확인되지 않았습니다.

cd simboard/
zephir build

실행

PHP 8.1 또는 상위 버전에서 실행할 수 있습니다.
Apache에서는 mod_rewrite를 활성화해야 합니다.

php -S localhost:80 index/index.php

DB 접속정보 변경

/index/index.php를 수정하여 DB 접속정보를 변경합니다.

$service = new SimBoard\SimBoardService([
  "MYSQL" => [
    "HOST"     => "localhost", // DB 서버 주소
    "DBNAME"   => "board",     // DB 이름
    "USERNAME" => "simboard",  // DB 사용자 이름
    "PASSWORD" => "1234"       // DB 패스워드
  ]
]);

스크린샷

simboard-1 simboard-3 simboard-2

About

Zephir만 사용해서 웹 만들어보기

Topics

Resources

Stars

Watchers

Forks