ID: 27539 User updated by: barry at teleserver dot es Reported By: barry at teleserver dot es -Status: Feedback +Status: Open Bug Type: CGI related Operating System: Sun Solaris 2.6 PHP Version: 4.3.4 New Comment:
First of all thanks for your request. The PHP script seems to work fine from de unix command line: About the C coded CGI: The webserver starts up a normal CGI programmed in C. This CGY starts up the PHP script as it was from the command line, by using the C system() function as followed: system("/disco1/php/test.php"); About apache: For this tests I used the netscape webserver because of some other problems I have using apache with this same configuration and reported as bug: 27540 Previous Comments: ------------------------------------------------------------------------ [2004-03-09 19:10:51] [EMAIL PROTECTED] Does it work if you run the script on command line? What do you mean with "I try to start up a PHP script from a C coded binary CGY by the C system() functión" ??? How did you configure PHP for Apache in httpd.conf ?? ------------------------------------------------------------------------ [2004-03-09 12:10:18] barry at teleserver dot es Description: ------------ After instalation and configuratión I try to start up a PHP script from a C coded binary CGY by the C system() functión. The text "No input file specified" appears in the navigator. Configure line:./configure --prefix=/disco1/aplicaciones/QuorumEnterpriseCenter/apache/php_4.3.4 --with-oracle=/disco1/oracle/8.0.4 --with-oci8=/disco1/oracle/8.0.4 --enable-discard-path --enable-sockets --enable-force-cgi-redirect --with-config-file-path=/disco1/aplicaciones/QuorumEnterpriseCenter/apache/php_4.3.4 Changes to php.ini: cgi.force_redirect = 0 Observations: This same configuration with earlier version of PHP works fine. Reproduce code: --------------- PHP script: #!/disco1/aplicaciones/QuorumEnterpriseCenter/apache/php_4.3.4/bin/php <? ?> Expected result: ---------------- Yust nothing, an empty page Actual result: -------------- "No input file specified" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27539&edit=1