"No input file specified." problem

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
polyuitjerry
Forum Newbie
Posts: 2
Joined: Fri Oct 20, 2006 11:05 am

"No input file specified." problem

Post 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
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Post Reply