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!
Related
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)
In status quo, I have running aws ec2with ubuntu version 14.04
I'm going to update version to 16.04 and I recognize that sudo do-release-upgrade will help me to do that.
The reason for the ubuntu update, is to upgrade php5 to php7 and to lessen deprecated gems
However, my worries are that, 14.04 to 16.04 brings some significant changes, for example upstart to systemd, and since I have set many configurations related to nginx I want to know some possible changes, or failures following such update.
Also I want to know whether php7.0 perfectly substitute php5 legacies.
Currently php is only used for wrapping c coded 3rd parties, and using limitedly with php5-cli, php5-mcrypt. Are these replacable by version 7?
Please share some experiences.
I cannot give you any specifics, but would recommend to use the beauty of the cloud: create an AMI snapshot of your instance and start in beside your original. Update ubuntu on the copy and see what you get.
We are running on php 5.4.44 with CentOS 6.7
I was reading some comments found here:
https://www.reddit.com/r/PHP/comments/2w7xok/does_anyone_know_where_i_can_find_a_chef_cookbook/
How could I go about installing php 5.6 on CentOS 6.7 using chef? I have not gotten into chef that much so I'm a bit lost, but I know php 5.4 will be reaching its end of life Or would it be recommended that we change to CentOS 7? I've been trying to research but I really can't find something.
I also read this:
Upgrading PHP on CentOS 6.5 (Final)
Is there any more information I have to post? Or am I asking the wrong question please let me know.
You need to do a few things:
Find a repo containing the PHP version you want, such as the IUS repos
Using Chef, add that repo to your server
Using Chef, set node['php']['packages'] to be the package names that are appropriate for that repo
Then call the chef php cookbook like usual
For example, when I do the steps above, to get to php55 from the default, I do:
default['php']['packages'] = %w(
php55u
php55u-devel
php55u-mcrypt
php55u-mbstring
php55u-gd
php55u-pear
php55u-pecl-memcache
php55u-gmp
php55u-mysqlnd
php55u-xml )
And then including the upstream/community php recipe. Your biggest challenge will be finding a package repo for PHP 5.6, I'd imagine. It looks like IUS only goes up to php 5.6, but webtatic has it.
You may encounter other issues if PHP 5.6 is extremely different in architecture, but that'll get you pretty far. It looks like upstream's php cookbook can also build from source, but I'd avoid that unless you absolutely need it.
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
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.