Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Mandrake 9.2 =<3 and Red Hat 8.0 (server)
Posts: 242
Rep:
I had this exact same problem with RH, the way i solved it... "APT"
You should get apt, uninstall apache (save httpd.conf) and php, then $] apt-get install php4
$]apt-get apache
There are other ways of using it, and I am not sure I wrote the right thing, but APT will install the newest version of both apache and php right from the console.
I have also noticed that apache from a tarball has a lot missing compared to an rpm.
Originally posted by wldkos I have also noticed that apache from a tarball has a lot missing compared to an rpm.
Although it may appear that way, technically this statement is not quite the case. The apache packages usually include (or package mangers add) a set of mod_'s for apache, as well as being built to suport fun stuff like php and mysql.
While the source on its own doesn't have the bells and whistles, a source build that you nurture yourself not that difficult to patch and maintain. It's a bit of a learning curve but its rewards are worth it.
Distribution: Gentoo, Slackware 9.1, Slackware 8.1, Mac OS X (if it counts...)
Posts: 71
Original Poster
Rep:
I added --with-apxs2=/usr/local/httpd-2.0.45/support/apxs to my config line, and I get a new nice error message:
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 module support via DSO through APXS...
Sorry, I cannot run apxs. Possible reasons follow:
1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)
The output of /usr/local/httpd-2.0.45/support/apxs follows:
./configure: /usr/local/httpd-2.0.45/support/apxs: /usr/bin/perl: bad interpreter: Permission denied
configure: error: Aborting
Perl is installed, i hav configured apache with --enable-so
and the directory to apache is correct
You need to config and NOT make/make install your apache first. Then build php, which will tell apxs to build the required php bits as per your php build.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.