By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,714 Members | 1,216 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,714 IT Pros & Developers. It's quick & easy.

Apache/PHP : internal server error

P: n/a
Hello,

Our configuration :

Apache 2.0.53
PHP 5.0.4
PC Windows 2000
MATLAB 6.1

We work on a consulting project in France which involves MATLAB Web server,
Database Toolbox. This application allows user to have a web interface to
MATLAB functions which invokes database connection to Microsoft Access. This
application, in order to run, needs a proper and safe installation of Apache
and PHP. This MATLAB based application behaves as expected.

The concept of this application is as follow :

- from HTML pages, the user fills specific information and then applies them
(click OK or another action)
- Apache and PHP interprets/gets user's information filled in the HTML page
- Apache and PHP then executes a connection to MATLAB via MATLAB webserver
- MATLAB performs data processing, database conection, savesfigures, and
then returns to Apache and PHP, an html form in a text format, and some
images stored in a specific temporayr folder
- Apache and PHP are supposed to get those informations in order to update
the HTML page and publish this new one (PHP does this work by replacing some
keyword, like $Name by a value returned by MATLAB, insert images produced by
MATLAB in the HTML page)

BUT, in one case, in one specific selection, we run into troubles with this
application. PHP and Apache generate an error :

see error web.txt, for an overview of the error generated by our internet
explorer
see error apache.txt, for an overview of the apache error log
see page html.txt, for an overview of the last HTML page invoked before the
issue pops up

I also put in my public folder apache configuration's file (httpd.conf),
php.ini file and upload.php3, PHP script used to create dynamically the new
HTML page.

Files are stored in \\home-toaster\public\Patrick_Masson\tmw

I would need your help debugging this error and find ways to dig into this
error. As of today, my attempts did fail and I am still faced to a lack of
new ideas to get into it.

All tips and tricks to debug or solve this issue would be highly
appreciated.

Thank you very mcuh for your help.

Best regards,

Patrick Masson

PS: this issue is critical and I would need urgent help.
Oct 12 '05 #1
Share this Question
Share on Google+
4 Replies

P: n/a
Patrick Masson wrote:
Hello,

Our configuration :

Apache 2.0.53
PHP 5.0.4
PC Windows 2000
MATLAB 6.1

We work on a consulting project in France which involves MATLAB Web
server, Database Toolbox. This application allows user to have a web
interface to MATLAB functions which invokes database connection to
Microsoft Access. This application, in order to run, needs a proper and
safe installation of Apache and PHP. This MATLAB based application behaves
as expected.

The concept of this application is as follow :

- from HTML pages, the user fills specific information and then applies
them (click OK or another action)
- Apache and PHP interprets/gets user's information filled in the HTML
page - Apache and PHP then executes a connection to MATLAB via MATLAB
webserver - MATLAB performs data processing, database conection,
savesfigures, and then returns to Apache and PHP, an html form in a text
format, and some images stored in a specific temporayr folder
- Apache and PHP are supposed to get those informations in order to update
the HTML page and publish this new one (PHP does this work by replacing
some keyword, like $Name by a value returned by MATLAB, insert images
produced by MATLAB in the HTML page)

BUT, in one case, in one specific selection, we run into troubles with
this application. PHP and Apache generate an error :

see error web.txt, for an overview of the error generated by our internet
explorer
see error apache.txt, for an overview of the apache error log
see page html.txt, for an overview of the last HTML page invoked before
the issue pops up

I also put in my public folder apache configuration's file (httpd.conf),
php.ini file and upload.php3, PHP script used to create dynamically the
new HTML page.

Files are stored in \\home-toaster\public\Patrick_Masson\tmw

I would need your help debugging this error and find ways to dig into this
error. As of today, my attempts did fail and I am still faced to a lack of
new ideas to get into it.

All tips and tricks to debug or solve this issue would be highly
appreciated.

Thank you very mcuh for your help.

Best regards,

Patrick Masson

PS: this issue is critical and I would need urgent help.


Hi Patrick,

Why don't you show us the content of the errors?
Where are they?
We cannot browse your personal homedirectory from here...

Regards,
Erwin Moller

Oct 12 '05 #2

P: n/a
Hi Erwin,

The files are in:

\\home-toaster\public\Patrick_Masson\tmw

"""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""" """"""""""""""""""""""""""""""

Error web:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.

Please contact the server administrator, pm*****@mathworks.fr and inform
them of the time the error occurred, and anything you might have done that
may have caused the error.

More information about this error may be available in the server error log.
--------------------------------------------------------------------------------

Apache/2.0.53 (Win32) PHP/5.0.4 Server at 192.168.90.84 Port 80

"""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""
error Apache:

[Wed Oct 12 11:31:05 2005] [notice] Parent: Received shutdown signal --
Shutting down the server.
[Wed Oct 12 11:31:06 2005] [notice] Child 1764: Exit event signaled. Child
process is ending.
[Wed Oct 12 11:31:07 2005] [notice] Child 1764: Released the start mutex
[Wed Oct 12 11:31:10 2005] [notice] Child 1764: Waiting for 250 worker
threads to exit.
[Wed Oct 12 11:31:10 2005] [notice] Child 1764: All worker threads have
exited.
[Wed Oct 12 11:31:10 2005] [notice] Child 1764: Child process is exiting
[Wed Oct 12 11:31:11 2005] [notice] Parent: Child process exited
successfully.
[Wed Oct 12 11:31:13 2005] [notice] Apache/2.0.53 (Win32) PHP/5.0.4
configured -- resuming normal operations
[Wed Oct 12 11:31:14 2005] [notice] Server built: Feb 10 2005 06:11:34
[Wed Oct 12 11:31:14 2005] [notice] Parent: Created child process 1492
[Wed Oct 12 11:31:14 2005] [notice] Child 1492: Child process is running
[Wed Oct 12 11:31:14 2005] [notice] Child 1492: Acquired the start mutex.
[Wed Oct 12 11:31:14 2005] [notice] Child 1492: Starting 250 worker threads.
[Wed Oct 12 11:32:00 2005] [error] [client 192.168.90.84] malformed header
from script. Bad header=trtrtrtrtr: matweb.exe, referer:
http://192.168.90.84/upload.php3

"""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""


"Erwin Moller"
<si******************************************@spam yourself.com> a écrit dans
le message de news: 43***********************@news.xs4all.nl...
Patrick Masson wrote:
Hello,

Our configuration :

Apache 2.0.53
PHP 5.0.4
PC Windows 2000
MATLAB 6.1

We work on a consulting project in France which involves MATLAB Web
server, Database Toolbox. This application allows user to have a web
interface to MATLAB functions which invokes database connection to
Microsoft Access. This application, in order to run, needs a proper and
safe installation of Apache and PHP. This MATLAB based application
behaves
as expected.

The concept of this application is as follow :

- from HTML pages, the user fills specific information and then applies
them (click OK or another action)
- Apache and PHP interprets/gets user's information filled in the HTML
page - Apache and PHP then executes a connection to MATLAB via MATLAB
webserver - MATLAB performs data processing, database conection,
savesfigures, and then returns to Apache and PHP, an html form in a text
format, and some images stored in a specific temporayr folder
- Apache and PHP are supposed to get those informations in order to
update
the HTML page and publish this new one (PHP does this work by replacing
some keyword, like $Name by a value returned by MATLAB, insert images
produced by MATLAB in the HTML page)

BUT, in one case, in one specific selection, we run into troubles with
this application. PHP and Apache generate an error :

see error web.txt, for an overview of the error generated by our internet
explorer
see error apache.txt, for an overview of the apache error log
see page html.txt, for an overview of the last HTML page invoked before
the issue pops up

I also put in my public folder apache configuration's file (httpd.conf),
php.ini file and upload.php3, PHP script used to create dynamically the
new HTML page.

Files are stored in \\home-toaster\public\Patrick_Masson\tmw

I would need your help debugging this error and find ways to dig into
this
error. As of today, my attempts did fail and I am still faced to a lack
of
new ideas to get into it.

All tips and tricks to debug or solve this issue would be highly
appreciated.

Thank you very mcuh for your help.

Best regards,

Patrick Masson

PS: this issue is critical and I would need urgent help.


Hi Patrick,

Why don't you show us the content of the errors?
Where are they?
We cannot browse your personal homedirectory from here...

Regards,
Erwin Moller

Oct 12 '05 #3

P: n/a
Hi,

I can send files to you if you give me your email address.

Patrick

"Patrick Masson" <pm*****@mathworks.fr> a écrit dans le message de news:
di**********@fred.mathworks.com...
Hi Erwin,

The files are in:

\\home-toaster\public\Patrick_Masson\tmw

"""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""" """"""""""""""""""""""""""""""

Error web:

Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator, pm*****@mathworks.fr and inform
them of the time the error occurred, and anything you might have done that
may have caused the error.

More information about this error may be available in the server error
log.
--------------------------------------------------------------------------------

Apache/2.0.53 (Win32) PHP/5.0.4 Server at 192.168.90.84 Port 80

"""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""
error Apache:

[Wed Oct 12 11:31:05 2005] [notice] Parent: Received shutdown signal --
Shutting down the server.
[Wed Oct 12 11:31:06 2005] [notice] Child 1764: Exit event signaled. Child
process is ending.
[Wed Oct 12 11:31:07 2005] [notice] Child 1764: Released the start mutex
[Wed Oct 12 11:31:10 2005] [notice] Child 1764: Waiting for 250 worker
threads to exit.
[Wed Oct 12 11:31:10 2005] [notice] Child 1764: All worker threads have
exited.
[Wed Oct 12 11:31:10 2005] [notice] Child 1764: Child process is exiting
[Wed Oct 12 11:31:11 2005] [notice] Parent: Child process exited
successfully.
[Wed Oct 12 11:31:13 2005] [notice] Apache/2.0.53 (Win32) PHP/5.0.4
configured -- resuming normal operations
[Wed Oct 12 11:31:14 2005] [notice] Server built: Feb 10 2005 06:11:34
[Wed Oct 12 11:31:14 2005] [notice] Parent: Created child process 1492
[Wed Oct 12 11:31:14 2005] [notice] Child 1492: Child process is running
[Wed Oct 12 11:31:14 2005] [notice] Child 1492: Acquired the start mutex.
[Wed Oct 12 11:31:14 2005] [notice] Child 1492: Starting 250 worker
threads.
[Wed Oct 12 11:32:00 2005] [error] [client 192.168.90.84] malformed header
from script. Bad header=trtrtrtrtr: matweb.exe, referer:
http://192.168.90.84/upload.php3

"""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""


"Erwin Moller"
<si******************************************@spam yourself.com> a écrit
dans le message de news: 43***********************@news.xs4all.nl...
Patrick Masson wrote:
Hello,

Our configuration :

Apache 2.0.53
PHP 5.0.4
PC Windows 2000
MATLAB 6.1

We work on a consulting project in France which involves MATLAB Web
server, Database Toolbox. This application allows user to have a web
interface to MATLAB functions which invokes database connection to
Microsoft Access. This application, in order to run, needs a proper and
safe installation of Apache and PHP. This MATLAB based application
behaves
as expected.

The concept of this application is as follow :

- from HTML pages, the user fills specific information and then applies
them (click OK or another action)
- Apache and PHP interprets/gets user's information filled in the HTML
page - Apache and PHP then executes a connection to MATLAB via MATLAB
webserver - MATLAB performs data processing, database conection,
savesfigures, and then returns to Apache and PHP, an html form in a text
format, and some images stored in a specific temporayr folder
- Apache and PHP are supposed to get those informations in order to
update
the HTML page and publish this new one (PHP does this work by replacing
some keyword, like $Name by a value returned by MATLAB, insert images
produced by MATLAB in the HTML page)

BUT, in one case, in one specific selection, we run into troubles with
this application. PHP and Apache generate an error :

see error web.txt, for an overview of the error generated by our
internet
explorer
see error apache.txt, for an overview of the apache error log
see page html.txt, for an overview of the last HTML page invoked before
the issue pops up

I also put in my public folder apache configuration's file (httpd.conf),
php.ini file and upload.php3, PHP script used to create dynamically the
new HTML page.

Files are stored in \\home-toaster\public\Patrick_Masson\tmw

I would need your help debugging this error and find ways to dig into
this
error. As of today, my attempts did fail and I am still faced to a lack
of
new ideas to get into it.

All tips and tricks to debug or solve this issue would be highly
appreciated.

Thank you very mcuh for your help.

Best regards,

Patrick Masson

PS: this issue is critical and I would need urgent help.


Hi Patrick,

Why don't you show us the content of the errors?
Where are they?
We cannot browse your personal homedirectory from here...

Regards,
Erwin Moller


Oct 12 '05 #4

P: n/a
>Error web:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
This error has several causes all of them related to a CGI or PHP
program not generating correct headers (Content-type:, etc.)

1. The program dumped core or aborted before generating any output.
2. The program could not be executed due to incorrect permissions
(either Apache or OS) or missing shared libraries.
3. The program generated error messages *BEFORE* the Content-type
header about things like missing include files or libraries,
or debugging code is misplaced.
4. The program forgot to output the Content-type header or the blank
line separating the headers from the content.
[Wed Oct 12 11:32:00 2005] [error] [client 192.168.90.84] malformed header
from script. Bad header=trtrtrtrtr: matweb.exe, referer:
http://192.168.90.84/upload.php3


This error message suggests that something is trying to output
content without headers.
Gordon L. Burditt
Oct 12 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.