Sponsored by NuSphere - PHP Software for PHP Application Developers - On Sale This Week for $100



Go Back   PHP-Editors > Linux, Apache, MySQL > Apache Help

Apache Help Post any question relating to Apache here and hopefully someone can help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2006-05-27, 09:05 PM
Junior Member
 
Join Date: May 2006
Posts: 5
czamora is on a distinguished road
Question apxs missing in Apache 2.0

Hi,

My hosted server has Apache 2.0.40 installed, but it does not appear to have apxs. Is that possible? And, how can I fix that?

Thanks a lot for any help.
__________________
My little den on the web
My pet projects: Trade Cards Online and Miniature Trading
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 2006-05-28, 07:54 AM
Moderator
 
Join Date: May 2004
Location: Portugal
Posts: 143
gesf is an unknown quantity at this point
Send a message via ICQ to gesf Send a message via MSN to gesf Send a message via Skype™ to gesf
Default Yep

Your platform has to support the DSO (Dynamic Shared Object) feature and your Apache httpd binary has to be built with the mod_so module.
The apxs tool automatically complains if this is not the case.

This can be checked by manually running: $ httpd -l
__________________
Best Regards,
Gonçalo "GesF" Fontoura

Website : gesf.org
Reply With Quote
  #3 (permalink)  
Old 2006-05-28, 02:05 PM
Junior Member
 
Join Date: May 2006
Posts: 5
czamora is on a distinguished road
Default

My platform is Red Hat 9, which I think supports apxs, because the php that is installed there indicates that it was configured --with-apxs2=/usr/sbin/apxs' (though there is no apxs file in /usr/sbin)

And $httpd -l gives:
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c

So it seems all requisites are met.

I don't understand what you say about the apxs tool complaining... how can it if it does not exist?
__________________
My little den on the web
My pet projects: Trade Cards Online and Miniature Trading
Reply With Quote
  #4 (permalink)  
Old 2006-06-09, 03:22 PM
Junior Member
 
Join Date: Jun 2006
Posts: 1
bking01 is on a distinguished road
Default Fixed!

I had the same problem. The only file I could find was apxs.html. Finally I noticed that apxs.html was installed from httpd-manual, not httpd. So I tried installing httpd-devel, and apxs showed up! (even in /usr/sbin where is was supposed to be!) Redhat doesn't install httpd-devel by default, and the precompiled packages don't need it, so we didn't run in to this until we tried to compile a new version.

you can get the devel rpm that matches your apache install from:
http://download.fedoralegacy.org/redhat/9/updates/i386/

-Ben
Reply With Quote
  #5 (permalink)  
Old 2007-02-21, 01:53 PM
zet zet is offline
Junior Member
 
Join Date: Feb 2007
Posts: 1
zet is on a distinguished road
Thumbs up

Same problem here. Thank you for your reply, bking01.
I think that's it. I give it a try.
Strange anyway...
My Apache 2.0 was compiled by default by fedora 5 with "--with-apxs2=/usr/sbin/apxs" and there was no /usr/sbin/apxs
__________________
htttp://zetnet.ro http://portal.zetnet.ro

Last edited by zet; 2007-02-21 at 01:58 PM.
Reply With Quote
Must read Review for Serious PHP Developers


NuSphere PhpED 5.5 : The Staff of php-editors.com recently spent a few days working with NuSphere PhpED 5.5 (a popular PHP IDE) and NuCoder 2.0 (a PHP Encoding Utility), read up on all the details.

Sponsored Links
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:27 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.