|
|
|
Linux(VineLinux)にZendFrameworkをインストールしてみる |
|
Writte by Administrator
|
|
2008/05/01 木曜日 16:10 |
といっても、とっても簡単。 まず、以下のサイトからダウンロードを行う。
[ZendFramework] http://framework.zend.com/
ダウンロード(2008/5/1の最新版)
# wget http://framework.zend.com/releases/ZendFramework-1.5.0/ ZendFramework-1.5.0.tar.gz
|
解凍
# tar xvfz ZendFramework-1.5.0.tar.gz
|
PHPのライブラリを置く専用のディレクトリを作成する。 今回は"/usr/local/lib/php"とする。
# mkdir -p /usr/local/lib/php
|
先ほど解凍したファイルを上記ディレクトリへ移動
# mv ZendFramework-1.5.0/library/* /usr/local/lib/php
|
あとは、php.iniに上記パスを追加してやる。 自分の場合は、常にZendFrameworkを使うわけではないので、「.htaccess」ファイル に以下の設定をしてあげることで、PATHを通すことにした。
# vim .htaccess (以下ファイルの内容) php_value include_path ".:/usr/local/lib/php/"
|
これで、ZendFrameworkを使うことが出来る。
Add as favourites (40) | Quote this article on your site | Views: 1377
|
|
|
|
|
|
|
|
|
|
|
- Please keep the topic of messages relevant to the subject of the article.
- Personal verbal attacks will be deleted.
- Please don't use comments to plug your web site. Such material will be removed.
- Just ensure to *Refresh* your browser for a new security code to be displayed prior to clicking on the 'Send' button.
- Keep in mind that the above process only applies if you simply entered the wrong security code.
|
Powered by AkoComment Tweaked Special Edition v.1.4.6 AkoComment © Copyright 2004 by Arthur Konze - www.mamboportal.com All right reserved |
|
Update ( 2008/05/01 木曜日 16:14 )
|
|