+
あらかじめFrontBaseがインストールされている必要があります。
==========================================================================================
PHPをインストールします
PHPのサイトから下記のソースコードをダウンロードします。
ダウンロードされているZipファイルを解凍します。
ターミナルを起動します。
[1.ユーザー.confの退避]
install実効時にオリジナルの/etc/httpd/httpd.confが変に変更される可能性有り。
-> copyを作って置く事。
% cp /etc/httpd/httpd.conf /etc/httpd/httpd.conf_orginal
[2.定義]
% cd 先に解凍したフォルダ内に移ります
% ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/lib --enable-mbstring --enable-mbregex --with-mysql --with-fbsql --with-apxs --enable-cgi
----- こんな感じで終了 -----
+--------------------------------------------------------------------+
| *** NOTE *** |
| The default for register_globals is now OFF! |
| |
| If your application relies on register_globals being ON, you |
| should explicitly set it to on in your php.ini file. |
| Note that you are strongly encouraged to read |
| http://www.php.net/manual/en/security.registerglobals.php |
| about the implications of having register_globals set to on, and |
| avoid using it if possible. |
+--------------------------------------------------------------------+
Thank you for using PHP.
-----
[3.コンパイル]
% make
[4.コンパイル]
% sudo make install
インストール終了
==========================================================================================
ApacheのPHPを有効にする
エディターを使って定義ファイルを変更します
例:BBEdit
% bbedit /etc/httpd/httpd.conf
次の項目を変更します。
#の1文字を削除し、保存します。
==========================================================================================
Apacheを起動します
システム環境設定内の
をクリックします。
その中のチェックボックス
をクリックします。