Re: Running PHP 5.2.X on Tomcat 5.5?

2010-05-11 Thread Gregor Schneider
On Tue, May 11, 2010 at 7:53 AM, Gregers Blach gregbl...@netscape.net wrote:

 PHPMyAdmin would be a very nice add-on in order to better support MySQL
 databases.

...and likely to dig a few security wholes...

if you really, really want to go for php, esp. PHPMyAdmin, be sure to
configure it to listen on localhost only and tunnel the access via
ssh.

Furthermore, I'd install httpd, make it listen on localhost only (see above).

However, the solution we're having here is:

- Use DBVisualizer on the client (pure Java)
- make the MySQL listen on local host only
- tunnel the access to MySQL via ssh

Rgds

Gregor
-- 
just because you're paranoid, don't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available
@ http://pgpkeys.pca.dfn.de:11371
@ http://pgp.mit.edu:11371/
skype:rc46fi

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Running PHP 5.2.X on Tomcat 5.5?

2010-05-11 Thread Gregers Blach

Hi all,

Thanks for your replies so far.

It seems like:

1. No one recommends running PHP on Tomcat. Instead running httpd is 
recommended.


2. No one is able to provide me with a guide for setting up Tomcat to 
run PHP. I guess this must be because no one does this... :o) To bad - 
I really would have liked to see it work.


/G

-Original Message-
From: Gregor Schneider rc4...@googlemail.com
To: Tomcat Users List users@tomcat.apache.org
Sent: Tue, May 11, 2010 8:59 am
Subject: Re: Running PHP 5.2.X on Tomcat 5.5?


On Tue, May 11, 2010 at 7:53 AM, Gregers Blach gregbl...@netscape.net 
wrote:


PHPMyAdmin would be a very nice add-on in order to better support 

MySQL

databases.


...and likely to dig a few security wholes...

if you really, really want to go for php, esp. PHPMyAdmin, be sure to
configure it to listen on localhost only and tunnel the access via
ssh.

Furthermore, I'd install httpd, make it listen on localhost only (see 
above).


However, the solution we're having here is:

- Use DBVisualizer on the client (pure Java)
- make the MySQL listen on local host only
- tunnel the access to MySQL via ssh

Rgds

Gregor
--
just because you're paranoid, don't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available
@ http://pgpkeys.pca.dfn.de:11371
@ http://pgp.mit.edu:11371/
skype:rc46fi

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


 


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Running PHP 5.2.X on Tomcat 5.5?

2010-05-11 Thread Gregor Schneider
On Tue, May 11, 2010 at 10:28 AM, Gregers Blach gregbl...@netscape.net wrote:
 Hi all,


 1. No one recommends running PHP on Tomcat. Instead running httpd is
 recommended.


right


 2. No one is able to provide me with a guide for setting up Tomcat to run
 PHP. I guess this must be because no one does this... :o) To bad - I really
 would have liked to see it work.


wrong - it's simply noone likes the idea.

btw, googeling for PHP Tomcat would have shown you the following
link as 1st hit:

http://wiki.apache.org/tomcat/UsingPhp

So it is possible, but you might not like what's written there

Rgds

Gregor
-- 
just because you're paranoid, don't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available
@ http://pgpkeys.pca.dfn.de:11371
@ http://pgp.mit.edu:11371/
skype:rc46fi

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Running PHP 5.2.X on Tomcat 5.5?

2010-05-10 Thread Gregers Blach

Hi,

I'm looking for instructions on how to get a Tomcat 5.5 to run PHP 
5.2.X. The reason is that it would be very helpful to run PHPMyAdmin to 
better support underlying MySQL 5.0.X databases.


Some specs on my test system:

- Running on Windows 7 x64 (poduction system is WinServer 2003, 
eventually WinServer 2008)

- Tomcat 5.5
- MySQL 5.0.X
- PHP 5.2.X
- PHPMyAdmin 3.3.X

I have succesfully installed the Tomcat and can log in to 
http://localhost:8080 as expected.


I do not know how to configure Tomcat to run PHP, and the sparse 
instructions I can find on the web all seem to be rather old:


http://www.softminer.net/2009/05/how-to-install-or-run-php-on-tomcat-6.html
http://blog.taragana.com/index.php/archive/running-php-5x-on-windows-using-tomcat-4x-or-5x/

For instance, what puzzles me, is that the newest PECL package 
(http://museum.php.net/php5/pecl-5.2.6-Win32.zip) does not contain the 
file php5servlet.dll, nor the file php_java.dll??


Any hints would be highly appreciated! :o)

Regards,

Greg

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Running PHP 5.2.X on Tomcat 5.5?

2010-05-10 Thread Pid
On 10/05/2010 21:11, Gregers Blach wrote:
 Hi,
 
 I'm looking for instructions on how to get a Tomcat 5.5 to run PHP
 5.2.X. The reason is that it would be very helpful to run PHPMyAdmin to
 better support underlying MySQL 5.0.X databases.

 Some specs on my test system:
 
 - Running on Windows 7 x64 (poduction system is WinServer 2003,
 eventually WinServer 2008)
 - Tomcat 5.5
 - MySQL 5.0.X
 - PHP 5.2.X
 - PHPMyAdmin 3.3.X
 
 I have succesfully installed the Tomcat and can log in to
 http://localhost:8080 as expected.
 
 I do not know how to configure Tomcat to run PHP, and the sparse
 instructions I can find on the web all seem to be rather old:
 
 http://www.softminer.net/2009/05/how-to-install-or-run-php-on-tomcat-6.html
 http://blog.taragana.com/index.php/archive/running-php-5x-on-windows-using-tomcat-4x-or-5x/
 
 
 For instance, what puzzles me, is that the newest PECL package
 (http://museum.php.net/php5/pecl-5.2.6-Win32.zip) does not contain the
 file php5servlet.dll, nor the file php_java.dll??
 
 Any hints would be highly appreciated! :o)

Is there a particular reason to use Tomcat instead of HTTPD?


p


 Regards,
 
 Greg
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 




signature.asc
Description: OpenPGP digital signature


RE: Running PHP 5.2.X on Tomcat 5.5?

2010-05-10 Thread Martin Gainty

as tc is already multi-threaded i dont have to build tc as multithreaded 
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html

i downloaded the latest tar and i didnt see instructions for multi-threaded 
library build of mod-PHP
http://www.php.net
?
Martin Gainty 
__ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




 Date: Mon, 10 May 2010 22:31:13 +0100
 From: p...@pidster.com
 To: users@tomcat.apache.org
 Subject: Re: Running PHP 5.2.X on Tomcat 5.5?
 
 On 10/05/2010 21:11, Gregers Blach wrote:
  Hi,
  
  I'm looking for instructions on how to get a Tomcat 5.5 to run PHP
  5.2.X. The reason is that it would be very helpful to run PHPMyAdmin to
  better support underlying MySQL 5.0.X databases.
 
  Some specs on my test system:
  
  - Running on Windows 7 x64 (poduction system is WinServer 2003,
  eventually WinServer 2008)
  - Tomcat 5.5
  - MySQL 5.0.X
  - PHP 5.2.X
  - PHPMyAdmin 3.3.X
  
  I have succesfully installed the Tomcat and can log in to
  http://localhost:8080 as expected.
  
  I do not know how to configure Tomcat to run PHP, and the sparse
  instructions I can find on the web all seem to be rather old:
  
  http://www.softminer.net/2009/05/how-to-install-or-run-php-on-tomcat-6.html
  http://blog.taragana.com/index.php/archive/running-php-5x-on-windows-using-tomcat-4x-or-5x/
  
  
  For instance, what puzzles me, is that the newest PECL package
  (http://museum.php.net/php5/pecl-5.2.6-Win32.zip) does not contain the
  file php5servlet.dll, nor the file php_java.dll??
  
  Any hints would be highly appreciated! :o)
 
 Is there a particular reason to use Tomcat instead of HTTPD?
 
 
 p
 
 
  Regards,
  
  Greg
  
  -
  To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
  For additional commands, e-mail: users-h...@tomcat.apache.org
  
 
 
  
_
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multiaccountocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4

Re: Running PHP 5.2.X on Tomcat 5.5?

2010-05-10 Thread Gregers Blach

Hi p,

Not other than that Tomcat is already installed running the primary 
application.


PHPMyAdmin would be a very nice add-on in order to better support MySQL 
databases.


/G

-Original Message-
From: Pid p...@pidster.com
To: Tomcat Users List users@tomcat.apache.org
Sent: Mon, May 10, 2010 11:31 pm
Subject: Re: Running PHP 5.2.X on Tomcat 5.5?


On 10/05/2010 21:11, Gregers Blach wrote:

Hi,

I'm looking for instructions on how to get a Tomcat 5.5 to run PHP
5.2.X. The reason is that it would be very helpful to run PHPMyAdmin 

to

better support underlying MySQL 5.0.X databases.

Some specs on my test system:

- Running on Windows 7 x64 (poduction system is WinServer 2003,
eventually WinServer 2008)
- Tomcat 5.5
- MySQL 5.0.X
- PHP 5.2.X
- PHPMyAdmin 3.3.X

I have succesfully installed the Tomcat and can log in to
http://localhost:8080 as expected.

I do not know how to configure Tomcat to run PHP, and the sparse
instructions I can find on the web all seem to be rather old:



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



http://blog.taragana.com/index.php/archive/running-php-5x-on-windows-using-tomcat-4x-or-5x/



For instance, what puzzles me, is that the newest PECL package
(http://museum.php.net/php5/pecl-5.2.6-Win32.zip) does not contain the
file php5servlet.dll, nor the file php_java.dll??

Any hints would be highly appreciated! :o)


Is there a particular reason to use Tomcat instead of HTTPD?


p



Regards,

Greg

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




 


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org