Re: [PHP-DEV] Re: [PHP] Level of Java Support in PHP From: Benjamin Lee (benjaminlee <email protected>)
Date: 09/29/00

Vanilla tomcat.
Installed in my home dir.

Compile php --with-servlet

e.g.

--with-servlet=~/jakarta-tomcat

[ben <email protected>:~/jakarta-tomcat/webapps/examples]$ pwd
/home/ben/jakarta-tomcat/webapps/examples
[Fri Sep 29 20:03:34 EST 2000] Home Sweet Home
[ben <email protected>:~/jakarta-tomcat/webapps/examples]$ cat jinfo.php
<?

  phpinfo();

?>
[Fri Sep 29 20:03:38 EST 2000] Home Sweet Home
[ben <email protected>:~/jakarta-tomcat/webapps/examples]$

jinfo.php from the php dist.

edit web.xml with php additions from php dist.

[ben <email protected>:~/jakarta-tomcat/webapps/examples/WEB-INF]$ ls
classes/ jsp/ web.xml web.xml.orig
[Fri Sep 29 20:05:26 EST 2000] Home Sweet Home
[ben <email protected>:~/jakarta-tomcat/webapps/examples/WEB-INF]$

[ben <email protected>:~]$ export LD_LIBRARY_PATH=/usr/lib
[Fri Sep 29 15:12:26 EST 2000] Home Sweet Home
[ben <email protected>:~]$ export CLASSPATH=/usr/lib/phpsrvlt.jar:$CLASSPATH
[Fri Sep 29 15:12:27 EST 2000] Home Sweet Home
[ben <email protected>:~]$ jakarta-tomcat/bin/startup.sh

point browser to

http://localhost:8080/examples/jinfo.php

Done!!

;-)))

-- 
B.      http://b.makelinux.org/      "Of course there is a reason why!"
__________________________________________________________________________
The human mind treats a new idea the way the body treats a strange
protein -- it rejects it.
		-- P. Medawar

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>