
Romanian: 
Unele riscuri în ceea ce privește efectuarea unei operațiuni de genul acesta, vor exista, dar
de fiecare dată vei putea alege calea cea mai sigură.
Deci, haideți să vedem cum se instalează în siguranță o versiune avansată PHP pentru WordPress, în cazul acesta PHP 7
Salvarea unei copii de siguranță ce conție toate fișierele siteului Dvs. este ecva ce faceți în mod regulat.
Chiar și așa, ar fi indicat să salvați chiar acum fișierele și baza de date pentru a avea la dispoziție toate modificările la zi.
Veți folosi aceste copii de rezervă pentru a testa
fiecare element de conținut cu versiunea PHP 7 fără a cauza stricăciuni pe siteul live.
De data aceasta vom folosi plugin-ul UpdraftPlus, fiind unul din cele mai simple
soluții de ”backup” pe care le putem utiliza.
Așadar, instalați și activați plugin-ul, apoi mergeți la Setări, apoi click pe ”UpdraftPlus Backups”.
Aici, faceți click pe butonul ”Backup Now” apoi bifați ambele opțiuni pentru a include baza de date
și fișierele în copia de rezervă.
Lăsați plugin-ul să-și facă liniștit treaba, timp de câteva minute, sau poate mai mult,

English: 
There’s always some risk involved in an
upgrade like this, but there are also ways
to carry out the process safely.
So, let's see How to safely upgrade WordPress
to PHP 7 and above.
Backing up your site regularly is something
you probably already do.
However, you’ll want to have a backup of
your site that’s as recent as possible.
You’ll be using this backup to create a
copy of your site, where you can test how
everything works with PHP 7 without causing
any damage to your live site.
For this step, we recommend using the UpdraftPlus
plugin, since it’s one of the most straightforward
backup solutions available.
Install and activate it now, and then go to
the Settings → UpdraftPlus Backups tab.
Once you’re in, click on the Backup Now
button, and choose to include both your database
and files in your backup.
Give the plugin a couple of minutes to back
up your site, or possibly more (depending

English: 
on how large your site is).
When it’s done, you’ll find your new backup
files under the Existing Backups tab.
Now, you’ll want to click on the following
four buttons in turn: Database, Plugins, Themes,
and Uploads.
This will give you the option to download
copies of each file to your computer.
When you’re done, you should have four files
containing your entire website.
Now you’re ready for the next step.
There are plenty of ways to create a staging
copy of your site, but we’re partial to
Local by Flywheel because it’s easy to set
up.
Plus, you don’t need to be a Flywheel customer
to get the app.
Just go to the website, fill out a short form,
and download the tool.
After installing Local by Flywheel, you’ll
be able to add new local websites to your

Romanian: 
în funcție de dimensiunea conținutului.
Imediat ce operațiunea va lua sfârșit, veți descoperi fiecare tip de conținut salvat, la secțiunea ”Existing Backups”.
În cele ce urmează, trebuie să facem click pe ”Database”, ”Plugins”, ”Themes”
și ”Uploads”.
Câte o copie specifică fiecărui tip de conținut va fi disponibilă pentru descărcare imediat.
Veți vedea patru fișiere diferite care conțin tot ceea ce șine de site-ul Dvs.
Acum sunteți pregătit pentru a trece la pasul următor.
Există o sumedenie de posibilități pentru a pune în scenă o copie a site-ului Dvs, dar de data aceasta
vom folosi ”Local by Flywheel” fiincă este extrem de ușor de instalat.
În plus, nu veți fi nevoiți să cumpărați Flywheel ca să puteți folosi această aplicație.
Accesați website-ul lor, completați rapid un formular și descărcați aplicația.
După instalare, Local by Flywheel vă permite să adăugați un site local (vizibil doar pe computerul Dvs.)

English: 
roster by clicking on the plus sign in the
lower left-hand corner of the application.
Do so now, and you’ll be prompted to choose
a name and an environment for your staging site.
When you get to the environment part, select
the Custom option.
This will give you the choice of using PHP
7 for your staging website instead of 5.
Make sure you choose the right version and
then create an admin name and password for your site.
After that, sit back while the app sets everything
up.
Once your new staging website is ready, look
for it under the list of local sites on Local
by Flywheel’s main screen.
Then click on the Admin button that will show
up next to its description, to access your dashboard.

Romanian: 
în lista, prin apăsarea pictogramei din stânga jos a imaginii.
 
 
 
 
 
 
 
 

English: 
The first thing you’ll want to do here is
to install the UpdraftPlus plugin once more.
When it’s running on your staging site,
return to the Settings → UpdraftPlus Backups
tab and look for the option that reads Upload
backup files.
Now, drop the four backup files you downloaded
earlier into the designated area.
When the upload is complete, you’ll see
your backup appear on the list.
Click the Restore button next to it, and you’re
in business.
What you’ve just done is created a staging
website that’s a perfect copy of your original
site in every way, except for the fact that
this one is running PHP 7.
Now comes the part where you look for errors
on your staging site.
What you’re looking for and what issues
you might find will vary widely depending
on your unique setup.

Romanian: 
 
 
 
 
 
 
 
 
 
 
 

English: 
However, here’s how I recommend you to go about conducting your test:
Make your way through every page on your website, looking for any elements
that have suddenly stopped working.
Check to see if your plugins are behaving
as they should, one by one.
Test any features that your active theme includes, to ensure that they’re still functioning.
This might take a little time, depending on
how large your website is.
If you run into any broken plugins or themes, it’s worth looking for replacements,
since PHP 7’s benefits are well worth making afew changes.
If you didn’t find any errors on your staging website, all that’s left is to
upgrade your live site to PHP 7.
Then you can start enjoying the improvements
PHP 7 provides!

Romanian: 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

English: 
PHP 7 has been around for a while now, yet adoption rates are nowhere near where they should be.
This new version offers a marked increase in performance, and most reputable web hosts
will give you the option to upgrade WordPress to PHP 7.
If yours doesn’t, then it’s probably time
to choose a new WordPress host.

Romanian: 
 
 
 
 
