
19th April 2005, 18:27
|
|
Junior Member
|
|
Join Date: Apr 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

19th April 2005, 18:38
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
Run
Code:
updatedb
locate apxs
to find apxs.
|

20th April 2005, 11:54
|
|
Junior Member
|
|
Join Date: Apr 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
updatedb and locate don't seem to be installed on my system...  Any hints?
Olli
|

20th April 2005, 12:05
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
Run yast and install the package findutils-locate. Afterwards, updatedb and locate will be on your system.
|

20th April 2005, 19:34
|
|
Junior Member
|
|
Join Date: Apr 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
|
Run yast and install the package findutils-locate. Afterwards, updatedb and locate will be on your system.
|
That did the trick.
Thanks!
Olli
|

8th February 2006, 23:26
|
|
Junior Member
|
|
Join Date: Feb 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

9th February 2006, 01:52
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
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
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
|

9th February 2006, 15:07
|
|
Junior Member
|
|
Join Date: Feb 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

9th February 2006, 22:32
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
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.
|

9th February 2006, 23:19
|
|
Junior Member
|
|
Join Date: Feb 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 08:50.
|
Recent comments
1 day 17 min ago
1 day 5 hours ago
1 day 5 hours ago
1 day 5 hours ago
1 day 6 hours ago
1 day 9 hours ago
1 day 11 hours ago
1 day 11 hours ago
1 day 11 hours ago
1 day 13 hours ago