Sr. Web Developer
mediabistro.com
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume

Comments for: michael20020812

Message # 1013115:
Date: 08/27/02 11:59
By: Michael Galloway
Subject: RE:Stupid Article and other things

I will propose to you a serious problem with your suggestion of two httpd.conf files running on two separate ports...(I have done this in the past.)

What if both need to be serving the general public at the same time? You suggest that you set aside a separate port for the "test" engine. This means that only one version of PHP could be "live" (meaning to the general public) at any time. But what if you need to extend the core for one set of people but not another? (This, my friend, is a very real possibility).

On extending the core... O'reilly just came out with a book "Programming PHP" that has some of the best (and one of the only books I could find that had more than 5 pages on the subject) coverage of extending PHP.

Extending PHP is an advanced technique, and so must be approached carefully (hence the need for a separate PHP version). PHP has a lot of Macros and a semi-rigid structure in its' design requirements. What I would suggest is, try following the instructions on PHP.net, but only build a very SIMPLE program (returns the int value it is given) for starters. Once you get it working... not only will you feel really good, but you will understand nearly everything that is difficult about extending the core (namely, getting the darn thing to compile in, be available in the configuration file, and then work correctly).

Good luck... if there is any interest I'll post up a short tutorial on how to do this.

< michael >

Previous Message | Next Message


Comments:
RE: Another way to do thisBruce01/16/04 11:31
Another way to do thisMoSs05/25/03 08:23
RE: Overhead of CGI squanders benefits of C?Ian12/30/02 14:31
RE:Stupid Article and other thingsWill Green09/03/02 15:18
need some helpfantaghiro09/02/02 04:17
RE: A simpler wayAmit Kothari08/31/02 07:51
RE:Stupid Article and other thingsMichael Galloway08/27/02 11:59
RE: To anwser some questionsTony08/26/02 06:57
I stand correctedMichael Galloway08/24/02 14:24
Stupid articleJames08/24/02 11:47
Re: A simpler wayMark Constable08/23/02 23:33
To answer some questionsMichael Galloway08/20/02 12:18
Overhead of CGI squanders benefits of C?Jeff08/16/02 03:23
very useful!chickoslav08/15/02 01:42
A simpler wayTony08/13/02 05:22
CGI vs PHP moduleJoe Li08/12/02 03:55
 

If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.