Sida loo cusboonaysiiyo PHP gudaha WordPress
WordPress waxaa lagu dhisay agagaarka luqadda qoraalka ee PHP , marka aad ayey muhiim u tahay in nooc cusub oo casri ah lagu rakibo server-kaaga shabakadda. Way fududahay in la cusbooneysiiyo WordPress(keep WordPress up-to-date) lafteeda, laakiin tignoolajiyada asaasiga ah (sida PHP ) mar walba kuma eka nooca WordPress ee lagu rakibay.
Tani waxay si gaar ah run ugu tahay server-yada DIY ee aad adigu samaysay. (DIY)Haddii aan la cusboonaysiin server-ka martigelinaya goobtaada, PHP uma badna in uu midkood noqdo, kaas oo ka tagi kara goobtaada faa'iidooyin ama astaamo jaban. Taasi waxay la macno tahay inaad u baahan tahay inaad cusboonaysiiso PHP si ay arrimuhu u socdaan—halkan waa sida loo cusbooneysiiyo PHP gudaha WordPress .
Hubi Noocaaga PHP ee Hadda
Waqti ka waqti, nooca ugu yar ee la taageero ee PHP ee ay WordPress taageerto ayaa isbedela. Waxaad ka hubin kartaa nooca ugu yar ee hadda ee bogga WordPress(WordPress website) , laakiin sida daabacaadda, WordPress hadda waxay taageertaa ugu yaraan PHP 7.3 ama ka weyn.
Si kastaba ha ahaatee, dhammaan server-yada shabakadu ma socon doonaan PHP 7.3 ama ka weyn, si kastaba ha ahaatee. Noocyadii hore ee PHP waxay wali la shaqayn doonaan WordPress , laakiin waxay keeni kartaa mawduucyo cusub, plugins, iyo astaamo si ay u jabaan.
Si aad u hubiso in aad wado nooca saxda ah ee PHP , waxa aad hubin kartaa rakibaadda WordPress ee hadda adiga oo isticmaalaya liiska (WordPress)Caafimaadka Site(Site Health) ee WordPress 5.2 iyo ka dib.
- Si tan loo sameeyo, gal boggaaga maamulka WordPress . Waxaad u baahan doontaa inaad lahaato akoon isticmaale oo leh doorka maamulaha ee(Administrator) la dabaqay. Markaad soo gasho, taabo Tools > Site Health ka menu-ka.
- Haddii nooca PHP-gaga WordPress(WordPress PHP) -gaagu uu waqtigiisii dhacay, tan waxa loo qori doonaa tallo ahaan tabka Xaaladda .(Status)
- Si aad u hubiso nooca PHP ee hadda , taabo Macluumaadka(Info ) > Server -ka oo hubi nooca ku hoos qoran qaybta PHP Version .
Waxa kale oo aad ku hubin kartaa nooca PHP -gaaga adigoo isticmaalaya plugins-yada dhinac saddexaad sida PHP Compatibility Checker . Haddii nooca PHP -gaagu uu waqtigiisu dhammaaday, waxaad u baahan doontaa inaad u guurto si aad u cusboonaysiiso sida ugu dhakhsaha badan.
Dib u celi goobtaada oo u diyaari si aad u cusboonaysiiso(Backup Your Site & Prepare To Upgrade)
Cusbooneysiinta qayb muhiim ah sida PHP waxay jebin kartaa goobtaada. Kahor intaadan ku degdegin inaad cusbooneysiiso PHP gudaha WordPress , waxa ugu fiican ee la sameeyo waa kaydinta boggaaga WordPress(backup your WordPress site) oo u diyaargarow inaad cusboonaysiiso marka hore.
Waa inaad ku bilowdaa inaad nuqul ka sameysato xogtaada MySQL(copy of your MySQL database) oo aad nuqullo jireed ka sameyso faylasha WordPress . Qaar badan oo ka mid ah bixiyeyaasha martigelinta WordPress ayaa bixin doona adeegyo kayd ah oo ku dhex jira oo aad ka faa'iidaysan karto, markaa hubso inaad ka hubiso martigeliyahaaga shabakada haddii ay taasi tahay.
Adeegayaasha DIY , adiga ayay kugu saaran tahay—waxaad u baahan doontaa inaad gacanta ku soo celiso. Haddii aad ka baqeyso inaad garaacdo terminalka, isticmaal plugin sida UpdraftPlus si aad si toos ah u sameyso kaydinta joogtada ah ee rakibaada WordPress . UpdraftPlus waxay kaydin kartaa kaydkaaga kaydkaaga seerfarkaaga, iyadoo ka faa'iidaysanaysa adeegyada kaydinta daruuraha sida Google ama Microsoft Azure .
Haddii boggaga WordPress uu yahay mid la xoojiyay, markaa waxaad diyaar u tahay inaad kacdo oo aad bilowdo cusboonaysiinta PHP gudaha WordPress .
Beddelka Noocyada PHP ee WordPress Isticmaalka cPanel(Switching PHP Versions In WordPress Using cPanel)
Qaar badan oo ka mid ah adeegyada martigelinta webka ayaa isticmaala nidaamka kontoroolka martigelinta ee cPanel webka si ay kuugu oggolaadaan inaad maamusho oo aad isbeddel ku sameyso martigelinta shabakadaada. Martigelinta la wadaago, halkaas oo aad la wadaagto bartaada mareegaha isticmaaleyaasha kale, waxaa laga yaabaa inaadan awoodin inaad ku cusboonaysiiso PHP gudaha WordPress , laakiin waxaa laga yaabaa inaad u beddesho nooc cusub haddii la heli karo.
Haddii aysan taasi ahayn, si toos ah ula hadal adeeg bixiyahaaga wax ku saabsan cusboonaysiinta PHP oo ah nooca ugu dambeeyay. Haddii ay sidaas tahay, cPanel waxa ay u ogolaataa hab deg-deg ah oo sahlan oo loogu beddelo noocyada cusub ee software server-ka muhiimka ah sida PHP .
Sababtoo ah cPanel waa modular, goobahan way kala duwanaan karaan, taas oo ku xidhan nooca cPanel-kaaga.
- Si aad PHP(PHP) ugu bedesho nooc cusub oo cPanel ah, gal goobta cPanel ee martigelinta shabakadaada. Marka la saxiixo, raadi ikhtiyaarrada cPanel ee lagu magacaabo PHP Selector ama Dooro nooca PHP(Select PHP version) oo riix.
- Qalabka xulashada PHP(PHP Selector) wuxuu kuu ogolaanayaa inaad bedesho nooca PHP ee hadda lagu isticmaalo seerfarkaaga. Ka dooro nooca la mid ah ama ka sarreeya nooca ugu yar ee ay taageerto WordPress (hadda PHP 7.3 ) ka menu-hoosaadka-hoosaadka ee nooca PHP, ka dibna tabo Set (PHP Version)as current(Set as current) si aad u isticmaasho.
Nooca PHP ee ku shaqeeya seerfarkaaga waa inuu isla markiiba beddelaa. Qaybaha kale ee kantaroolka martigeliyaha websaydka ayaa jira waxaana laga yaabaa inay taageeraan shaqeynta la midka ah-haddii aysan sidaas samayn, oo aad si toos ah u geli karto server-kaaga shabakadda, waxaad gacanta ku cusbooneysiin kartaa PHP .
Cusbooneysiinta PHP Gacan ahaan Laga soo bilaabo Terminal ama Xiriirinta SSH(Updating PHP Manually From a Terminal Or SSH Connection)
Doorashadan waxa kaliya oo ay isticmaali karaan isticmaalayaasha taageera boggooda oo dareemaya raaxo isticmaalka terminalka Linux . Inta badan server-yada shabakadu waxay maamulaan Linux , laakiin haddii aad leedahay server-ka Windows IIS , waxaad ku cusbooneysiin kartaa PHP gudaha WordPress adigoo isticmaalaya Web Platform Installer .
Sidaan soo sheegnay, waxaa lama huraan ah inaad haysato kaydka boggaga WordPress ka hor inta aanad bilaabin. Waxa kale oo ay mudan tahay in la tijaabiyo nooca ugu dambeeyay ee PHP ee nooca tijaabada ah ee WordPress oo ku yaal server gaar ah iyo rakibaadda si loo hubiyo in plugins-kaaga, mawduucyada, iyo habaynta guud ee WordPress ay si sax ah ula shaqeyso ka hor inta aanad cusboonaysiin server-kaaga ugu weyn.
- Haddii aad diyaar u tahay inaad cusboonaysiiso, fur terminal server-ka deegaanka ama ku xidh server fog adoo isticmaalaya macmiilka SSH ee (SSH)Windows , Linux , ama macOS. Marka la isku xidho, hubi nooca PHP -gaaga adiga oo ku qoraya php -v oo riixaya enter.
- Ubuntu iyo server-yada ku saleysan Debian, ku qor sudo sudo apt-get install software-properties-common && sudo add-apt-repository ppa:ondrej/php && sudo apt update && sudo apt install phpx.x si loo rakibo PHP, ku badala xx Nooca ugu dambeeyay ee la heli karo ee PHP (tusaale ahaan, php7.4 ).
Tani waxay isticmaali doontaa kayd dhinac saddexaad ah si ay ugu rakibto xirmo PHP ugu dambeeyay, laakiin waxaa laga yaabaa inaad doorbido inaad soo dejiso oo aad tan laftaadu ku rakibto mareegaha PHP(PHP website) . Waxaad mar labaad ordi kartaa php-v ka dib marka aad rakibto si aad u hubiso in rakibiddu lagu guuleystay.
- Nooca ugu dambeeyay ee PHP ayaa lagu rakibi doonaa, laakiin waxaad u baahan doontaa inaad bedesho nooca PHP uu isticmaalo server-kaaga. Haddii aad isticmaalayso Apache , ku qor sudo a2enmod phpx.x (ku beddel xx nooca saxda ah) si aad u bedesho goobaha server- kaaga Apache , ka dib dib u bilaw (Apache)Apache adoo ku qoraya sudo systemctl dib u bilow apache2(sudo systemctl restart apache2) ama adeegga sudo apache2 dib u bilow(sudo service apache2 restart) .
Rakibaadaha aan Apache ahayn, la tasho dukumeentiyada software-ka shabakadaada si aad u cusboonaysiiso nooca PHP ee loo isticmaalo habaynta serverkaaga, iyo sidoo kale inaad ugu rakibto qaybo PHP ah oo dheeri ah nooca PHP kaaga .
Marka PHP la cusboonaysiiyo, dejimaha server-kaaga waa la beddelay si loo isticmaalo nooca cusub, iyo server-kaaga mar kale dib loo bilaabo, goobtaada WordPress ayaa bilaabi doonta isticmaalkeeda.
Ku Haynta Boggaga WordPress Mid Sugan(Keeping Your WordPress Site Secure)
WordPress waa udub dhexaadka malaayiin goobood oo adduunka oo dhan ah, iyo sida maamulayaasha kale ee mareegaha, waxaad u baahan tahay inaad boggaga WordPress ka dhigto mid ammaan ah. Hadda waxaad taqaanaa sida loo cusbooneysiiyo PHP gudaha WordPress , waa inaad socodsiisaa xisaab hubin buuxda - haddii goobtaadu leedahay godadka, waxaa laga yaabaa inaad haysato malware-ka WordPress(WordPress malware) oo aad u baahan doonto inaad ka saarto.
Haddii aad ku cusub tahay WordPress , halkan waxaa ah qaar ka mid ah plugins-yada muhiimka ah ee WordPress si goobtaada kor loogu qaado oo ay dhaqso u socoto. Noo sheeg talooyinkaaga amniga WordPress ee qaybta faallooyinka.
Related posts
Sida loo raro goobta WordPress mid ka mid ah martida loo yahay mid kale
Sida loo rakibo & habaynta WordPress ee Microsoft Azure
Sida si xawli leh loogu socodsiiyo WordPress-ka Microsoft Azure
Sida loo habeeyo Asturnaanta gudaha WordPress iyo sababta ay muhiim u tahay
Sida loo rakibo WordPress on Google Cloud Platform
Isticmaalayaasha ka jiheeya bogga 404 ee WordPress
Abuuritaanka Mawduuca Ilmaha ee WordPress
Sida loo hubiyo in mareegaha laga mamnuucay AdSense
Sida Loo Sameeyo Mareegtaada Twitter-ka La mid ah Adigoo Adeegsanaya Mawduuca P2 ee WordPress
Sida Loo Dardar Geliyo Mareeg Kasta Oo WordPress Ah Isticmaalka .HTACCESS
Sida Loo Badbaadiyo-Password-ka Bogagga Mareegahaaga WordPress
Sida loo isticmaalo WP Super Cache barta WordPress
7 Talooyin WordPress ah oo loogu talagalay Mareegta Saaxiibtinimada Mobilka
Waa inuu lahaadaa WordPress Yoast SEO Settings 2022
Sida Loo Kordhiyo Waxqabadka WordPress iyada oo loo marayo Database nadiif ah
Sida loo dhiso Wix Blog Kaas oo la mid ah WordPress
Sida Loola Socodo Xidhiidhada Go'ay Aaladda Maamulaha Mareegaha Google
8 mawduucyo WordPress ah oo bilaash ah oo lagu rakibo
9 Waa in uu leeyahay Plugins loogu rakibo WordPress Cusub
Sida Loo Bedelo URL Login-kaaga WordPress si loo helo Ammaan Wanaagsan