Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th April 2005, 18:27
olli olli is offline
Junior Member
 
Join Date: Apr 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cannot compile new PHP with apxs

Hi,

I have a dedicated server, it currently has Apache 2 and PHP 4.2.x installed on it. I'm trying to install PHP 4.3.11 on it.

I have compiled PHP 4.3.11 on the machine, but Apache is still using the old version. I think this is because I didn't specify --with-apxs2=/path/to/apxs. I didn't do it, because I don't know the path to apxs. I can't find it anywhere on the server.

I still have an httpd.conf file and everything.... and a directory for modules.... but I can't for the life of me find the path to apxs so that PHP ./configure can create the libphp4.so file.....

Don't know what to do now... Please help!

Olli
Reply With Quote
Sponsored Links
  #2  
Old 19th April 2005, 18:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Run

Code:
updatedb
locate apxs
to find apxs.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 20th April 2005, 11:54
olli olli is offline
Junior Member
 
Join Date: Apr 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

updatedb and locate don't seem to be installed on my system... Any hints?

Olli
Reply With Quote
  #4  
Old 20th April 2005, 12:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Run yast and install the package findutils-locate. Afterwards, updatedb and locate will be on your system.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 20th April 2005, 19:34
olli olli is offline
Junior Member
 
Join Date: Apr 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Run yast and install the package findutils-locate. Afterwards, updatedb and locate will be on your system.
That did the trick.

Thanks!

Olli
Reply With Quote
  #6  
Old 8th February 2006, 23:26
areamike areamike is offline
Junior Member
 
Join Date: Feb 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I did the above information to find path to apxs. All I get is path to

/var/www/manual/programs/apxs.html.ko.euc-kr
/var/www/manual/programs/apxs.html.en
/var/www/manual/programs/apxs.html

I cannot find th epath to apxs.

I am running Redhat Enterprise 4 ES
Reply With Quote
  #7  
Old 9th February 2006, 01:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

You must install the apache-devel package.
I'm not quite sure if RHEL uses yum or up2date as package manager. If it's yum, you can run
Code:
yum search apache
to find the apache-devel package, and you can install it with
Code:
yum install <package_name>
I don't know the syntax for up2date, so you better check with
Code:
man up2date
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 9th February 2006, 15:07
areamike areamike is offline
Junior Member
 
Join Date: Feb 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the reply.
It looks like RHEL4 uses up2date.
However, there is no apache-devel package available for RHEL4.

Looks like I will be compiling Apache manually myself...and just not use the default apache package that installs with Redhat.

thanks.
Reply With Quote
  #9  
Old 9th February 2006, 22:32
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Quote:
Originally Posted by areamike
Thanks for the reply.
It looks like RHEL4 uses up2date.
However, there is no apache-devel package available for RHEL4.
I can't imagine that... Are you sure? You should search again. Its name might not be apache-devel, but something with apache in it.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #10  
Old 9th February 2006, 23:19
areamike areamike is offline
Junior Member
 
Join Date: Feb 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by falko
I can't imagine that... Are you sure? You should search again. Its name might not be apache-devel, but something with apache in it.
I know. I was surprised too.
I did an extensive search, but no luck.
I'll check again.
Reply With Quote
Reply

Bookmarks

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

Forum Jump


All times are GMT +2. The time now is 18:27.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.