|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2004-03-09 12:10 UTC] 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" PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 08:00:01 2025 UTC |
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