Can anyone tell me how to run PHP code from a domino agent or field? I’m hoping that the php will query the sql and return it to domino. Anyone, anyone?
Subject: Need help with PHP code in domino.
Lemont,I notice that you have a few posts in this forum on this topic already.
This is the situation at the moment:
-
PHP is a Web Server plug-in (i.e. it needs a Web server to work)
-
Lotus Domino also has a Web server within the product which gets loaded when you start the server.
-
The built-in Web server does NOT support PHP (ie. the plug-in)
This leaves you with one of two choices:
-
Forget about using PHP within Domino
-
Replace the internal Web Server of Domino with another Web Server (in fact it would most likely be a Servlet container) with something else that DOES support the PHP plug-in.
So you say what Web Server/Servlet engine can do that? Well, you have a choice, but the most popular is Tomcat (any version will do).
At the present time that is the state of play. I am not saying that it might be better in the future, I am saying that the above two choices are the only ones NOW.
I hope that helps.
Regards
Rolf Pfotenhauer
Subject: Need help with PHP code in domino.
Did you consider consulting one of the 168 postings relating to PHP in this forum before posting your question? http://www-10.lotus.com/ldd/nd6forum.nsf/Search?SearchView&Query=php&SearchOrder=0&Start=1&Count=100
Subject: Of course.
I’m not new to this forum nor to notes. Do “YOU” have any possible solutions to my problem?
Subject: The answer was out there…