I have a problem with building the package for PHP 7.3 from git. At the moment I am using Ubuntu 16.04 with utdatet php 7.0.x. (It's impossible to upgrade Ubuntu 16.04 to 18.04 at my VPS, because it crashes at boot. I only have Virtuozzo to debug and I can't find the point where it crashes, so upgrading to 18.04 isn't an option yet.)
My steps so far:
I have installed all programs for build, (git, build essential, libtool, bison and re2c).
I cloned the git from GitHub with:
git clone https://github.com/php/php-src.git
Then I selected the branch I want:
git checkout PHP-7.3
Then I ran:
./buildconf
What is the next step?
I need the following packages:
php7.3
libapache2-mod-php7.3
php7.3-mysql
mysql-server
I didn't search for a PPA, because I wanted to do it on my own in order to learn by doing it.
=$HOME/bin/php-latest
does not exist after executing the configure & make & make install commands – Black Mar 02 '21 at 13:55$HOME/bin/php-latest
folder was created automatically when I followed the steps in my answer a few minutes ago in Ubuntu 20.04. When following these steps I found out that some of the dependencies from Ubuntu 16.04 have been updated to more recent versions, so I edited my answer by updating it with additional information for users who are using Ubuntu 20.04. – karel Mar 02 '21 at 15:01