Cakephp 2.4 on PHP 7.3 - php-5.6

We have an application built and running on CakePHP V2.4. This is running on PHP V5.6. We would like to get this running on PHP V7.3.
Can you advise on how to do this and your experience with such a change.

Cakephp 2.4 doesn't support PHP 7.
As per Cakephp 2 requirements:
PHP 5.3.0 or greater (CakePHP version 2.6 and below support PHP 5.2.8
and above). CakePHP version 2.8.0 and above support PHP 7. To use PHP
above 7.1 you may need to install mcrypt via PECL. See Security for
more information.
So if you want to use PHP 7 then you have to use Cakephp 2.8 or greater version.
Cakephp -> Installation -> Requirements

You will need to upgrade your application to at least Cake 2.10. I believe that's compatible with PHP 7.2, anyway; not sure about 7.3. Migration guides for the various point releases are here.

Related

How to migrate Primefaces version from 6.2 to 11

Is there any guide on migrating / updating/upgrading PrimeFaces from 6.2 to the latest 11 version?
Without damaging the code of course
I saw the main site of PRIMEFACES, and they say that a version can be uploaded gradually.
I used this site - https://primefaces.github.io/primefaces/10_0_0/#/../migrationguide/migrationguide
But is there a shorter, faster, and safer way to upload a version?
You can directly upgrade the dependency to 11 (note that 12 is the most recent version), but you will still have to follow each migration guide in between.

mysql installation on SUSE 15 Failing with : Problem: nothing provides 'libc.so.6(GLIBC_2.28)(64bit)'

Im trying to install mysql on SUSE 15 Sp2 :
Followed steps from official documentation :
https://dev.mysql.com/doc/mysql-sles-repo-quick-guide/en/
But when i tried to install the mysql getting following error :
Problem: nothing provides 'libc.so.6(GLIBC_2.28)(64bit)' needed by the
to be installed mysql-community-server-8.0.29-1.sl15.x86_64
Solution
1: do not install mysql-community-server-8.0.29-1.sl15.x86_64
Solution 2: break mysql-community-server-8.0.29-1.sl15.x86_64 by
ignoring some of its dependencies
According to the list of platforms that are supported by this version of MySQL, version 15.3 of openSUSE is required. That's probably what's going wrong here: The version of glibc which is provided by the repositories of your openSUSE 15.2 is too old for this MySQL version. If possible, I would recommend you backup your system and then upgrade to 15.3 and then to 15.4, see these instructions. Especially when you intend to do development, it's really wise to first upgrade your OS to the latest version, because only then will you have the latest versions of the technologies you're learning – otherwise, some things you learn will be outdated from day one.

How to fix dart 2 mysql not working and sqlkocky package?

I want to connect mysql database using dart sqljocky package but it's not compatible. dart analysis show error.
Resolving dependencies...
The current Dart SDK version is 2.0.0.
Because dartAuth depends on sqljocky >=0.1.3 which requires SDK version <2.0.0, version solving failed.
Because dartAuth depends on sqljocky >=0.1.3 which requires SDK version <2.0.0, version solving failed.
According to the error, the installed version of the Dart SDK is too new for the sqljocky version required by dartAuth.
You'll either need to downgrade to a pre-2.0.0 version of the Dart SDK or upgrade to a dartAuth version that doesn't require an outdated version of sqljocky (which hasn't been updated in three years).
It's not clear from your post, but it looks to me like you must be using a very old version of dartAuth if it's depending on sqljocky, so moving to a newer version of the former and replacing the latter with something that's actively maintained seem to be reasonable first steps.

OpenShift and Restheart

I have to use Restheart APIs in an OpenShift application.
I tried to execute restheart.jar as suggested in the installation and use guide, but it produced an error, due to the difference between the installed java version (openjdk 7) and the required one (oracle java 8).
Is there any trick to get Restheart APIs working in an OpenShift app?
OpenShift does not support JDK 8 but that doesn’t mean you can’t run Java 8 applications.
You can use a DIY cartridge and install your own JDK version. 

Access error occured in Ruby 1.9 + MySQL

I can't connect mysql db with ruby1.9
OS -> Windows XP SP2
Ruby -> 1.9.1p0
dbi -> 0.4.2
dbd-mysql -> 0.4.3
MySQL API module for Ruby -> 2.7.3
DB(MySQL) -> 5.1.34-community
Because msvcrt-ruby18.dll was not found, I was not able to start this application.
What's wrong
One of the gems is looking for ruby 1.8.x probably the dbi or dbd gem. Try it with ruby 1.8.7
You might also consider the newer Ruby installer built with mingw. A tutorial on installing Ruby 1.9.1 with MySQL is available from The Ruby Installer Tutorials
One of the modules your application depends on was built for Ruby 1.8. The most likely culprit is the MySQL client binding, but it could be some other dependency being imported elsewhere in the code, as well.
Generally speaking, the support for Ruby 1.9 isn't yet all that good across most applications and 3rd-party libraries. Unless you have a very strong reason to use it, you'll probably have better luck sticking with the latest 1.8.X release.