Probably not. This new phpVMS is based on Laravel which is a whole different framework and set of APIs. But hey…code is code. Someone’s gonna find a way to copy/paste things around and make it work.
so why change to laravel? there’s so much knowledge and so many addons/snippets about the current framework it seems mad to throw all that away.
On all the hosting sites Ive come across you can set your php version to whatever you want, so I’ll probably keep running the old phpvms and I imagine I’m not gonna be the only one..
PHP 5 will stop being supported in the next few months. You can of course keep using the older phpVMS version although I believe that some developers will update their modules accordingly. I personally plan to rewrite most of my modules as soon as the new version is ready for release. Also, it will be easier to develop addons considering that laravel is a framework that a lot know.
It seems that won’t be the case. I asked my provider if they plan to disable any 5.x versions and when, and this is what came back:
Quote
hank you for contacting us.
Various PHP versions come pre-installed with cPanel by default.
We are not planning to disable old PHP versions unless there would be a huge security problem to keep a certain PHP version alive.
If you have additional questions or requests, feel free to contact us.
So it seems there is no pressing reason to move existing architecture to php 7
It seems that won’t be the case. I asked my provider if they plan to disable any 5.x versions and when, and this is what came back:
So it seems there is no pressing reason to move existing architecture to php 7
It’s time to say bye to PHP 5. cPanel is deprecating easyApache 3 this Jan, which include 5.3 and I believe 5.4. There are huge advantages to PHP 7+. If your host is running easyApache 4, you should be able to run/switch between 5.6/7+
I don’t know version numbers but if it’s the one that I updated (the v7 branch in the phpvms_v2 repo), then yes. 5.5.2 makes me think it’s the simpilot version, I’m not sure about that
To be honest, I’m not sure. However, you can install phpcs (PHP code sniffer) and then the compat checker, and run it in the directory of that phpvms copy.
I do not remember getting an error. But I think that I installed and then upgraded to 7.
Looking at the checkinstall.php file I found this.
if ($version[0] == ‘4’ || $version == ‘5.0’ || $version == ‘5.1’) { error(‘Error!’, ‘Must be running at least PHP 5.2’); } else { $version = phpversion(); success(‘OK’, “PHP version is {$version}.x”); }
There maybe some more in the install files that are stopping the install. Try removing this or setup on a php5 and then moving to php7
In order to force an install on 7.0, editing checkinstall.php did nothing. Instead, you can just remove the following lines from install/includes/‘Installer.class.php’:
Warning: mysqli::\_\_construct(): (HY000/2002): No such file or directory in /data/7/0/70/127/396779/user/403816/htdocs/phpvms/core/classes/ezdb/ezdb\_mysqli.class.php on line 101 Fatal error: Uncaught \<blockquote\>\<font face=arial size=2 color=000099\>\<b\>Last Error --\</b\> [\<font color=000000\>\<b\>No such file or directory (2002)\</b\>\</font\>]\<br /\>[\<font color=000000\>\<b\>\</b\>\</font\>]\</font\>\<p\> \</blockquote\>\<hr noshade color=dddddd size=1\> thrown in /data/7/0/70/127/396779/user/403816/htdocs/phpvms/core/classes/ezdb/ezdb\_mysqli.class.php on line 106
Line 106 is
throw new ezDB\_Error(mysqli\_connect\_error(), mysqli\_connect\_errno());