aspose file tools*
The moose likes Tomcat and the fly likes Problem with Tomcat + PHP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Problem with Tomcat + PHP" Watch "Problem with Tomcat + PHP" New topic
Author

Problem with Tomcat + PHP

Joseph Sweet
Ranch Hand

Joined: Jan 29, 2005
Posts: 327
I hope this is the right forum for such a question.

My OS is Windows XP. I am trying to run PHP over Tomcat.

I used the following guide:
http://www.softminer.net/2009/05/how-to-install-or-run-php-on-tomcat-6.html

In the installation I used the latest PHP, Tomcat.

I've also installed the latest MySql and phpMyAdmin

Some things do work. I was able to get the phpinfo() page working, and also some simple scripts that connect MySql tables.

What that does not work is phpMyAdmin. I can get the login page (the authorization type is "cookie"), but when I enter the MySql user + password, and hit the submit, I am getting a blank page.
I tried to google for this problem, and it seems like a lot of people have had some problem like that with phpMyAdmin (that is, getting a blank page while trying to login).
A few such links are:
http://docs.ongetc.com/index.php?q=content/how-solve-phpmyadmin-blank-page-and-mysql-not-connect-localhost-issue
and
http://www.karinamyers.com/2009/08/howto-fix-phpmyadmin-displays-blank-page-after-logging-inhowto-fix-phpmyadmin-muestra-pagina-en-blanco-despues-de-logeo/

These links did not help me though. I think this is because I am on Windows XP, not Windows 7.

One thing I have noticed is that when I am getting that blank page, the Tomcat terminal receives all the html that I was supposed to get into my browser. As if the bug is that something tells Tomcat to send the html to the standard output instead of to the browser.
On the other hand, it might be doing this since it thinks it's some kind of an error output. I don't know since I cannot see the beginning of the html (it's too long).

Any idea what might solve this problem?

Thanks in advance!

We must know, we will know. -- David Hilbert
 
jQuery in Action, 2nd edition
 
subject: Problem with Tomcat + PHP