Skip to main content

PHP 5.4.4 build 5 getting "no input found" when running cgi

  • December 1, 2016
  • 3 replies
  • 0 views

I am testing out php 5.4.4-b00005 under IHS 8.5.5.10, and am getting the message “no input file found”. I run the php using the cgi script

#!/bin/sh
/usr/local/php/bin/php-cgi “$@”

I did try to go to B00006, that build will not run on our z9 processor.

Thanks,
Peter

3 replies

  • 0 replies
  • December 2, 2016

I am testing out php 5.4.4-b00005 under IHS 8.5.5.10, and am getting the message “no input file found”. I run the php using the cgi script

#!/bin/sh
/usr/local/php/bin/php-cgi “$@”

I did try to go to B00006, that build will not run on our z9 processor.

Thanks,
Peter

Not sure what you are after. But shouldn’t the php-cgi make the shebang?

Something like this?

#! /usr/local/php/bin/phg-cgi

<?php phpinfo(); ?>

  • 0 replies
  • December 2, 2016

Not sure what you are after. But shouldn’t the php-cgi make the shebang?

Something like this?

#! /usr/local/php/bin/phg-cgi

<?php phpinfo(); ?>

Hm, I didn’t pay attention to formatting.

#! /usr/local/php/bin/phg-cgi
?php
phpinfo();
?>

  • 0 replies
  • December 2, 2016

I am testing out php 5.4.4-b00005 under IHS 8.5.5.10, and am getting the message “no input file found”. I run the php using the cgi script

#!/bin/sh
/usr/local/php/bin/php-cgi “$@”

I did try to go to B00006, that build will not run on our z9 processor.

Thanks,
Peter

Got the same problem and don’t resolve it using “CGI”…
Resolved with “FastCGI” : loot at PHP 5.4.4 not working under IHS 8.5.5.9

Denis