Apache 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 ForumsSystem AdministrationApache 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 30th, 2000, 02:59 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
I know that
'PHP can be installed as a Apache Module ie. --with-apache option' or
'PHP can be installed as a loadable module of Apache ie. --with-apxs option'
But what exactly do they mean, and what are their differences.
I plan to install tarballs in the following order:
1) MySQL
2) Apache
3) PHP

I also recollect that the latest Apache version has a option of --with-php in it. What will it do if i use it.(does that mean i dont need to install PHP)

I have gone through many docs. but they tend to be confusing.
please suggest me a good method with possible options.
If possible please enumerate on the --with-apxs and --with-apache options. I would like to know exactly what they mean.???

thanx

duke.

Reply With Quote
  #2  
Old May 30th, 2000, 07:57 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>>But what exactly do they mean, and what are their differences.
Read this: http://www.apache.org/docs/dso.html

>>I also recollect that the latest Apache version has a option of --with-php in it

AFAIK, there is no such option. If you insist there is such an option, post the exact URL to such file here.

>>I would like to know exactly what they mean.???
--with-apxs is easier to install. Let's not talk about PHP, assuming you already have apache and PHP installed but you find additional modules you would like to install, in the old days of Apache, you had to place the modules preferably in 'src/modules' directory of apache source tree and use --activate-module=src/modules/xxx/mod_xxx.c and REBUILD apache (reinstall) so to make apache to link to this module. Keep in mind, there are tons of modules out there, would you rather REBUILD apache everytime or use 'apxs' without rebuilding?

############################################
LoadModule dtcl_module libexec/mod_dtcl.so
LoadModule PyApache_module libexec/mod_pyapache.so
LoadModule perl_module libexec/libperl.so
LoadModule php3_module libexec/libphp3.so
LoadModule php4_module libexec/libphp4.so
LoadModule jserv_module libexec/mod_jserv.so

This looks ugly isn't it? I used --with-apxs for all of them. Imagine these 6 modules alone, would you rather rebuild Apache 6 times?
There is a file called apache-contrib-1.0.8.tar.gz which has 27 modules in it, should you use '--apxs', it makes life alot easier.

Please take action and install them at this time. Take a try immediately and do not waste further time asking 'what does it do?'.

Don't forget to check out this page: http://www.devshed.com/Talk/Forums/Forum15/HTML/000020.html

Good Luck!!

[This message has been edited by freebsd (edited May 30, 2000).]

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > apxs and apache.

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