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:
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.
Previous Comments:
------------------------------------------------------------------------
[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