By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,729 Members | 1,386 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,729 IT Pros & Developers. It's quick & easy.

PHP for my Web Server

P: n/a
Hello
I am building a (very) simple web server and I want to know how to
interface it with PHP. At the moment I am using the /usr/bin/php
program giving it a PHP script. What I would like to do is directly
using the C functions of PHP in my program (functions for setup,
define variables, read a script, ...).
If anyone know how to do that, it would be very great.
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Could you possibly explain more about what you want to do? It's not
completely clear whether you mean you're creating server *software*
(e.g., you're writing, as it were, a competitor to Apache) or you're
creating a server *site*.

If you're writing server software, then you should do what Apache
does: load (or compile in, if you prefer) the appropriate php library
and call its routines as you need them, just as you would with any
other library.

Margaret

Neil D?kkalfar wrote:
Hello
I am building a (very) simple web server and I want to know how to
interface it with PHP. At the moment I am using the /usr/bin/php
program giving it a PHP script. What I would like to do is directly
using the C functions of PHP in my program (functions for setup,
define variables, read a script, ...).
If anyone know how to do that, it would be very great.


--
(To mail me, please change .not.invalid to .net, first.
Apologies for the inconvenience.)
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.