[PHP-users 15399]Re: SunOneWebServer6でPHP

Kenji ono ono @ fjct.fujitsu.com
2003年 5月 20日 (火) 11:07:21 JST


織田さん、こんにちは。小野です。

結果をさきに書きますと、
[20/May/2003:10:40:08] SEVERE ( 3648): for host 127.0.0.1 trying to GET /test.php, 
func_exec reports: HTTP2122: cannot find function named php4_execute
とエラーがでて変わりません。

> >===>magnus.conf
> >Init fn="load-modules" 
> >funcs="php4_init,php4_close,php4_execute,php4_auh_trans" 
> >shlib="D:\PHP4\sapi\php4nsapi.dll"
> >Init fn="php4_init" errorString="Failed to initialize PHP!" LateInit="ys"
> 
> 関係ないと思いますが、php4_auth_transのtypoかと。
> どっちみち設定で使うように指定していないので大丈夫かな。
> あと元の記述がtypoしてますが、LateInit="yes"です。
> pathの区切り文字を「\」→「/」でも影響ないのですよね…

相変わらずエラーです。。。。(^^

> ><Object name="default">
> >Service fn="php4_execute" type="magnus-internal/x-httpd-php"
> ></Object>
> 
> fn=関数名ってダブルクォートなしが正しい筈なんですが、
> php.netのサンプルにもみんな付いてますな。これで問題ありませんでしたっけ?
> #funcで列挙するときは必要。別にfnに付けても大丈夫だと思いますけど。
> 
> ><Object name="x-httpd-php"> 
> >    ObjectType fn="force-type" type="magnus-internal/x-httpd-php" 
> >    Service fn=php4_execute 
> ></Object>

はずしたり、つけたりしましたが、相変わらずエラーです・・・。

> 他は設定はOKな気がするんですが、Windowsだと色々あるんですかね。

現在、PHP4.2.1を物色中です。
PHP4.2.3はあったのですが・・・。
PHP4.2.1を入手して、WindowsとLinuxで試してみます。


PHP-users メーリングリストの案内