How to upgrade php on server running Plesk Virtuozzo? - php

How on earth does plesk actually work? I have a VPS which is on centos 5.2 and has php 5.1.6. I have updated plesk to version 9.52 and it claimed to do some form of php update but it hasn't as far as i can see. How can i update to php 5.2 (centos 5.4) without breaking plesk Virtuozzo?!
Plesk seems to be some kind of crazy black magic that i just don't understand.

Plesk uses whatever version of PHP is currently installed on the server.
You can update PHP to version 5.2 or higher from the IUS repository, but because Plesk looks in the RPM database specifically for the package "php" and not "php52" it will show that PHP is not installed, and PHP will break. I've gotten around this by compiling a dummy php package, with nothing in it, just called "php" so that Plesk won't disable PHP functionality, but that's not the best way to go.

Related

How to install Debian 7 and PP5 in 2020?

I have an old installation of TYPO3 (6.4) and I want to move it to another supplier. I can export everything but I cannot install a working server that can run the applications from the old website.
I am sure it has something to do with PHP and my solution I think would be to install PHP 5.4.4 on either Debian 7 or a newer Debian distribtion.
Can anyone help me out? Thank you :)
There never was a TYPO3 version 6.4. maybe 6.0.4 or 6.2.4 ?
you can try to install a virtual maschine with an old linux image with that old PHP version.
But that should be only local and only for viewing the old site.
In general you don't need a working server as all neccessary data is in the database (and filesystem).
Install a TYPO3 verion 7 (also outdated, but runs on PHP 7.2) as an intermediate step and insert a copy of the old database and the filesystem (fileadmin/*). Then run upgrade wizard (do an upgrade for all extensions as possible)
Repeat for TYPO3 versions 8, 9 until your database is converted to latest version and matching extensions.
Meanwhile you probably need to change the rendering as the old installation was probably based on CSC (css_styled_content) while there is FSC (fluid_styled_content) which resuls in other HTML markup and other CSS.
Or was it even a 4.6?
Then you need a prior step with TYPO3 6.2 to convert all file references to FAL. therefore you need an old PHP 5.6 to execute the upgrade wizards. (stay with a local virtual machine)

PHP 5.2.17 deb repo

So I have this really old website that will only work on 5.2.x and the cost of migration to 7.x is just ridiculous for us as a company.
I have tried getting 5.2.17 to work alongside 7.x on the Ubuntu Server 16.04 but because it was a source based install, I’m struggling in getting modules to work on the 5.2.x enabled website. It come to a point where it would be just easier to install a separate very old Linux distro and just run it off of it with 5.2 onboard installed and configured from a repo.
So my question is, does anyone would be able to help with acquiring 5.2.17 Debian repository? The website is used internally only and just so we can have access to the database that’s behind it.
Thanks!

SUITE CRM 7.5.3 - Installation on Windows 7 / Apache 2.x / PHP 7/MYSQL5.6 hangs after Database Configuration

I am installing SuiteCRM 7.1 on
Windows 7
Apache 2.4
PHP 7.0.4
MySQL 5.6
I am following step by step instructions from suitecrm.com/wiki/index.php/Installation...allation_of_SuiteCRM
This is a local installation and I am not going to send emails. I am going to evaluate whether this is good enough for client's requirements. Based on my findings, I will recommend it to them.
I have tested APACHE, PHP and MYSQL connectivity and all of them work fine.
The installation goes from System Requirements to Database Confiuration & Site Configuration and after filling out all the data there, when I click on NEXT, I see some 25+ messages like this
"Deprecated: Methods with the same name as their class will not be
constructors in a future version of PHP; SugarView has a deprecated
constructor in
C:\Users\Hornigold\MyWebSite\MyCRM\include\MVC\View\SugarView.php on
line 44 ?"
And when I click NEXT here, nothing happens..... What do I do.
Installing SuiteCRM 7.1 requires PHP version 5 not version 7. There is some active development in the latest version to support PHP version 7. However it is not ready for production purposes.
An alternative method to installing SuiteCRM on a windows desktop machine is via the bitnami installer.
https://bitnami.com/stack/suitecrm/installer

plesk when upgrading php, will this break everything?

I'm running a VPS with centOS, plesk 12 and PHP5.3. I'm looking to upgrade to a more recent version of php but without taking down all my sites running on that server.
I've tried through the plesk GUI and got to this point which is ambiguous to what it will do. Is this the way to do it or will it delete my version of php 5 and replace it with something unknown?
Thanks for your help
Make sure that you have CentOS6 or 7 and latest Plesk microupdates installed. After that you will be able to safely use Multiple PHP feature in Plesk - http://kb.odin.com/125146

How to downgrade PHP version from 5.3 to 5.2 in Ubuntu 12.04?

I have freshly installed Ubuntu 12.04 and I have installed PHP as well. By default, it is installed with version 5.3.10 but my PHP project doesn't support PHP v5.3.10.
I want to downgrade PHP version to 5.2. How can I do it?
You would have to uninstall PHP and then reinstall an older version. However if your working on a project that your going to sell, or give to clients, or whatever the case my suggestion would be take out any functionality thats actually breaking between 5.2x and 5.3x and replace it with its new counter parts, as most people will not want to revert to older versions of PHP for any needs, and generally speaking php versions only goin in one direction, if you block yourself into 5.2 and your making software in one shape or another for people, what are you going to do next year when all the servers come stock with PHP 6? Not to mention a lot of hosted solutions try to provide the latest and greatest on there new machines, and will not revert for a single client especially on a shared hosting environment.
Anyway yea, back to your question again in your terminal under Ubuntu, you can try the following. sudo apt-get purge php5 which will then prompt you for a password, then proceed with removing PHP assuming you have the PHP package standalone and not bundled in with some preconfigured LAMP stack, but then again it should still work generally speaking so long as the version is right.
As for reinstalling it, remove purge from the command and use install. However you will need to look up the means of getting an archived version installed of PHP as apt-get will get you the latest

Categories