Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
10
rated 0 times [  10] [ 0]  / answers: 1 / hits: 12699  / 3 Years ago, thu, may 6, 2021, 3:47:20

I need to install the latest versions of apache, php and mysql that are available on their websites, but the problem is that apt repositories don't have these updates versions yet.



Versions that I want: Apache 2.4.4, PHP 5.4.16 and MySQL 5.6.12.



Versions available via apt: Apache 2.2.22, PHP 5.4.15, MySQL 5.5.31.



Ubuntu doesn't support the above versions of packages. Please, I want help! Thanks!



P.S. Tasksel also doesn't have these versions of packages yet.


More From » apache2

 Answers
2

Before to install the new versions, you should uninstall any other versions that you have installed before.



Install Apache 2.4.4




  1. Before installing Apache 2.4.4, you should install PCRE, otherwise it will not succeed. The process of installing PCRE is simple. After you downloaded it, run in terminal next commands:




    sudo ./configure
    sudo make
    sudo make install


  2. Download APR and APR-Util from http://apr.apache.org, unpack them to Apache directory, /srclib/apr and /srclib/apr-util (no version numbers in the directory names) and type following commands to install Apache:




    sudo ./configure --with-included-apr
    sudo make
    sudo make install


  3. Type following command to start Apache:




    sudo /usr/local/apache2/bin/apachectl start




There may be something wrongs like:



/usr/local/apache2/bin/httpd: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory


Type following command to see httpd’s shared library dependencies:



ldd httpd


Found "libpcre.so.1 => not found", then type the following command to update links:



sudo ldconfig


Restart Apache and should work.



Source: http://zhuojun.info/?p=1121



Install PHP 5.4.16




  1. Download PHP 5.4.16 from http://php.net/downloads.php

  2. Check this post to see how to install a .tar.bz2 file: How to install a .tar.gz (or .tar.bz2) file?



Install MySQL 5.5.31




  1. Download MySQL 5.5.31 from http://dev.mysql.com/downloads/mysql/5.5.html. In fact, MySQL 5.5.32 is the latest version.

  2. Check this post see how to install a .rpm file: How do I install and manage RPMs?


[#30733] Friday, May 7, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
heathree

Total Points: 157
Total Questions: 132
Total Answers: 108

Location: Honduras
Member since Mon, Apr 5, 2021
3 Years ago
;