PHP on Tomcat on Windows

M

mateusz.adamus

Hello everyone

Yesterday I tried to instal PHP on Tomcat running on Windows. I used
this tutorial as my guide:
http://blog.taragana.com/index.php/archive/running-php-5x-on-windows-using-tomcat-4x-or-5x/

First I did everything like it is said in tutorial and I got an error:
net.php.servlet.send(Native Method)

This error is also stated in comments to this tutorial so I applied
"patches" stated in comments. It didn't work. So I restarted my PC and
then error was gone (after like 3 hours of trying to get to it work).

After my PC got up I entered http://localhost/test.php and saw that
there was nothing on this page. When I looked into the source I saw
standard HTML headers like coding page, <BODY> tag but nothing else.
My test.php page had this code in it:
<?php
echo "aaa";
?>

Then I changed it to:
<?php
phpinfo();
?>
and to my suprise there was a PHP info in my viewer. Although the site
was suddenly stripped at the end. It looked like the PHP function
couldn't execute completly for some reason.

My question is: Why no other functions then phpinfo work? What should
I do so that this PHP installation would work correctly?

Kind regards
 
O

Oliver Wong

Hello everyone

Yesterday I tried to instal PHP on Tomcat running on Windows. I used
this tutorial as my guide:
http://blog.taragana.com/index.php/archive/running-php-5x-on-windows-using-tomcat-4x-or-5x/
[Summary: OP had problems getting it to work]

Step 1: Ensure that Tomcat is working. As a part of this step, you may
ask this newsgroup for guidance, but you will probably receive more
helpful replies asking a discussion group specifically targeted towards
Tomcat (such as any official mailing lists).

Step 2: Get PHP to work on Tomcat. Don't bother asking this newsgroup
for help on this step, as it's off topic here. Ask in a PHP newsgroup, or
some other PHP discussion group.

- Oliver
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top