php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17189 php executable interpreter error
Submitted: 2002-05-13 16:42 UTC Modified: 2002-06-14 15:06 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:0 (0.0%)
From: kingyip at bigfoot dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.2.1 OS: Linux 1.3.14 RH7
Private report: No CVE-ID: None
 [2002-05-13 16:42 UTC] kingyip at bigfoot dot com
I was compiled php as cgi support and generated a php executable file. However, I am not able to use this file to run my php script on web. It always gives out the following errors no matter how I configure the php.

Warning: Unexpected character in input: '' (ASCII=30) state=1 in /home/apache/php on line 3802

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/apache/php on line 3802

Warning: Unexpected character in input: '' (ASCII=24) state=1 in /home/apache/php on line 3802

Parse error: parse error, unexpected T_STRING in /home/apache/php on line 3802

I was working on php4.1.2, but it seems not work in 4.2.0 and 4.2.1. The script I used is for file system handling which may do chmod, upload, delete file and such. I havn't try on the scripts that don't need to access the file system as they can be done on the server module.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-13 16:49 UTC] mfischer@php.net
Can you provide the full script, preferable somewhere for download so we exactly see how your script looks like (the forms in the report system might scramle them).
 [2002-05-13 17:33 UTC] kingyip at bigfoot dot com
Here is the address of the script:

http://www.myhomebc.com/index.wphp

Also, I am able to generate the html code by using command line (i.e php index.wphp) and it seems alright when I post on web, no error code given.
 [2002-05-24 04:10 UTC] kingyip at bigfoot dot com
I have posted the wrong address, the correct one should be http://www.myhomebc.com/index.wph. Sorry about that.

I have posted this message a week before and seems somehow not show out here. So I try to post another one.
 [2002-06-14 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2002-06-14 15:06 UTC] sniper@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Oct 18 03:01:27 2024 UTC