We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it by the end of 2024. Read more about it: https://vestacp.com/docs/vesta-2-development
VestaCP MultiPHP (Debian/Ubuntu)
Re: VestaCP MultiPHP (Debian/Ubuntu)
hello,
i am installing it on ubuntu 14.04 but i have errors by using this line
and i dont know why i get this error
this is from build.log
i am installing it on ubuntu 14.04 but i have errors by using this line
Code: Select all
root@servisujem:/home/servisujem# sudo phpbrew install 7.1 +default +openssl=shared -- --with-openssl-dir=/usr/include/openssl --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-mysql=mysqlnd --with-mysqli=mysqlnd --enable-pdo --with-pdo-mysql=mysqlnd --enable-exif --with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr --with-zlib-dir=/usr --with-mcrypt=/usr --with-mhash --with-xsl=/usr --enable-zip --enable-cgi --with-curl --with-gd --enable-pcntl --enable-mbregex --enable-gd-native-ttf --with-libdir=lib64 --enable-dba=shared --enable-intl --with-readline=/usr --enable-simplexml \--enable-soap --enable-zip --with-mhash=yes --enable-shmop --enable-sockets --enable-wddx --enable-calendar --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-bcmath --with-bz2 --enable-ctype --with-cdb --with-iconv --enable-exif --enable-ftp --with-gettext --with-pic
*WARNING* You're runing phpbrew as root/sudo. Unless you're going to install
system-wide phpbrew or this might cause problems.
Downloading https://secure.php.net/releases/index.php?json&version=7&max=100 via php stream
Downloading https://secure.php.net/releases/index.php?json&version=5&max=100 via php stream
===> phpbrew will now build 7.1.9
===> Loading and resolving variants...
Downloading http://www.php.net/get/php-7.1.9.tar.bz2/from/this/mirror via php stream
===> Extracting /root/.phpbrew/distfiles/php-7.1.9.tar.bz2 to /root/.phpbrew/build/tmp.1506513268/php-7.1.9
===> Moving /root/.phpbrew/build/tmp.1506513268/php-7.1.9 to /root/.phpbrew/build/php-7.1.9
===> Checking patches...
Checking patch for replace apache php module name with custom version name
===> Configuring 7.1.9...
Use tail command to see what's going on:
$ tail -F /root/.phpbrew/build/php-7.1.9/build.log
Error: Configure failed:
The last 5 lines in the log file:
checking for gettimeofday... (cached) yes
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2 installation.
Please checkout the build log file for more details:
tail /root/.phpbrew/build/php-7.1.9/build.log
this is from build.log
Code: Select all
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtoll... yes
checking for atoll... yes
checking for strftime... (cached) yes
checking for gettimeofday... (cached) yes
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2 installation.
Re: VestaCP MultiPHP (Debian/Ubuntu)
Please check your log, the error above says all about it :).configure: error: xml2-config not found. Please check your libxml2 installation.
Try to install, and then rerun the command: apt-get install libxml2-dev libxml2
Re: VestaCP MultiPHP (Debian/Ubuntu)
Hello,
i tryed apt get install libxml2-dev libxml2 and i get this
From the tail /root/.phpbrew/build/php-7.1.9/build.log i have
When i reading this steps https://git.scit.ch/rs/VestaCP-MultiPHP ... /README.md i get error in this statements ouput is
What i am doing wrong ?
i tryed apt get install libxml2-dev libxml2 and i get this
Code: Select all
Reading package lists... Done
Building dependency tree
Reading state information... Done
libxml2 is already the newest version.
libxml2-dev is already the newest version.
The following packages were automatically installed and are no longer required:
libapache2-mod-php7.1 linux-headers-4.4.0-93 linux-headers-4.4.0-93-generic
php5-sqlite
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 23 not upgraded.
Code: Select all
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtoll... yes
checking for atoll... yes
checking for strftime... (cached) yes
checking for gettimeofday... (cached) yes
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2 installation.
Code: Select all
apt-get install build-essential libssl-dev libxml2-dev pkg-config libssl-dev libsslcommon2-dev libbz2-dev libcurl4-openssl-dev libmysqlclient-dev libgdbm-dev libjpeg62 libjpeg62-dev libpng12-0 libpng12-dev libxml2 libxml2-dev libmcrypt4 libmcrypt-dev libmhash2 libmhash-dev libmm-dev libmm14 libtidy-dev libtidy-0.99-0 libxslt1-dev libxslt1.1 libfreetype6 libfreetype6-dev libicu-dev libreadline-dev
Code: Select all
Reading package lists... Done
Building dependency tree
Reading state information... Done
libmcrypt4 is already the newest version.
libmcrypt4 set to manually installed.
libfreetype6 is already the newest version.
libfreetype6 set to manually installed.
libpng12-0 is already the newest version.
libxml2 is already the newest version.
libxml2-dev is already the newest version.
libxslt1.1 is already the newest version.
libxslt1.1 set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libtidy-dev : Breaks: libtidy-0.99-0 but 20091223cvs-1.2ubuntu1.1 is to be installed
E: Unable to correct problems, you have held broken packages.
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: VestaCP MultiPHP (Debian/Ubuntu)
force apt to install dependant software
Code: Select all
apt-get install -f
Re: VestaCP MultiPHP (Debian/Ubuntu)
hello,
i still cannot properly install this multi php
on this code
i get error
build log
i am using ubuntu 14.04 and php 5.5.9 , i tried this
and than
Thank you for help
i still cannot properly install this multi php
on this code
Code: Select all
phpbrew install 7.1 +default +openssl=shared -- --with-openssl-dir=/usr/include/openssl --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-mysql=mysqlnd --with-mysqli=mysqlnd --enable-pdo --with-pdo-mysql=mysqlnd --enable-exif --with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr --with-zlib-dir=/usr --with-mcrypt=/usr --with-mhash --with-xsl=/usr --enable-zip --enable-cgi --with-curl --with-gd --enable-pcntl --enable-mbregex --enable-gd-native-ttf --with-libdir=lib64 --enable-dba=shared --enable-intl --with-readline=/usr --enable-simplexml \--enable-soap --enable-zip --with-mhash=yes --enable-shmop --enable-sockets --enable-wddx --enable-calendar --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-bcmath --with-bz2 --enable-ctype --with-cdb --with-iconv --enable-exif --enable-ftp --with-gettext --with-pic
Code: Select all
===> phpbrew will now build 7.2.0
===> Loading and resolving variants...
Downloading http://www.php.net/get/php-7.2.0.tar.bz2/from/this/mirror via php stream
===> Extracting /usr/local/php/distfiles/php-7.2.0.tar.bz2 to /usr/local/php/build/tmp.1512464541/php-7.2.0
===> Moving /usr/local/php/build/tmp.1512464541/php-7.2.0 to /usr/local/php/build/php-7.2.0
===> Checking patches...
Checking patch for replace apache php module name with custom version name
===> Configuring 7.2.0...
Use tail command to see what's going on:
$ tail -F /usr/local/php/build/php-7.2.0/build.log
Error: Configure failed:
The last 5 lines in the log file:
checking for Kerberos support... no
checking whether to use system default cipher list instead of hardcoded value... no
checking for RAND_egd... no
checking for pkg-config... no
configure: error: Cannot find OpenSSL's <evp.h>
Please checkout the build log file for more details:
tail /usr/local/php/build/php-7.2.0/build.log
Code: Select all
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... yes
checking for OpenSSL support... yes, shared
checking for Kerberos support... no
checking whether to use system default cipher list instead of hardcoded value... no
checking for DSA_get_default_method in -lssl... no
checking for X509_free in -lcrypto... yes
checking for RAND_egd... no
checking for pkg-config... no
configure: error: Cannot find OpenSSL's libraries
Code: Select all
cd /usr/src
wget https://www.openssl.org/source/openssl-0.9.8zb.tar.gz
tar xfvz openssl-0.9.8zb.tar.gz
cd openssl-0.9.8zb
mkdir /usr/local/sslold
./config --prefix=/usr/local --openssldir=/usr/local/sslold
make
make install
Code: Select all
phpbrew install 7.1 +default +openssl=shared -- --with-openssl-dir=/usr/local/sslold --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-mysql=mysqlnd --with-mysqli=mysqlnd --enable-pdo --with-pdo-mysql=mysqlnd --enable-exif --with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr --with-zlib-dir=/usr --with-mcrypt=/usr --with-mhash --with-xsl=/usr --enable-zip --enable-cgi --with-curl --with-gd --enable-pcntl --enable-mbregex --enable-gd-native-ttf --with-libdir=lib64 --enable-dba=shared --enable-intl --with-readline=/usr --enable-simplexml \--enable-soap --enable-zip --with-mhash=yes --enable-shmop --enable-sockets --enable-wddx --enable-calendar --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-bcmath --with-bz2 --enable-ctype --with-cdb --with-iconv --enable-exif --enable-ftp --with-gettext --with-pic
Thank you for help
Last edited by petkoo12 on Tue Dec 05, 2017 9:27 am, edited 1 time in total.
Re: VestaCP MultiPHP (Debian/Ubuntu)
Please use a bit google knowledge and check your installed dependencies: https://serverfault.com/questions/41545 ... ssls-evp-h
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: VestaCP MultiPHP (Debian/Ubuntu)
you are using phpbrew to install ? Why on earth ?
Re: VestaCP MultiPHP (Debian/Ubuntu)
because it is used by my documentation. Had troubles with compiling php manualy on the systems, phpbrew worked well.mehargags wrote:you are using phpbrew to install ? Why on earth ?
Re: VestaCP MultiPHP (Debian/Ubuntu)
This post is not related with this script.
I just want to inform people that I made a tutorial for PHP-switcher for Debian9.
viewtopic.php?f=41&t=17129
I just want to inform people that I made a tutorial for PHP-switcher for Debian9.
viewtopic.php?f=41&t=17129
-
- Posts: 74
- Joined: Wed Nov 18, 2015 12:16 am
Re: VestaCP MultiPHP (Debian/Ubuntu)
Help me please.
OS: Ubuntu 16.04
OpenSSL 1.0.2g 1 Mar 2016
Command:
Error:
OS: Ubuntu 16.04
OpenSSL 1.0.2g 1 Mar 2016
Command:
Code: Select all
phpbrew install 7.3 +default +openssl=/usr/local/sslnew -- --with-openssl-dir=/usr/local/sslnew --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-mysql=mysqlnd --with-mysqli=mysqlnd --enable-pdo --with-pdo-mysql=mysqlnd --enable-exif --with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr --with-zlib-dir=/usr --with-mcrypt=/usr --with-mhash --with-xsl=/usr --enable-zip --enable-cgi --with-curl --with-gd --enable-pcntl --enable-mbregex --enable-gd-native-ttf --with-libdir=lib64 --enable-dba=shared --enable-intl --with-readline=/usr --enable-simplexml \--enable-soap --enable-zip --with-mhash=yes --enable-shmop --enable-sockets --enable-wddx --enable-calendar --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-bcmath --with-bz2 --enable-ctype --with-cdb --with-iconv --enable-exif --enable-ftp --with-gettext --with-pic
Code: Select all
*WARNING* You're runing phpbrew as root/sudo. Unless you're going to install
system-wide phpbrew or this might cause problems.
===> phpbrew will now build 7.3.2
===> Loading and resolving variants...
Checking distribution checksum...
Checksum matched: 946f50dacbd2f61e643bb737021cbe8b1816e780ee7ad3e0cd999a1892ab0add
===> Distribution file was successfully extracted, skipping...
===> Checking patches...
Checking patch for replace apache php module name with custom version name
Found existing build.log, renaming it to /root/.phpbrew/build/php-7.3.2/build.log.1551257346
===> Configuring 7.3.2...
Use tail command to see what's going on:
$ tail -F /root/.phpbrew/build/php-7.3.2/build.log
Error: Configure failed:
The last 5 lines in the log file:
checking for Kerberos support... no
checking whether to use system default cipher list instead of hardcoded value... no
checking for RAND_egd... no
checking for pkg-config... /usr/bin/pkg-config
configure: error: Cannot find OpenSSL's <evp.h>
Please checkout the build log file for more details:
tail /root/.phpbrew/build/php-7.3.2/build.log