Page 1 of 1

"No input file specified." problem

Posted: Wed Nov 01, 2006 8:24 am
by polyuitjerry
Hi all,

I install the PHP 4.4.2 Engine as a CGI Program and following the instructions from http://developers.sun.com/prodtech/webs ... 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:

Code: Select all

./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
Document root: /i03_01/SUNWebSP1CGI/docs

[mime.types]
.
.
type=magnus-internal/cgi exts=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
");
?>

Do i need to modify the php.ini ?

Anyone can help me ? Thanks

Posted: Wed Nov 01, 2006 8:43 am
by volka