HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   Cannot compile new PHP with apxs (http://www.howtoforge.com/forums/showthread.php?t=5)

olli 19th April 2005 17:27

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

falko 19th April 2005 17:38

Run

Code:

updatedb
locate apxs

to find apxs.

olli 20th April 2005 10:54

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

Olli

falko 20th April 2005 11:05

Run yast and install the package findutils-locate. Afterwards, updatedb and locate will be on your system.

olli 20th April 2005 18:34

Quote:

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

Thanks!

Olli

areamike 8th February 2006 22:26

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

falko 9th February 2006 00:52

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

areamike 9th February 2006 14:07

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.

falko 9th February 2006 21:32

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.

areamike 9th February 2006 22:19

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.


All times are GMT +2. The time now is 02:08.

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