LoginSignup
1
0

More than 5 years have passed since last update.

booked2.7.2から2.7.4へ

Last updated at Posted at 2019-02-15

オープンソースの予約管理システムBookedのバージョンを2.7.2から2.7.4に変更するためのメモ
今後のバージョンアップのためにもちゃんと書く。
https://www.bookedscheduler.com/

ちなみにWindowsね

 準備

 ダウンロード

上記サイトのDownloadから最新版のzipをダウンロードする。Windowsサーバで展開する。
旧: "C:\Apache24\htdocs\booked"
新: "C:\Apache24\htdocs\booked274"
こんな構成にしておく。

 導入

httpd.confの加工

これが大本

\Apache24\conf\httpd.conf
Alias /booked "C:/Apache24/htdocs/booked"
<Directory "C:/Apache24/htdocs/booked">
<RequireAny>
Require local
Require ip xxx.xxx.xxx.xxx
</RequireAny>
</Directory>

大雑把に動くやつを作って挿入

\Apache24\conf\httpd.conf
Alias /booked274 "C:/Apache24/htdocs/booked274"
<Directory "C:/Apache24/htdocs/booked274">
        Order allow,deny
        Allow from all
</Directory>

 config.phpを作る

config.dist.phpをリネームして作る。修正したところだけ抜粋

\Apache24\htdocs\booked274\config\config.php
 */
$conf['settings']['default.timezone'] = 'Asia/Tokyo';      // look up here 

$conf['settings']['default.language'] = 'ja_jp';                // find your language in the lang directory
$conf['settings']['script.url'] = 'http://exsample.com/booked274/Web';      // public URL to the Web directory of this instance. this is the URL that appears 

$conf['settings']['database']['name'] = 'booked';

ひとまずこれで検証できるようになった。

追記smtpを設定した

「パスワードを忘れました」で検証するときは、登録してあるアドレスを指定しないと飛んでくれないのがハイライト

$conf['settings']['phpmailer']['mailer'] = 'smtp';
$conf['settings']['phpmailer']['smtp.host'] = 'smtp.example.co.jp';
$conf['settings']['phpmailer']['smtp.port'] = '25';
$conf['settings']['phpmailer']['smtp.secure'] = '';
$conf['settings']['phpmailer']['smtp.auth'] = 'false';
$conf['settings']['phpmailer']['smtp.username'] = '';
$conf['settings']['phpmailer']['smtp.password'] = '';
$conf['settings']['phpmailer']['sendmail.path'] = '/usr/sbin/sendmail';

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0