若狭 と webserver7 + php5.2.9
四苦八苦しました・・・(汗
かなりの大汗です。
Sun純正のphppackがphp5.2.0というものですが、バージョンは良いとして gdが入ってないので、困り果ててました。
ちゃんとUPできるし、サムネイルも作ってくれました。
結局、webserver を入れ直して php5をmakeしました。
やはり先人のmhitさんはすごいっす!
1人で1から構築なんて絶対無理です。
とはいえ、この2週間ほどでSolarisの癖が掴めてきたような気がしてます。
さて、ここからが本題
表題の「若狭」の件です。
先週 日曜日 子達を海に連れて行きたかったので行ってきました。
場所は下の地図のとおりですが、僕が行きたかった場所になかなかたどり着けませんでした。というのも、行きたかったという場所は、僕が小学生の頃に行った海です。ものすごく頼りない記憶を再生しながら なんとかたどり着けました。自宅を出たのは、午前11時前後 到着したのが午後3時くらい・・・延々とドライブしてたわけですが、久しぶりのドライブですっかりお疲れモードでした。
写真を撮る気力も萎えてしまって 結局 載せられそうなのは2枚くらい・・・惨敗です。
最後は簡単に設定方法を記録しておく。
webserver7のインストール
すべてデフォルトで。高速インストール。
php5 configure
まずphp5をmakeする前に、cswに入れておくもの。freetype , gd , libexif あと autoconf , automake あたりかな?
./configure –prefix=/opt/php5 –enable-force-cgi-redirect –with-gettext –with-zlib –with-gd=/opt/csw –with-mysql=/opt/mysql5.0 –enable-zend-multibyte –with-nsapi=/opt/webserver7 –enable-mbstring –enable-exif –with-freetype-dir=/opt/csw –with-jpeg-dir=/opt/csw –with-png-dir=/opt/csw –with-zlib-dir=/opt/csw –with-xpm-dir=/opt/csw –enable-ftp
php5のgmake;gmake test;gmake install
php5のインストール後、
webserver7/https-xxxx/config/mine.types
type=magnus-internal/x-httpd-php exts=php
webserver7/https-www/config/magnus.conf
Init fn=”load-modules” shlib=”/opt/webserver7/bin/libphp5.so” funcs=”php5_init,php5_close,php5_execute”
Init fn=”php5_init” errorString=”PHP Totally Blew Up!”
webserver7/https-www/config/xxxx-obj.conf
PathCheck fn=”find-index” index-names=”index.html,home.html,index.jsp,index.php”
ObjectType fn=”type-j2ee”
ObjectType fn=”type-by-extension”
ObjectType fn=”force-type” type=”text/plain”
ObjectType fn=”force-type” type=”magnus-internal/x-httpd-php”
Service method=”(GET|HEAD)” type=”magnus-internal/directory” fn=”index-common”
Service method=”(GET|HEAD|POST)” type=”*~magnus-internal/*” fn=”send-file”
Service method=”TRACE” fn=”service-trace”
Service fn=”php5_execute” type=”magnus-internal/x-httpd-php”
Error fn=”error-j2ee”
こんな感じで。
webserver をリスタート。phpinfoの確認後、インスタンスを適用し、再起動する。











