• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question ubuntu 18.04 php 5.3

demetri

New Pleskian
i need old php version in new plesk panel


There is an installation for php 5.6 version here, but I could not find an installation for php 5.3, do we have a setup option as 5.3 mod_php?

Thank you for your help
 
php5.3 is a bitch to compile on Ubuntu 18.04, due to SSL incompatibilities.
requires manual patching of source files and even then it's a pita to do, at least it you need modules like curl or imap that require SSL support.

we have php5.3 packages built and running for Debian9 servers, but with Debian10 we were no longer successful in compiling a fully fledged php5.3 with all the modules we want...so we dropped support here completely
 
When I try to install and install by replacing 5.6.40 with 5.3.29, the configure script gives an error.

configure: warning: build_alias = x86_64-linux-gnu: invalid host type
configure: warning: host_alias = x86_64-linux-gnu: invalid host type
configure: error: can only be configured for one host and one destination at a time
What is your OS on server? Is it a 32-bit version?
 
Use the following string for configure:

Code:
./configure --prefix=/opt/plesk/php/5.3.29 --bindir=/opt/plesk/php/5.3.29/bin --sbindir=/opt/plesk/php/5.3.29/sbin --libexecdir=/opt/plesk/php/5.3.29/lib --datadir=/opt/plesk/php/5.3.29/share --sysconfdir=/opt/plesk/php/5.3.29/etc --sharedstatedir=/opt/plesk/php/5.3.29/com --localstatedir=/opt/plesk/php/5.3.29/var --libdir=/opt/plesk/php/5.3.29/lib/x86_64-linux-gnu --includedir=/opt/plesk/php/5.3.29/include --infodir=/opt/plesk/php/5.3.29/share/info --mandir=/opt/plesk/php/5.3.29/share/man --build=x86_64-linux-gnu --host=x86_64-linux-gnu --with-libdir=lib --cache-file=../config.cache --with-config-file-path=/opt/plesk/php/5.3.29/etc --with-config-file-scan-dir=/opt/plesk/php/5.3.29/etc/php.d --disable-debug --without-pear --with-pic --disable-rpath --with-bz2 --with-freetype-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr --enable-gd-native-ttf --without-gdbm --with-gettext --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-zlib --with-layout=GNU --enable-exif --enable-ftp --enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg --with-kerberos --enable-calendar --with-libxml-dir=/usr --enable-xml --enable-phpdbg --with-enchant=shared,/usr --with-litespeed --enable-pcntl --with-imap=shared --with-imap-ssl --enable-mbstring=shared --enable-mbregex --with-gd=shared --enable-bcmath=shared --enable-dba=shared --with-xmlrpc=shared --enable-mysqlnd=shared --with-mysql=shared,mysqlnd --with-mysqli=shared,mysqlnd --with-mysql-sock=/var/run/mysqld/mysqld.sock --enable-dom=shared --enable-soap=shared --with-xsl=shared,/usr --enable-xmlreader=shared --enable-xmlwriter=shared --with-curl=shared,/usr --enable-pdo=shared --with-pdo-odbc=shared,unixODBC,/usr --with-pdo-mysql=shared,mysqlnd --with-pdo-sqlite=shared,/usr --with-sqlite3=shared --enable-json=shared --enable-zip=shared --without-readline --with-libedit --enable-phar=shared --with-mcrypt=shared,/usr --with-tidy=shared,/usr --with-unixODBC=shared,/usr --enable-fileinfo=shared --enable-intl=shared --with-icu-dir=/usr --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared --enable-posix=shared
 
Back
Top