Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2007

Tip: Looking for answers? Try searching our database.

PHP on Tomcat on Windows

Thread view: 
mateusz.adamus@gmail.com - 13 Jul 2007 07:04 GMT
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-tomca
t-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
Oliver Wong - 13 Jul 2007 18:22 GMT
> 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-tomca
t-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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.