<a href="#navigator">&uarr;</a>Webサーバー(Apacheインストール) <a href="http://s23spps2/modules/bwiki/index.php?XOOPS#kec2a2cb" title="kec2a2cb">&dagger;</a>

Xoops Cube公式ページより、Apacheを特にお勧めするとのことなので、Apacheを選択。 http://jp.xoops.org/modules/documents/index.php?id=3 http://www.apache.jp/ Apacheをダウンロード。特に1系も2系も推奨されていなかったので、2系の最新バージョンを選択した。 http://www.apache.jp/dist/httpd/binaries/win32/

December 3, 2005 · 1 min · 胡田昌彦

<a href="#navigator">&uarr;</a>Xoops Cubeのインストール <a href="http://s23spps2/modules/bwiki/index.php?XOOPS#ve3c893a" title="ve3c893a">&dagger;</a>

Zip形式の最新版をダウンロード http://prdownloads.sourceforge.jp/xoops/17126/xoops-2.0.13a-JP.zip C:\Program Files\Apache Group\Apache2\htdocsのテストページ群をすべて削除 Xoopsインストール方法に従って、C:\Program Files\Apache Group\Apache2\htdocsにダウンロードしたファイルを展開した、htmlフォルダの中身を移動。 http://jp.xoops.org/modules/documents/index.php?id=1 http://s23spps2/index.phpにアクセスするもInternalServerError…(残念)。以下のエラーが記録されている。 [ [ F F r r i i N N o o v v 2 2 5 5 1 1 5 5 : : 1 1 4 4 : : 2 2 0 0 2 2 0 0 0 0 5 5 ] ] [ [ e e r r r r o o r r ] ] [ [ c c l l i i e e n n t t 1 1 7 7 2 2 . . 1 1 6 6 . . 1 1 . . 7 7 6 6 ] ] C ( : 9 / ) P B r a o d g r f a i m l e F i d l e e s s c / r A i p p a t c o h r e : G d r o o n u ' p t / A k p n a o c w h e h 2 w h t t d o o c s s p / a i w n n d e c x h . i p l h d p p i r s o c n e o s t s : e x C e : c / u P t r a o b g l r e a ; m e F n i s l u e r s e / A i p n a t c e h r e p r G e r t o e u d p / s A c p r a i c p h t e s 2 / h h a t v d e o c " s # / ! i " n d f e i x r . s p t h p l i n e index.phpの先頭には<?phpとかかれており、#!c:\php\php.exeのようには書かれていない。これを書かないで動作させる方法はないのか? 参考:http://dev.rakusui.jp/diary/?date=20050509#p02 以下の設定でOKだった。 ...

December 3, 2005 · 2 min · 胡田昌彦

<a href="#navigator">&uarr;</a>Xoopsインストール <a href="http://s23spps2/modules/bwiki/index.php?XOOPS#m7f43feb" title="m7f43feb">&dagger;</a>

http://s23spps2/index.phpにアクセス インストールに使用する言語 japanese データベースサーバ mysql データベースサーバのホスト名 localhost

December 3, 2005 · 1 min · 胡田昌彦

<a href="#navigator">&uarr;</a>XOOPSインストール(これで最後にしたい・・・) <a href="http://s23spps2/modules/bwiki/index.php?XOOPS#lb3fd714" title="lb3fd714">&dagger;</a>

http://s23spps2/index.phpにアクセス インストールに使用する言語

December 3, 2005 · 1 min · 胡田昌彦

<a href="#navigator">&uarr;</a>XOOPSインストール(気を取り直してはじめから) <a href="http://s23spps2/modules/bwiki/index.php?XOOPS#lb3fd714" title="lb3fd714">&dagger;</a>

http://s23spps2/index.phpにアクセス インストールに使用する言語 japanese

December 3, 2005 · 1 min · 胡田昌彦

<a href="#navigator">&uarr;</a>Xoops用ユーザー作成 <a href="http://s23spps2/modules/bwiki/index.php?XOOPS#ace5d75d" title="ace5d75d">&dagger;</a>

c:\mysql -r root -p create database xoopsdb; mysql> GRANT ALL PRIVILEGES ON *.* TO xoops@"%" -> IDENTIFIED BY ‘<localadminと一緒のパスワード>’ WITH GRANT OPTION;

December 3, 2005 · 1 min · 胡田昌彦

<a href="#navigator">&uarr;</a>インストール後のトラブルシュート <a href="http://s23spps2/modules/bwiki/index.php?XOOPS#ua7dc213" title="ua7dc213">&dagger;</a>

December 3, 2005 · 0 min · 胡田昌彦

<a href="#navigator">&uarr;</a>きれいにMySQL4.1の再インストール <a href="http://s23spps2/modules/bwiki/index.php?XOOPS#q81d14b6" title="q81d14b6">&dagger;</a>

以下のオプションを選択 SetupType: Typical MySQL.com Sign-Up: Create a new free MySQL.com account 適当に個人情報の登録 Configure the MySQL Server now: True MySQL Server Instance Configuration: Detailed Configuration Server Machine

December 3, 2005 · 1 min · 胡田昌彦

<a href="#navigator">&uarr;</a>セットアップ <a href="http://s23spps2/modules/bwiki/index.php?XOOPS#rf0e0f86" title="rf0e0f86">&dagger;</a>

Xoopsの動作のためにはWeb、データベース、PHPが必要。ということなので、まずはこれらをインストールし、その後Xoopsをインストールする。

December 3, 2005 · 1 min · 胡田昌彦

<a href="#navigator">&uarr;</a>再度MySQLインストール(手戻り・・・) <a href="http://s23spps2/modules/bwiki/index.php?XOOPS#w3be8de7" title="w3be8de7">&dagger;</a>

以下のURIよりMySQL4.0をダウンロード http://download.softagency.net/MySQL/downloads/mysql/4.0.html 以下のパラメーターでインストール Destination Folder: C:\mysql Setup Type: Typical インストール完了するも、サービスが登録されなかったので以下のページを参考にしてC:\MySQL\bin フォルダの「winmysqladmin.exe」を実行 Cancelをクリック

December 3, 2005 · 1 min · 胡田昌彦

<a href="http://s23spps2/index.php">http://s23spps2/index.php</a>にアクセス

インストールに使用する言語 japanese データベースサーバ mysql データベースサーバのホスト名 localhost データベースユーザ名 xoops データベースパスワード <ローカルアドミンと一緒にしました>

December 3, 2005 · 1 min · 胡田昌彦

<pre>mysql&gt; status

-————- mysql Ver 14.7 Distrib 4.1.15, for Win32 (ia32) Connection id: 2 Current database: Current user: root@localhost SSL: Not in use Using delimiter: ; Server version: 4.1.15-nt Protocol version: 10 Connection: localhost via TCP/IP Server characterset: sjis Db characterset: sjis Client characterset: sjis Conn. characterset: sjis TCP port: 3306 Uptime: 21 sec Threads: 1 Questions: 3 Slow queries: 0 Opens: 11 Flush tables: 1 Open tabl es: 5 Queries per second avg: 0.143 ————– ...

December 3, 2005 · 2 min · 胡田昌彦

Active Connections

December 3, 2005 · 0 min · 胡田昌彦

c:\phpを全て削除し、上記ファイルを展開したものを配置

c\:windows\system32\php4ts.dllを削除 c\:windows\system32\php5ts.dllを配置 php\dlls フォルダにあるDLLをすべて「C:\WINDOWS\system32」の中へコピー C:\php フォルダにある「php.ini-recommended」を「C:\WINDOWS」の中へコピーし、名前を「php.ini」に変更 上記php.iniを以下のように変更 register_globals = On magic_quotes_gpc = Off extension_dir = C:\php\ext\

December 3, 2005 · 1 min · 胡田昌彦

c:\phpを全て削除し、上記ファイルを展開したものを配置

c\:windows\system32\php4ts.dllを削除 c\:windows\system32\php5ts.dllを配置 php\dlls フォルダにあるDLLをすべて「C:\WINDOWS\system32」の中へコピー C:\php フォルダにある「php.ini-recommended」を「C:\WINDOWS」の中へコピーし、名前を「php.ini」に変更 上記php.iniを以下のように変更 register_globals = On magic_quotes_gpc = Off extension_dir = C:\php\ext\

December 3, 2005 · 1 min · 胡田昌彦

extension=php_mbstring.dll(先頭のコメントをはずす)

[mbstring]エントリを以下のように編集 o m m m ; m m u b b b m b b t s s s b s s p t t t s t t u r r r t r r t i i i r i i _ n n n i n n h g g g n g g a . . . g . . n i h h . d s d n t t e e u l t t t n t b e e p p c e s r r _ _ o c t n i o d t i = a n u i _ t l p t n o u m _ u p g r t b e t u _ d e _ n t t e _ o c = r r c u o = a h t d a n = a p i u S s r u n t J l a a t g o I a u c _ S t t t h = i o e a o r n E n d U = l C = e - n r J O o P f n f e ; [mail function]エントリを編集 [mail function] ; For Win32 only. SMTP = s2kexg1 smtp_port = 25 ; For Win32 only. sendmail_from = s23spps2@jbs.co.jp ...

December 3, 2005 · 2 min · 胡田昌彦

extension=php_mbstring.dll(先頭のコメントをはずす)

[mbstring]エントリを以下のように編集 o m m m ; m m u b b b m b b t s s s b s s p t t t s t t u r r r t r r t i i i r i i _ n n n i n n h g g g n g g a . . . g . . n i h h . d s d n t t e e u l t t t n t b e e p p c e s r r _ _ o c t n i o d t i = a n u i _ t l p t n o u m _ u p g r t b e t u _ d e _ n t t e _ o c = r r c u o = a h t d a n = a p i u S s r u n t J l a a t g o I a u c _ S t t t h = i o e a o r n E n d U = l C = e - n r J O o P f n f e ; cgi.force_redirectに関して以下のように変更。ただしセキュリティに関連する箇所のようだが内容をよく理解できていないので、追加で調査の必要あり。 ; cgi.force_redirect = 1 cgi.force_redirect = 0 ...

December 3, 2005 · 2 min · 胡田昌彦

flush privileges;

December 3, 2005 · 0 min · 胡田昌彦

flush privileges;

これでもまだDBに接続できないとのエラーが出てセットアップできない。 原因不明。 Apacheのログを見ると以下のエラーが表示されている。 F C i h l a e r a ' c c t : e \ r m y s s e q t l \ ' s # h 3 a 3 r ' e \ i c s h a n r o s t e t a s c ? . m c p o i n l f e ' d n c o h t a r f a o c u t n e d r ( s E e r t r c a o n d d e : i s 2 ) n o t s p e c i f i e d i n t h e ' c : \ m y s q l \ s h a r e \ c h a r s e t s \ I n d e x ' f i l e 特に現在のエラーとは関係ないようだけれども気持ちがわるいので 以下のサイトを参考にしてC:\mysqlにファイルを配置する。 http://64.233.167.104/search?q=cache:jIJ9uteyhCMJ:xoops.smej.com/modules/newbb/viewtopic.php%3Fpost_id%3D103%26topic_id%3D26%26forum%3D1+%22mysql%5Cshare%5Ccharsets%5C%3F.conf%27%22&hl=ja&lr=lang_ja 配置後もエラーは消えない・・・。なぜ? Webを検索しても拉致があかないので、ソースを追いかけてみるとmysqldatabase.phpにて以下のようにコネクトしていた。 ...

December 3, 2005 · 2 min · 胡田昌彦

Install As Windows Service: True

Service Name: MySQL Launch the MySQL Server automatically root password: サーバーのローカルアドミンのパスワードと一緒

December 3, 2005 · 1 min · 胡田昌彦