Without the --with-apr=/usb/bin/apr-1-config I would receive this error: configure: error: APR is needed to build mod_suphp for Apache 2.x but was not found
./configure --with-apr=/usr/bin/apr-1-config
I just add at the bottom of configure.suphp
[root@light suphp]# cat configure.suphp
#!/bin/sh
"./configure" \
"--prefix=/usr/local/suphp" \
"--sysconfdir=/usr/local/suphp/etc/" \
"--with-apache-user=apache" \
"--with-setid-mode=paranoid" \
"--with-apxs=/usr/sbin/apxs" \
"--disable-checkpath" \
"--with-apr=/usr/bin/apr-1-config"
Can anyone suggest why ?
credit to: http://adamyoung.net/Install-suPHP-on-CentOS-5.1
./configure --with-apr=/usr/bin/apr-1-config
I just add at the bottom of configure.suphp
[root@light suphp]# cat configure.suphp
#!/bin/sh
"./configure" \
"--prefix=/usr/local/suphp" \
"--sysconfdir=/usr/local/suphp/etc/" \
"--with-apache-user=apache" \
"--with-setid-mode=paranoid" \
"--with-apxs=/usr/sbin/apxs" \
"--disable-checkpath" \
"--with-apr=/usr/bin/apr-1-config"
Can anyone suggest why ?
credit to: http://adamyoung.net/Install-suPHP-on-CentOS-5.1