Re: Re: PHP embedded as a general script language?
| From: | Rasmus Lerdorf | Date: | Thu, 23 May 2002 16:10:14 +0000 |
| Subject: | Re: Re: PHP embedded as a general script language? | ||
| References: | 1 | Groups: | php.evangelism |
| Request: | Send a blank email to php-evangelism+get-137@lists.php.net to get a copy of this message | ||
PHP is not that hard to embed. Have a look at the sapi/ directory in the
PHP distribution. There you will find sapi modules that embed PHP into a
number of things, mostly web servers of course, but not exclusively.
-Rasmus
On Thu, 23 May 2002, Jerry wrote:
> In article <20020523120748.45123.qmail@pb1.pair.com>,
> invalid.k.albertsen@nb.no.spam (K. Albertsen) wrote:
> > I do not myself have any experience with PHP programming, but several
> > of the future users of the application(s) have been using PHP for web
> > server programming for a long time and have a strong preference for
> > this language over its competitors.
>
> While if I were one of your future users I would also prefer PHP as the
> embedded language, you might look at people's experiences embedding
> python, for ideas.
>
> http://www.python.org/doc/current/ext/
> http://www.linuxjournal.com/article.php?sid=3641
>
> (I haven't used python much; just a little tinkering in the mailman list
> manager which is written in python; it seems a decent enough scripting
> language. And I was able to do that tinkering without knowing anything
> about python, which is a Plus.)
>
> Jerry
> --
> http://www.hoboes.com/jerry/
> "Give a man a fish and you feed him for a day. Teach him to fish, and you've
> depleted the lake."--It Isn't Murder If They're Yankees
> (http://www.hoboes.com/jerry/Murder/)
>
> --
> PHP Evangelism Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>