kevinwalter
Verified User
- Joined
- Jun 1, 2011
- Messages
- 51
CustomBuild 1.1.36 and 1.2.31 should be uploaded to DA servers today, with a fix for apr/apr-util.
Did someone uploaded it already?
CustomBuild 1.1.36 and 1.2.31 should be uploaded to DA servers today, with a fix for apr/apr-util.
Did someone uploaded it already?
Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration - load module mod_unixd
Anyway, yesterday using the procedure proposed by Daveyw, downloading the file manually and edit the versions.txt, I got upgraded to 2.4.1, then compiled PHP, but Apache could not start for several other problems, for example, mod_unixd is need for start Apache now.
Not at the moment, look in all mirrors filesX... and show 1.1.35 in Build Version:
http://files2.directadmin.com/services/custombuild/1.1/custombuild/build
http://files6.directadmin.com/services/custombuild/1.1/custombuild/build
http://files.directadmin.com/services/custombuild/1.1/custombuild/build
etc...
Anyway, yesterday using the procedure proposed by Daveyw, downloading the file manually and edit the versions.txt, I got upgraded to 2.4.1, then compiled PHP, but Apache could not start for several other problems, for example, mod_unixd is need for start Apache now.
Just add modules in httpd.conf:
LoadModule unixd_module /usr/lib/apache/mod_unixd.so
btw, in 2.4. not need to use mod_rpaf.
New apache has internal module remoteip_module
#!/bin/sh
"./configure" \
"--prefix=/etc/httpd" \
"--exec-prefix=/etc/httpd" \
"--bindir=/usr/bin" \
"--sbindir=/usr/sbin" \
"--sysconfdir=/etc/httpd/conf" \
"--enable-so" \
"--enable-dav" \
"--enable-dav-fs" \
"--enable-dav-lock" \
"--enable-suexec" \
"--enable-deflate" \
"--enable-unique-id" \
"--enable-mods-static=most" \
"--with-mpm=prefork" \
"--with-suexec-caller=apache" \
"--with-suexec-docroot=/" \
"--with-suexec-gidmin=100" \
"--with-suexec-logfile=/var/log/httpd/suexec_log" \
"--with-suexec-uidmin=100" \
"--with-suexec-userdir=public_html" \
"--with-suexec-bin=/usr/sbin/suexec" \
"--with-included-apr" \
"--with-pcre=/usr/local" \
"--includedir=/usr/include/apache" \
"--libexecdir=/usr/lib/apache" \
"--datadir=/var/www" \
"--localstatedir=/var" \
"--enable-logio" \
"--enable-ssl" \
"--enable-rewrite" \
"--enable-proxy" \
"--enable-expires" \
"--with-ssl=/usr" \
"--enable-headers"
Starting httpd: AH00526: Syntax error on line 3 of /etc/httpd/conf/extra/httpd-directories.conf:
Either all Options must start with + or -, or no Option may.
[core:warn] [pid 27813] AH00117: Ignoring deprecated use of DefaultType in line 59 of /etc/httpd/conf/httpd.conf.
AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/httpd/conf/ips.conf:6
Code:Starting httpd: AH00526: Syntax error on line 3 of /etc/httpd/conf/extra/httpd-directories.conf: Either all Options must start with + or -, or no Option may.
Starting httpd: httpd: Syntax error on line 17 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/mod_suphp.so into server: /usr/lib/apache/mod_suphp.so: undefined symbol: ap_log_rerror
Making all in src
make[1]: Entering directory `/usr/local/directadmin/custombuild/suphp-0.7.1/src'
make all-recursive
make[2]: Entering directory `/usr/local/directadmin/custombuild/suphp-0.7.1/src'
Making all in apache
make[3]: Entering directory `/usr/local/directadmin/custombuild/suphp-0.7.1/src/apache'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/apache -DSUPHP_PATH_TO_SUPHP=\"/usr/local/suphp/sbin/suphp\" -DSUPHP_USE_USERGROUP -g -O2 -MT mod_suphp.lo -MD -MP -MF .deps/mod_suphp.Tpo -c -o mod_suphp.lo mod_suphp.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/apache -DSUPHP_PATH_TO_SUPHP=\"/usr/local/suphp/sbin/suphp\" -DSUPHP_USE_USERGROUP -g -O2 -MT mod_suphp.lo -MD -MP -MF .deps/mod_suphp.Tpo -c mod_suphp.c -fPIC -DPIC -o .libs/mod_suphp.o
mod_suphp.c:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'suphp_module'
mod_suphp.c:59: error: expected specifier-qualifier-list before 'table'
mod_suphp.c:66: error: expected ')' before '*' token
mod_suphp.c:84: error: expected ')' before '*' token
mod_suphp.c:125: error: expected ')' before '*' token
mod_suphp.c:145: error: expected ')' before '*' token
mod_suphp.c: In function 'suphp_handle_cmd_engine':
mod_suphp.c:191: error: 'suphp_module' undeclared (first use in this function)
mod_suphp.c:191: error: (Each undeclared identifier is reported only once
mod_suphp.c:191: error: for each function it appears in.)
mod_suphp.c: In function 'suphp_handle_cmd_config':
mod_suphp.c:207: warning: assignment makes pointer from integer without a cast
mod_suphp.c: In function 'suphp_handle_cmd_user_group':
mod_suphp.c:222: error: 'suphp_module' undeclared (first use in this function)
mod_suphp.c:224: warning: assignment makes pointer from integer without a cast
mod_suphp.c:225: warning: assignment makes pointer from integer without a cast
mod_suphp.c: In function 'suphp_handle_cmd_add_handler':
mod_suphp.c:238: error: 'suphp_module' undeclared (first use in this function)
mod_suphp.c:241: error: 'suphp_conf' has no member named 'handlers'
mod_suphp.c: In function 'suphp_handle_cmd_remove_handler':
mod_suphp.c:253: error: 'suphp_module' undeclared (first use in this function)
mod_suphp.c:256: error: 'suphp_conf' has no member named 'handlers'
mod_suphp.c: In function 'suphp_handle_cmd_phppath':
mod_suphp.c:266: error: 'suphp_module' undeclared (first use in this function)
mod_suphp.c:268: error: 'suphp_conf' has no member named 'php_path'
mod_suphp.c: At top level:
mod_suphp.c:277: warning: initialization from incompatible pointer type
mod_suphp.c:279: warning: initialization from incompatible pointer type
mod_suphp.c:282: warning: initialization from incompatible pointer type
mod_suphp.c:285: warning: initialization from incompatible pointer type
mod_suphp.c:287: warning: initialization from incompatible pointer type
mod_suphp.c:289: warning: initialization from incompatible pointer type
mod_suphp.c:296: error: expected declaration specifiers or '...' before 'child_info'
mod_suphp.c: In function 'suphp_source_child':
mod_suphp.c:299: error: 'pool' undeclared (first use in this function)
mod_suphp.c:299: error: 'p' undeclared (first use in this function)
mod_suphp.c:302: error: 'suphp_module' undeclared (first use in this function)
mod_suphp.c:309: warning: assignment makes pointer from integer without a cast
mod_suphp.c:310: error: 'suphp_conf' has no member named 'php_path'
mod_suphp.c:310: warning: assignment makes pointer from integer without a cast
mod_suphp.c:312: warning: assignment makes pointer from integer without a cast
mod_suphp.c:325: error: 'suphp_conf' has no member named 'php_path'
mod_suphp.c:329: error: 'suphp_conf' has no member named 'php_path'
mod_suphp.c:329: warning: passing argument 5 of 'ap_log_error_' makes integer from pointer without a cast
mod_suphp.c:329: warning: passing argument 6 of 'ap_log_error_' from incompatible pointer type
mod_suphp.c: At top level:
mod_suphp.c:336: error: expected declaration specifiers or '...' before 'child_info'
mod_suphp.c: In function 'suphp_child':
mod_suphp.c:339: error: 'pool' undeclared (first use in this function)
mod_suphp.c:339: error: 'p' undeclared (first use in this function)
mod_suphp.c:351: warning: assignment makes pointer from integer without a cast
mod_suphp.c:368: warning: passing argument 5 of 'ap_log_error_' makes integer from pointer without a cast
mod_suphp.c:368: warning: passing argument 6 of 'ap_log_error_' from incompatible pointer type
mod_suphp.c:368: error: too few arguments to function 'ap_log_error_'
mod_suphp.c:376: warning: passing argument 5 of 'ap_log_error_' makes integer from pointer without a cast
mod_suphp.c:376: warning: passing argument 6 of 'ap_log_error_' from incompatible pointer type
mod_suphp.c:376: error: too few arguments to function 'ap_log_error_'
mod_suphp.c:384: warning: passing argument 5 of 'ap_log_error_' makes integer from pointer without a cast
mod_suphp.c:384: warning: passing argument 6 of 'ap_log_error_' from incompatible pointer type
mod_suphp.c:384: error: too few arguments to function 'ap_log_error_'
mod_suphp.c:392: warning: passing argument 5 of 'ap_log_error_' makes integer from pointer without a cast
mod_suphp.c:392: warning: passing argument 6 of 'ap_log_error_' from incompatible pointer type
mod_suphp.c:392: error: too few arguments to function 'ap_log_error_'
mod_suphp.c:412: warning: passing argument 5 of 'ap_log_error_' makes integer from pointer without a cast
mod_suphp.c:412: warning: passing argument 6 of 'ap_log_error_' from incompatible pointer type
mod_suphp.c: In function 'suphp_source_handler':
mod_suphp.c:424: error: 'pool' undeclared (first use in this function)
mod_suphp.c:424: error: 'p' undeclared (first use in this function)
mod_suphp.c:426: error: 'BUFF' undeclared (first use in this function)
mod_suphp.c:426: error: 'script_in' undeclared (first use in this function)
mod_suphp.c:426: error: 'script_out' undeclared (first use in this function)
mod_suphp.c:426: error: 'script_err' undeclared (first use in this function)
mod_suphp.c:433: error: 'suphp_module' undeclared (first use in this function)
mod_suphp.c:434: error: 'suphp_conf' has no member named 'php_path'
mod_suphp.c:445: warning: passing argument 5 of 'ap_log_rerror_' makes integer from pointer without a cast
mod_suphp.c:445: warning: passing argument 6 of 'ap_log_rerror_' from incompatible pointer type
mod_suphp.c:449: warning: passing argument 5 of 'ap_log_rerror_' makes integer from pointer without a cast
mod_suphp.c:449: warning: passing argument 6 of 'ap_log_rerror_' from incompatible pointer type
mod_suphp.c:453: warning: passing argument 5 of 'ap_log_rerror_' makes integer from pointer without a cast
mod_suphp.c:453: warning: passing argument 6 of 'ap_log_rerror_' from incompatible pointer type
mod_suphp.c:459: error: 'kill_after_timeout' undeclared (first use in this function)
mod_suphp.c:462: warning: passing argument 5 of 'ap_log_rerror_' makes integer from pointer without a cast
mod_suphp.c:462: warning: passing argument 6 of 'ap_log_rerror_' from incompatible pointer type
mod_suphp.c: In function 'suphp_handler':
mod_suphp.c:514: error: storage size of 'finfo' isn't known
mod_suphp.c:521: error: 'pool' undeclared (first use in this function)
mod_suphp.c:521: error: 'p' undeclared (first use in this function)
mod_suphp.c:523: error: 'BUFF' undeclared (first use in this function)
mod_suphp.c:523: error: 'script_in' undeclared (first use in this function)
mod_suphp.c:523: error: 'script_out' undeclared (first use in this function)
mod_suphp.c:523: error: 'script_err' undeclared (first use in this function)
mod_suphp.c:527: error: 'suphp_module' undeclared (first use in this function)
mod_suphp.c:539: error: 'suphp_conf' has no member named 'handlers'
mod_suphp.c:539: warning: comparison between pointer and integer
mod_suphp.c:540: error: 'suphp_conf' has no member named 'handlers'
mod_suphp.c:540: warning: comparison between pointer and integer
mod_suphp.c:541: error: 'suphp_conf' has no member named 'handlers'
mod_suphp.c:541: error: invalid type argument of 'unary *'
mod_suphp.c:544: error: 'suphp_conf' has no member named 'handlers'
mod_suphp.c:544: error: invalid type argument of 'unary *'
mod_suphp.c:563: warning: passing argument 5 of 'ap_log_rerror_' makes integer from pointer without a cast
mod_suphp.c:563: warning: passing argument 6 of 'ap_log_rerror_' from incompatible pointer type
mod_suphp.c:567: warning: passing argument 5 of 'ap_log_rerror_' makes integer from pointer without a cast
mod_suphp.c:567: warning: passing argument 6 of 'ap_log_rerror_' from incompatible pointer type
mod_suphp.c:571: warning: passing argument 5 of 'ap_log_rerror_' makes integer from pointer without a cast
mod_suphp.c:571: warning: passing argument 6 of 'ap_log_rerror_' from incompatible pointer type
mod_suphp.c:587: warning: initialization makes pointer from integer without a cast
mod_suphp.c:596: warning: assignment makes pointer from integer without a cast
mod_suphp.c:597: error: dereferencing pointer to incomplete type
mod_suphp.c:599: warning: assignment makes pointer from integer without a cast
mod_suphp.c:600: error: dereferencing pointer to incomplete type
mod_suphp.c:602: warning: assignment makes pointer from integer without a cast
mod_suphp.c:620: warning: passing argument 5 of 'ap_log_rerror_' makes integer from pointer without a cast
mod_suphp.c:620: warning: passing argument 6 of 'ap_log_rerror_' from incompatible pointer type
mod_suphp.c:620: error: too few arguments to function 'ap_log_rerror_'
mod_suphp.c:649: warning: assignment makes pointer from integer without a cast
mod_suphp.c:658: warning: assignment makes pointer from integer without a cast
mod_suphp.c:659: warning: assignment makes pointer from integer without a cast
mod_suphp.c:690: error: 'kill_after_timeout' undeclared (first use in this function)
mod_suphp.c:693: warning: passing argument 5 of 'ap_log_rerror_' makes integer from pointer without a cast
mod_suphp.c:693: warning: passing argument 6 of 'ap_log_rerror_' from incompatible pointer type
mod_suphp.c:742: warning: assignment makes pointer from integer without a cast
mod_suphp.c:755: warning: assignment makes pointer from integer without a cast
mod_suphp.c:768: error: 'REDIRECT' undeclared (first use in this function)
mod_suphp.c: At top level:
mod_suphp.c:789: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'suphp_handlers'
mod_suphp.c:798: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'suphp_module'
make[3]: *** [mod_suphp.lo] Error 1
make[3]: Leaving directory `/usr/local/directadmin/custombuild/suphp-0.7.1/src/apache'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/suphp-0.7.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/directadmin/custombuild/suphp-0.7.1/src'
make: *** [all-recursive] Error 1
*** The make has failed, would you like to try to make again? (y,n):
Same problem here. Also, with suPHP, I got error below :
Code:Starting httpd: httpd: Syntax error on line 17 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/mod_suphp.so into server: /usr/lib/apache/mod_suphp.so: undefined symbol: ap_log_rerror
Try to ./build suphp and got error below
Code:Making all in src make[1]: Entering directory `/usr/local/directadmin/custombuild/suphp-0.7.1/src' make all-recursive make[2]: Entering directory `/usr/local/directadmin/custombuild/suphp-0.7.1/src' Making all in apache make[3]: Entering directory `/usr/local/directadmin/custombuild/suphp-0.7.1/src/apache' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/apache -DSUPHP_PATH_TO_SUPHP=\"/usr/local/suphp/sbin/suphp\" -DSUPHP_USE_USERGROUP -g -O2 -MT mod_suphp.lo -MD -MP -MF .deps/mod_suphp.Tpo -c -o mod_suphp.lo mod_suphp.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/apache -DSUPHP_PATH_TO_SUPHP=\"/usr/local/suphp/sbin/suphp\" -DSUPHP_USE_USERGROUP -g -O2 -MT mod_suphp.lo -MD -MP -MF .deps/mod_suphp.Tpo -c mod_suphp.c -fPIC -DPIC -o .libs/mod_suphp.o mod_suphp.c:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'suphp_module' mod_suphp.c:59: error: expected specifier-qualifier-list before 'table' mod_suphp.c:66: error: expected ')' before '*' token mod_suphp.c:84: error: expected ')' before '*' token mod_suphp.c:125: error: expected ')' before '*' token mod_suphp.c:145: error: expected ')' before '*' token mod_suphp.c: In function 'suphp_handle_cmd_engine': mod_suphp.c:191: error: 'suphp_module' undeclared (first use in this function) mod_suphp.c:191: error: (Each undeclared identifier is reported only once mod_suphp.c:191: error: for each function it appears in.) mod_suphp.c: In function 'suphp_handle_cmd_config': mod_suphp.c:207: warning: assignment makes pointer from integer without a cast mod_suphp.c: In function 'suphp_handle_cmd_user_group': mod_suphp.c:222: error: 'suphp_module' undeclared (first use in this function) mod_suphp.c:224: warning: assignment makes pointer from integer without a cast mod_suphp.c:225: warning: assignment makes pointer from integer without a cast mod_suphp.c: In function 'suphp_handle_cmd_add_handler': mod_suphp.c:238: error: 'suphp_module' undeclared (first use in this function) mod_suphp.c:241: error: 'suphp_conf' has no member named 'handlers' mod_suphp.c: In function 'suphp_handle_cmd_remove_handler': mod_suphp.c:253: error: 'suphp_module' undeclared (first use in this function) mod_suphp.c:256: error: 'suphp_conf' has no member named 'handlers' mod_suphp.c: In function 'suphp_handle_cmd_phppath': mod_suphp.c:266: error: 'suphp_module' undeclared (first use in this function) mod_suphp.c:268: error: 'suphp_conf' has no member named 'php_path' mod_suphp.c: At top level: mod_suphp.c:277: warning: initialization from incompatible pointer type mod_suphp.c:279: warning: initialization from incompatible pointer type mod_suphp.c:282: warning: initialization from incompatible pointer type mod_suphp.c:285: warning: initialization from incompatible pointer type mod_suphp.c:287: warning: initialization from incompatible pointer type mod_suphp.c:289: warning: initialization from incompatible pointer type mod_suphp.c:296: error: expected declaration specifiers or '...' before 'child_info' mod_suphp.c: In function 'suphp_source_child': mod_suphp.c:299: error: 'pool' undeclared (first use in this function) mod_suphp.c:299: error: 'p' undeclared (first use in this function) mod_suphp.c:302: error: 'suphp_module' undeclared (first use in this function) mod_suphp.c:309: warning: assignment makes pointer from integer without a cast mod_suphp.c:310: error: 'suphp_conf' has no member named 'php_path' mod_suphp.c:310: warning: assignment makes pointer from integer without a cast mod_suphp.c:312: warning: assignment makes pointer from integer without a cast mod_suphp.c:325: error: 'suphp_conf' has no member named 'php_path' mod_suphp.c:329: error: 'suphp_conf' has no member named 'php_path' mod_suphp.c:329: warning: passing argument 5 of 'ap_log_error_' makes integer from pointer without a cast mod_suphp.c:329: warning: passing argument 6 of 'ap_log_error_' from incompatible pointer type mod_suphp.c: At top level: mod_suphp.c:336: error: expected declaration specifiers or '...' before 'child_info' mod_suphp.c: In function 'suphp_child': mod_suphp.c:339: error: 'pool' undeclared (first use in this function) mod_suphp.c:339: error: 'p' undeclared (first use in this function) mod_suphp.c:351: warning: assignment makes pointer from integer without a cast mod_suphp.c:368: warning: passing argument 5 of 'ap_log_error_' makes integer from pointer without a cast mod_suphp.c:368: warning: passing argument 6 of 'ap_log_error_' from incompatible pointer type mod_suphp.c:368: error: too few arguments to function 'ap_log_error_' mod_suphp.c:376: warning: passing argument 5 of 'ap_log_error_' makes integer from pointer without a cast mod_suphp.c:376: warning: passing argument 6 of 'ap_log_error_' from incompatible pointer type mod_suphp.c:376: error: too few arguments to function 'ap_log_error_' mod_suphp.c:384: warning: passing argument 5 of 'ap_log_error_' makes integer from pointer without a cast mod_suphp.c:384: warning: passing argument 6 of 'ap_log_error_' from incompatible pointer type mod_suphp.c:384: error: too few arguments to function 'ap_log_error_' mod_suphp.c:392: warning: passing argument 5 of 'ap_log_error_' makes integer from pointer without a cast mod_suphp.c:392: warning: passing argument 6 of 'ap_log_error_' from incompatible pointer type mod_suphp.c:392: error: too few arguments to function 'ap_log_error_' mod_suphp.c:412: warning: passing argument 5 of 'ap_log_error_' makes integer from pointer without a cast mod_suphp.c:412: warning: passing argument 6 of 'ap_log_error_' from incompatible pointer type mod_suphp.c: In function 'suphp_source_handler': mod_suphp.c:424: error: 'pool' undeclared (first use in this function) mod_suphp.c:424: error: 'p' undeclared (first use in this function) mod_suphp.c:426: error: 'BUFF' undeclared (first use in this function) mod_suphp.c:426: error: 'script_in' undeclared (first use in this function) mod_suphp.c:426: error: 'script_out' undeclared (first use in this function) mod_suphp.c:426: error: 'script_err' undeclared (first use in this function) mod_suphp.c:433: error: 'suphp_module' undeclared (first use in this function) mod_suphp.c:434: error: 'suphp_conf' has no member named 'php_path' mod_suphp.c:445: warning: passing argument 5 of 'ap_log_rerror_' makes integer from pointer without a cast mod_suphp.c:445: warning: passing argument 6 of 'ap_log_rerror_' from incompatible pointer type mod_suphp.c:449: warning: passing argument 5 of 'ap_log_rerror_' makes integer from pointer without a cast mod_suphp.c:449: warning: passing argument 6 of 'ap_log_rerror_' from incompatible pointer type mod_suphp.c:453: warning: passing argument 5 of 'ap_log_rerror_' makes integer from pointer without a cast mod_suphp.c:453: warning: passing argument 6 of 'ap_log_rerror_' from incompatible pointer type mod_suphp.c:459: error: 'kill_after_timeout' undeclared (first use in this function) mod_suphp.c:462: warning: passing argument 5 of 'ap_log_rerror_' makes integer from pointer without a cast mod_suphp.c:462: warning: passing argument 6 of 'ap_log_rerror_' from incompatible pointer type mod_suphp.c: In function 'suphp_handler': mod_suphp.c:514: error: storage size of 'finfo' isn't known mod_suphp.c:521: error: 'pool' undeclared (first use in this function) mod_suphp.c:521: error: 'p' undeclared (first use in this function) mod_suphp.c:523: error: 'BUFF' undeclared (first use in this function) mod_suphp.c:523: error: 'script_in' undeclared (first use in this function) mod_suphp.c:523: error: 'script_out' undeclared (first use in this function) mod_suphp.c:523: error: 'script_err' undeclared (first use in this function) mod_suphp.c:527: error: 'suphp_module' undeclared (first use in this function) mod_suphp.c:539: error: 'suphp_conf' has no member named 'handlers' mod_suphp.c:539: warning: comparison between pointer and integer mod_suphp.c:540: error: 'suphp_conf' has no member named 'handlers' mod_suphp.c:540: warning: comparison between pointer and integer mod_suphp.c:541: error: 'suphp_conf' has no member named 'handlers' mod_suphp.c:541: error: invalid type argument of 'unary *' mod_suphp.c:544: error: 'suphp_conf' has no member named 'handlers' mod_suphp.c:544: error: invalid type argument of 'unary *' mod_suphp.c:563: warning: passing argument 5 of 'ap_log_rerror_' makes integer from pointer without a cast mod_suphp.c:563: warning: passing argument 6 of 'ap_log_rerror_' from incompatible pointer type mod_suphp.c:567: warning: passing argument 5 of 'ap_log_rerror_' makes integer from pointer without a cast mod_suphp.c:567: warning: passing argument 6 of 'ap_log_rerror_' from incompatible pointer type mod_suphp.c:571: warning: passing argument 5 of 'ap_log_rerror_' makes integer from pointer without a cast mod_suphp.c:571: warning: passing argument 6 of 'ap_log_rerror_' from incompatible pointer type mod_suphp.c:587: warning: initialization makes pointer from integer without a cast mod_suphp.c:596: warning: assignment makes pointer from integer without a cast mod_suphp.c:597: error: dereferencing pointer to incomplete type mod_suphp.c:599: warning: assignment makes pointer from integer without a cast mod_suphp.c:600: error: dereferencing pointer to incomplete type mod_suphp.c:602: warning: assignment makes pointer from integer without a cast mod_suphp.c:620: warning: passing argument 5 of 'ap_log_rerror_' makes integer from pointer without a cast mod_suphp.c:620: warning: passing argument 6 of 'ap_log_rerror_' from incompatible pointer type mod_suphp.c:620: error: too few arguments to function 'ap_log_rerror_' mod_suphp.c:649: warning: assignment makes pointer from integer without a cast mod_suphp.c:658: warning: assignment makes pointer from integer without a cast mod_suphp.c:659: warning: assignment makes pointer from integer without a cast mod_suphp.c:690: error: 'kill_after_timeout' undeclared (first use in this function) mod_suphp.c:693: warning: passing argument 5 of 'ap_log_rerror_' makes integer from pointer without a cast mod_suphp.c:693: warning: passing argument 6 of 'ap_log_rerror_' from incompatible pointer type mod_suphp.c:742: warning: assignment makes pointer from integer without a cast mod_suphp.c:755: warning: assignment makes pointer from integer without a cast mod_suphp.c:768: error: 'REDIRECT' undeclared (first use in this function) mod_suphp.c: At top level: mod_suphp.c:789: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'suphp_handlers' mod_suphp.c:798: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'suphp_module' make[3]: *** [mod_suphp.lo] Error 1 make[3]: Leaving directory `/usr/local/directadmin/custombuild/suphp-0.7.1/src/apache' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/directadmin/custombuild/suphp-0.7.1/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/directadmin/custombuild/suphp-0.7.1/src' make: *** [all-recursive] Error 1 *** The make has failed, would you like to try to make again? (y,n):
My Custombuild version is 1.2.31.
cd /usr/local/directadmin/custombuild
wget -O build http://www.custombuild.eu/build-1.1
./build suphp
cd /usr/local/directadmin/custombuild
wget -O build http://www.custombuild.eu/build-1.2
./build suphp
in files2 mirror, CB is update to 1.1.36, after compiling apache and php when try start apache show this error:
Code:Starting httpd: AH00526: Syntax error on line 3 of /etc/httpd/conf/extra/httpd-directories.conf: Either all Options must start with + or -, or no Option may.
./build rewrite_confs does not solve the problem, I think we have to modify some settings
if use "/configure/ap2/conf/extra/httpd-directories-new.conf" soved problem, then:
Code:[core:warn] [pid 27813] AH00117: Ignoring deprecated use of DefaultType in line 59 of /etc/httpd/conf/httpd.conf. AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/httpd/conf/ips.conf:6
...but Apache start, now problem is php cant load modules (APC, Geoip, etc...).
So far I can see, is mod_ruid(2) not yet compatible with Apache 2.4.
Any can confirm this?
wget -O mod_ruid2-0.9.4.tar.bz2"http://downloads.sourceforge.net/project/mod-ruid/mod_ruid2/mod_ruid2-0.9.4.tar.bz2?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fmod-ruid%2Ffiles%2Fmod_ruid2%2F&ts=1330166943&use_mirror=kent"
tar xjf mod_ruid2-0.9.4.tar.bz2
cd mod_ruid2-0.9.4
perl -pi -e 's/unixd_config/ap_unixd_config/' mod_ruid2.c
perl -pi -e 's/#include "mpm_common.h"/#include "mpm_common.h"\n#include "unixd.h"/' mod_ruid2.c
apxs -a -i -l cap -c mod_ruid2.c
mod_suphp 0.7.1 is not compatible with apache 2.4, but I made it compatible in CB 1.1.37 and 1.2.32...
[Sat Feb 25 18:24:49.008689 2012] [core:error] [pid 80626] (2)No such file or directory: AH00095: failed to remove PID file /var/run/httpd.pid
[Sat Feb 25 18:24:49.008736 2012] [mpm_prefork:notice] [pid 80626] AH00169: caught SIGTERM, shutting down
What are these for?
Order deny,allow
Deny from all
should be changed to:
Require all denied
and etc, etc.