PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 25th, 2000, 12:03 PM
DukeNM DukeNM is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 50 DukeNM User rank is Private First Class (20 - 50 Reputation Level)DukeNM User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
Send a message via ICQ to DukeNM
I would like to know whether PHP can be compiled as a standalone CGI interpreter, or compiled as an Apache module.
Also the apache compilation has to options....
1. --with apxs
2. --with apache
what does that mean and when should each be used?

Also if i am not mistaken, as far as i remember, the apache installation of tarball has some
--with php
option in the new releases.
Should i use that.??

duke.

Reply With Quote
  #2  
Old May 25th, 2000, 10:53 PM
esconsult esconsult is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 43 esconsult User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
It can do both.

--with-apxs means you compile PHP as an external module which can be loaded into an already compiled apache installation. It is then a "loadable" module.

--with apache means that you compile php into apache. Apache has to be re-compiled with php.

None of these are too difficult, actually, so dive in!

------------------
PHP, Perl, SQL Programming at http://www.mentalobjects.com

Reply With Quote
  #3  
Old May 27th, 2000, 05:42 AM
DukeNM DukeNM is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 50 DukeNM User rank is Private First Class (20 - 50 Reputation Level)DukeNM User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
Send a message via ICQ to DukeNM
So the possible suggestive method is that,
i first install MySQL,
then Apache (without the --with php option) and then PHP4 (with the --with apxs option)

Inall the PHP4 installation options should be:
./configure --with apxs
--with mysql
--with cgi


i hope thats it.

duke.


Reply With Quote
  #4  
Old May 27th, 2000, 10:29 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>>Inall the PHP4 installation options should be
Not quite. Please go to: http://www.devshed.com/Talk/Forums/Forum15/HTML/000020.html

>>Also the apache compilation hasto options.
>>1. --with apxs
>>2. --with apache
>>what does that mean and when should each be used?
You can do EITHER ONE, but not both.
Do the 1st one means Apache already installed.
2nd one means Apache is NOT YET installed. Never do both at a time.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > CGI Interpreter or Apache Module ?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap