"No input file specified." problem

Hi all,

I install the PHP 4.4.2 Engine as a CGI Program and following the instructions from http://developers.sun.com/prodtech/webserver/reference/techart/php.html#3

on Sun one web server 6.1 SP1.

I can't run the php program and only display "No input file specified."

Here is my environment:

[php]

./configure --prefix=/i03_01/php4.4.2CGI --with-mysql=/i03_01/tmp/mysql-standard-4.1.12-sun-solaris2.8-sparc --enable-mbstring=all --enable-mbregex --enable-exif --with-gd --with-png-dir=/i03_01/php-lib --with-zlib-dir=/i03_01/php-lib --with-jpeg-dir=/i03_01/php-lib --with-t1lib=/i03_01/php-lib --with-freetype-dir=/i03_01/php-lib

After install, copy the php binary to /i03_01/SUNWebSP1CGI/bin

[Sun one web server 6.1 SP1]

Installed Directory: /i03_01/SUNWebSP1CGI

[mime.types]

.

.

type=magnus-internal/cgiexts=cgi,exe,bat,php

.

[obj.conf]

<Object name="default">

.

.

NameTrans fn="pfx2dir" from="/cgi-bin" dir="/i03_01/SUNWebSP1CGI/cgi-bin" name="cgi"

.

.

Service fn="send-cgi" type="magnus-internal/cgi" user="$user" group="$group" chroot="$chroot" dir="$dir" nice="$nice"

.

.

</Object>

[test.php]

#!/i03_01/SUNWebSP1CGI/bin/php

<?php

echo("testing

");

?>

Anyone can help me ? Thanks.

[1412 byte] By [polyuitjerry] at [2007-11-26 11:09:23]
# 1
In my experience, this problem usually mean that the PHP engine is not capable of finding the php script to be executed.What is the URI you are trying to access?
nsegura at 2007-7-7 3:23:56 > top of Java-index,Web & Directory Servers,Web Servers...
# 2
My uri is http://www.xx.xx/test.phpFor supplementary my web server document is i03_01/SUNWebSP1CGI/docsDo i need to modify the php.ini ?Thanks.
polyuitjerry at 2007-7-7 3:23:56 > top of Java-index,Web & Directory Servers,Web Servers...
# 3
hope, ur placing this file under /i03_01/SUNWebSP1CGI/cgi-bin"
chilideveloper at 2007-7-7 3:23:56 > top of Java-index,Web & Directory Servers,Web Servers...