Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem starting apache with apachectl

Status
Not open for further replies.

farley99

MIS
Feb 12, 2003
413
US
I recomplied php, but I can only start it with /etc/rc.d/init.d/httpd restart not with /usr/local/apache/bin/apachectl restart

When I compiled php, it didnt seem to work with
'./configure' '--with-apxs=/usr/local/apache/bin/apxs'
but did work ok with
'./configure' '--with-apxs'
I am assuming the second uses /usr/sbin/apxs and not /usr/local/apache/bin/apxs, is that why apachectl wont work?

Why cant I get it to start with apachectl? What is the different between the two apxs's?

Thanks In Advance,
Farley

 
It would seem to me as if you have multiple versions of Apache installed at once.

//Daniel
 
It would seem to me as if you have multiple versions of Apache installed at once.

Yes, I think I have 2 versions, how do i check for this
?
 
type the command :
$ which apachectl
this will tell you the absolute path of `apachctl'

open `apachectl' with an editor.

you will see an absolute path to httpd.
chech if this is the same with the output of:
$ which httpd


PM


__
___
 
What is the difference between
'./configure' '--with-apxs=/usr/local/apache/bin/apxs'
and
'./configure' '--with-apxs'
 
The first specifies an absolute path to where the apxs script resides. The second searches the standard paths for it.

//Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top