I'm trying configure and install older php 5.3 version on my archlinux, and I don't want it to copy libphp5.so to /usr/lib/httpd/modules/ because there's an existing version (newer) there.
/usr/share/apr-1/build/libtool --mode=install install libphp5.la /usr/lib/httpd/modules/
libtool: install: install .libs/libphp5.so /usr/lib/httpd/modules/libphp5.so
install: cannot remove '/usr/lib/httpd/modules/libphp5.so': Permission denied
I think there should be a configure flag to control that, can anyone help me?
./configure --with-apxs2=/usr/local/apache2/bin/apxs; makeand skipmake install. Everything will be compiled but it won't be moved from the build directory.