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 September 22nd, 2000, 09:43 PM
gpolins gpolins is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 32 gpolins User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
I'm installing PHP after Apache (because the server that I got already had Apache installed but they neglected to install php) so I've been reading and figured out that you need to install PHP as a DSO module, correct? Well - no site seems to be informative enough to tell me how - so here I am I've been trying - here are my 2 builds for both Apache and PHP

PHP:

./configure --with-gd=/install/gd/ --with-mysql=/usr/local/mysql/ --with-system-regex --with-apache=/usr/local/apache --with-config-file-path=/usr/local/lib/ --enable-track-vars

Apache:

./configure --prefix=/usr/local/apache/ --sysconfdir=/usr/local/apache/compile --activate-module=src/modules/php4/libphp4.a --enable-module=status

I'm not sure if I'm doing something majorly wrong or what. httpd.conf is edited correctly and php.ini is installed correctly (I am 99% positive).

I guess what I'm looking for is if the above is approximately correct in trying to install php as a DSO module or if not, how do I install it?

Thanks a lot in advance

Reply With Quote
  #2  
Old September 23rd, 2000, 05:17 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
You wanted to install PHP using DSO method but you were neither using DSO method nor static method.

Your PHP: --with-apache=/usr/local/apache

You need to point it to apache source, not apache PREFIX install directory.

If you don't have permission to recompile apache on your server, then your only option is to install using DSO method so long as apxs is available.

Maybe you should start here -> http://www.devshed.com/Talk/Forums/Forum15/HTML/000020.html and at step 10, it should be cp php.ini-dist /usr/local/etc/php.ini instead

Reply With Quote
  #3  
Old September 23rd, 2000, 10:06 AM
gpolins gpolins is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 32 gpolins User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
Well - the problem with that is that Apache was not installed with apxs. So I'm at a loss there. I do have permissions to recompile Apache under the server. I've been in contact with the people that setup Apache and they said that it was set up for DSO module installation, but there is no apxs directory (which is where I'm having the major conflicts with every install guide I come upon). So, I guess my question now is how do I compile apache with apxs support?

Reply With Quote
  #4  
Old September 24th, 2000, 03:44 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>>So, I guess my question now is how do I compile apache with apxs support?

Once again, this link -> http://www.devshed.com/Talk/Forums/Forum15/HTML/000020.html at Step 6.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > PHP Installation + 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