Page MenuHomeDevCentral

Deploy a PHP 5 legacy pool on Ysul
Closed, ResolvedPublic

Description

The Espace Win archive code base is big, heterogeneous and very old.

It mixes code from PHP 3, 4, 5, and we'll add PHP 7 code with Keruald database MySQLi.

PHP 3 means:

  • array keys often used strings without '', like in Perl

PHP 4 means:

  • a signature allowing calls by reference must prefix with & the argument (now syntax error)
  • classes have their name as constructor (now warning)

The codebase is polluted by 3rd party vendor deps like CodeIgniter (for a small test app), Dojo (with a LOT of PHP samples), FCKEditor (same issue).

So, there are cleanup tasks needed before run a static analyser tool to search PHP 7 issues.

And that means the easiest solution is to serve the archive from PHP 5.

Related Objects

StatusSubtypeAssignedTask
OpenNone
Resolveddereckson

Event Timeline

dereckson triaged this task as High priority.Oct 15 2018, 21:53
dereckson created this task.

Docker compilation for nginx-php-fpm Docker image

Configure Command =>  './configure'  '--with-config-file-path=/usr/local/etc/php' '--with-config-file-scan-dir=/usr/local/etc/php/conf.d' '--enable-fpm' '--with-fpm-user=app' '--with-fpm-group=app' '--disable-cgi' '--enable-mysqlnd' '--enable-bcmath' '--with-bz2' '--enable-calendar' '--with-curl' '--with-gd' '--with-jpeg-dir' '--enable-gd-native-ttf' '--enable-mbstring' '--with-mcrypt' '--with-mysqli' '--with-pdo-mysql' '--enable-pcntl' '--with-openssl' '--with-xsl' '--with-readline' '--with-zlib' '--enable-zip'

Known extensions for Espace Win

  • ftp
  • soap
  • sockets