![]() ![]() If you get APR error run : sudo apt install libapr1-dev libaprutil1-devĬheck to see if it's working: sudo /usr/local/apache2/bin/apachectl start Move the downloaded apache source file into /usr/local/src, then cd /usr/local/src Install Zlib for compresssion with these steps: cd /usr/local/src Install build requirements: sudo apt-get install build-essential I advice you remove it and fix that -prefix optionĭownload the source file for the version you want Your -prefix option during compile is wrong. configure -prefix=/usr/local/apache2" -enable-mods-shared="reallyall" -enable-mpms-shared="all" ![]() configure -prefix=/etc/apache2 -enable-mods-shared="reallyall" -enable-mpms-shared="all" I believe you have done several things wrong. configure -prefix=/usr/local/apache2 -enable-mods-shared="reallyall" -enable-mpms-shared="all" ![]() When I use this command it not only install php5.6 but also install apache2.4.18 and when I test PHP by: echo "hello world" -> it not show any thing. Then I install PHP5.6 like this: apt-get install software-properties-common But I when I use apache2 -v -> it's not show the version of apache2 Update-rc.d apache defaults-> It has this warning "insserv: warning: script 'apache' missing LSB tags and overrides"Īfter performing the above steps, Apache 2.4.28 has been run. Ln -s /etc/apache2/bin/apachectl /etc/init.d/apache configure -prefix=/etc/apache2 -enable-mods-shared="reallyall" -enable-mpms-shared="all" Install dependency apt-get install build-essentialĬompile apache 2.4.28 tar xzvf apr-1.6.2.tar.gz I try to compile Apache 2.4.28 from source, I can't use command apt-get install apache2īecause this command install Apache 2.4.18 only. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |