"./Configure -- with-apxs =" command errors such as Cannotfindwebserver
When building a web server, you need to use ". /configure -- with-apxs = "+" apxs address ". Generally, the address of apxs is based on the online tutorial: "/usr/bin/apxs" or "
The root phpize is very similar, you can use APXS for Apache to play modules:To use APXS, your platform must support DSO features, and Apache must have httpd built-in Mod_so modules. Take a lookHttpd-l | grep mod_soAll parameters:[[Email protected]]
When building a Web server, when compiling the MOD_JK, you need to use "./configure--with-apxs=" + "APXS address", we generally fill in the APXS address is in accordance with the online tutorial: "/usr/bin/apxs" or "/ Usr/local/apache/bin/apxs ".
installing the Apache module with APXS-—— by stone stir-fried rice1. Reasona few days ago migrated the system, found a script that configured the fastcgi download file always prompts similar Connection Reset by peer:fastcgi error, later found that
Linux under compile defend you must specify a valid--WITH-APXS pathThis is due to the fact that Apache was installed without installing Prel.Workaround:[[email protected] bin]# VI/USR/LOCAL/APACHE/BIN/APXS Modify the first line
# tar zvxf php-5.1.2.tar.gz# CD php-5.1.2#./configure--prefix=/usr/local/php--with-mysql=/usr/local/mysql--with-apxs2=/usr/local/apache/bin/apxs-- With-libxml-dir=/usr/local/include/libxml2/libxml--WITH-GD--with-zlib# make# make Install#Note: During
Many people think that the error message is that apxs does not exist. The real reason is that apxs cannot run.
Just tested. The first line of APACHE-generated apxs compiled and installed without Perl is :#! /Replace/with/path/to/perl/interpreter-w.
I got a strange error message when I used -- with-apxs to compile PHP. There are two ways to check. First, when Apache creates an apxsPerl program, it does not contain the correct compilation parameters for some reasons. Edit your apxs (in
After compiling apache, when moddeflate and modssl are added through apxs, the following Error occurs: apxs: Error: Commandfailedwithrc65536. What is the cause? After compiling apache, add mod through apxs
Deflate, modWhen ssl is enabled, the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.