ID: 27539 Updated by: [EMAIL PROTECTED] Reported By: barry at teleserver dot es -Status: Open +Status: Feedback Bug Type: CGI related Operating System: Sun Solaris 2.6 PHP Version: 4.3.4 New Comment:
Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2004-03-15 06:22:54] barry at teleserver dot es The problem I have with bug: 27540 is PHP versión independend and only with apache. If you prefer hendling thes both bugs under this reference, I will close the other one. Refering your request, please tell me exaclty with backtrace you mean, I don´t know PHP to much and need some help. If you refer to the coredump I see on the browser, its a lot of informatión and seems to refer to a lot of memory data not only PHP. ------------------------------------------------------------------------ [2004-03-10 13:27:06] [EMAIL PROTECTED] Please close the other report, the issue is same. And provide the backtrace of the crash here. ------------------------------------------------------------------------ [2004-03-10 03:56:35] barry at teleserver dot es 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 ------------------------------------------------------------------------ [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