썙뱶봽젅뒪(wordpress)쓽 씠쟾(migration) – 돺吏 븡 怨쇱젙, 臾댁궗엳 留덉튂硫
2019뀈 09썡 04씪뿉 옉꽦맂 룷뒪듃엯땲떎.

釉붾줈洹(蹂닿퀬 엳뒗 씠 釉붾줈洹)瑜 鍮꾩쫰봽由 샇뒪똿뿉꽌 cafe24 濡 씠쟾 셿猷뚰뻽떎. 鍮꾩쫰봽由ш 썝옒 뙆샇뒪똿씠뿀쓣 븣遺꽣 궗슜빐꽌 궡 굹由꾨濡쒕뒗 젙씠 엳뿀뒗뜲, PHP 踰꾩졏쓣 삱젮以 닔 뾾떎怨 븯뿬꽌 뼱姨 닔 뾾씠 씠쟾븯寃 릺뿀떎.

  • 援щ쾭졏 PHP 뿉꽌뒗 떊踰꾩졏 썙뱶봽젅뒪瑜 꽕移섑븷 닔 뾾뿀湲 븣臾몄뿉 븘돺吏留 삷湲곌쾶 릺뿀떎.
  • 臾쇰줎 븘돩蹂대떎뒗 썙뱶봽젅뒪瑜 씠쟾븯뒗 怨쇱젙쓣 寃り퀬 떢吏 븡 留덉쓬씠 뜑 而몃떎.

썙뱶봽젅뒪瑜 씠쟾븯뒗 寃껋뿉뒗 苑 떆媛꾩씠 嫄몃졇쑝硫 留롮 臾몄젣뱾씠 諛쒖깮뻽떎. 썙뱶봽젅뒪瑜 꽕移섑삎쑝濡 궗슜븯硫 씠踰덉뿉뒗 씠쟾쓣 빐蹂대ʼn 뒓猿댁뒗 寃껋, 씠 釉붾줈洹 댋 쎒뿉 뼱뒓젙룄 닔以 씠긽쓽 쎒 愿젴 吏떇쓣 슂援ы븳떎뒗 寃껋씠떎. 엯留쏆뿉 留욊쾶 袁몃몃젮硫 HTML 怨 CSS, 떖吏뼱뒗 옄諛붿뒪겕由쏀듃源뚯룄 옒 씠빐븯뒗 寃껋씠 쑀由ы븯硫, 醫 뜑 굹븘媛硫 PHP 봽濡쒓렇옒諛띿씠굹 媛꾨떒븳 SQL 뒫젰源뚯룄 슂援ы븳떎. 뜑 굹븘媛꽌 떎뼇븳 寃쎌슦뿉 쎒 쟾諛섏뿉 븳 씠빐瑜 슂援ы븯뒗 寃쎌슦媛 긽떦엳 留롫떎. 湲곗뾽뱾뿉寃뚮뒗 솗떎븯怨 鍮좊Ⅸ 醫뗭 댋씠吏留, 怨쇱뿰 씪諛 궗엺뱾뿉寃 醫뗭 釉붾줈洹 댋씤吏뒗 쓽臾몄씠떎.

  • 뼱뵒源뚯굹 “꽕移섑삎” 썙뱶봽젅뒪뿉 븳 깮媛곸씠떎. wordpress.com 뿉꽌 젣怨듯븯뒗 꽌鍮꾩뒪삎쑝濡쒕뒗 궗슜빐蹂댁 紐삵뻽떎.

뼱夷뚭굅굹 吏湲덈꽣쓽 궡슜 썙뱶봽젅뒪(wordpress)쓽 씠쟾(migration)뿉 븳 媛踰쇱슫 留덉쓬쑝濡 젙由ы븳 湲곕줉씠떎.

湲곕낯쟻쑝濡 援ъ꽌踰꾩뿉 엳뒗 뙆씪怨 DB瑜 吏곸젒 諛쏆븘꽌 떊꽌踰꾨줈 삷湲곕뒗 諛⑸쾿쓣 궗슜븯떎.

(1) 援ъ꽌踰꾩뿉꽌 쟾泥 뙆씪쓣 떎슫諛쏆븯뒗뜲 2GB 媛 꽆뿀떎.

뿁? 궃 2GB 瑜 꽆湲몃쭔겮 臾댁뼵媛瑜 留롮씠 뾽濡쒕뱶븳 쟻씠 뾾뿀떎. 븣怨 遊ㅻ뜑땲 썙뱶봽젅뒪뿉꽌 씠誘몄 뙆씪쓣 留덉쓬濡 由ъ궗씠吏뺥븯뿬 옣븯뿬 諛쒖깮븳 臾몄젣떎. DNUI (Delete not used image) 씪뒗 썙뱶봽젅뒪 뵆윭洹몄씤쑝濡 빐寃고뻽떎. 씠 뵆윭洹몄씤 궗슜븯吏 븡뒗 씠誘몄瑜 궘젣빐二쇱뿀떎. 臾쇰줎 씠誘몄瑜 諛깆뾽빐넃怨, 議곗떖빐꽌 궗슜빐빞 븷 벏 븯떎.

  • 理쒓렐뿉 슜웾씠 苑됱감꽌 씠誘 샇뒪똿 鍮꾩슜쓣 뜑二쇨퀬 엳뿀떎. 씠 뵆윭洹몄씤 뜒遺꾩뿉 샇뒪똿 鍮꾩슜룄 젅빟븷 닔 엳寃 릺뿀떎.

(2) 뜲씠꽣踰좎씠뒪(씠븯 DB)쓽 씠쟾 臾몄젣

DB瑜 理쒓퀬 긽쐞 떒怨꾩씤 “뜲씠꽣踰좎씠뒪” 洹 옄泥대 援ъ꽌踰꾩뿉꽌 諛깆뾽뻽뜑땲 떊꽌踰꾨줈 蹂듦뎄媛 릺吏 븡븯떎. 떊꽌踰꾨뒗 “뜲씠꽣踰좎씠뒪” 뒗 깮꽦븷 닔 뾾뒗 援ъ“떎. (留됲엳뿀떎.) 洹몃옒꽌 떎떆 뀒씠釉 떒쐞濡 諛깆뾽븯뿬 떊꽌踰꾨줈 蹂듦뎄븯떎. phpmyadmin 궗슜諛⑸쾿씠 100% 닕吏릺吏 븡 긽솴씠씪 諛쒖깮븳 臾몄젣. 겢由쓣 떒쐞蹂꾨줈 옒 뻽뜑땲 뀒씠釉 떒쐞濡 諛깆뾽씠 옒 릺뿀떎.

(3) 뮮떒(wp-admin) 뿉 젒洹 遺덇 ( HTTP ERROR 500 諛쒖깮 )

wp-admin 씠 젒냽씠 븞릺怨 HTTP ERROR 500 씪뒗 硫붿꽭吏留 굹솕떎. 깉 썙뱶봽젅뒪 뙆씪쓣 엯엳怨, wp_config.php 뙆씪쓣 궘젣뻽떎. 깉 DB뿉 븣留욊쾶 뀑똿쓣 吏꾪뻾븷 닔 엳뿀떎. 洹몃━怨 DB 쓽 wp_option 뀒씠釉붿뿉꽌 궗씠듃 二쇱냼瑜 엫떆濡 諛붽퓭二쇱뿀뜑땲 wp_admin 뿉뒗 젒洹쇱씠 媛뒫빐議뚮떎.

  • 泥섏쓬遺꽣 wp-content 留 諛깆뾽諛쏆븘꽌 蹂듭썝븯硫 릺怨, wp_config.php 뙆씪쓣 궘젣븯硫 렪븯寃 吏꾪뻾븷 닔 엳뒗 씪씠뿀떎.

(4) 븵떒(wp-content) 쟾泥댁뿉 젒洹 遺덇 ( HTTP ERROR 500 諛쒖깮 )

븵 떒 쟾泥(wp-content)뿉 젒洹쇳븷 닔 뾾뿀떎. 씠踰덉뿉룄 HTTP ERROR 500 떎. statpress 뵆윭洹몄씤쓽 臾몄젣떎. statpress 瑜 궘젣븯땲 媛 湲(single.php)濡쒖쓽 젒洹쇱 媛뒫빐議뚮떎.

(5) 븵떒(wp-content)쓽 硫붿씤, 移댄뀒怨좊━(index.php) 뿉 젒洹 遺덇 ( HTTP ERROR 500 諛쒖깮 )

single.php 뒗 젒洹쇱씠 릺뒗뜲 index.php page.php 뿉뒗 뿬쟾엳 HTTP ERROR 500 媛 諛쒖깮뻽떎. 3떆媛꾩쓣 蹂닿퀬 븣븯떎. $sc = & new class_string(); 씪뒗 븳 以, 븘땲 “&” 씪뒗 븳 湲옄 븣臾몄뿉 諛쒖깮뻽뜕 뿉윭떎.

  • 媛앹껜吏뼢쓣 쟾 씠빐븯吏 紐삵븯怨 엳뒗뜲, 궃 솢 PHP 뿉꽌 겢옒뒪瑜 궗슜븳 寃껋씪源? 븘留덈룄 洹몃깷 硫뗭엳뼱 蹂댁씠怨 떢뼱꽌 洹몃옱뿀뜕 寃 媛숇떎. &sc->紐⑤え 씠윴 삎깭뒗 硫뗭땲源… 嫄곌린떎媛 삤옖 삁쟾뿉 泥 쉶궗瑜 떎땲뜕 떆젅, & 湲고샇瑜 꽔쑝硫 뜑슧 鍮좊Ⅴ떎뒗 留먯뿉 & 湲고샇瑜 꽔뒗 뒿愿룄 엳뿀떎. 젃寃 븯硫 硫붾え由щ줈 諛붾줈 젒洹쇳븯뒗 삎깭씪꽌 洹몃윴 寃껋씠뿀뜕 寃 媛숈뜲(?)… 湲곗뼲룄 븞굹怨 씠빐룄 븞맂떎. 븘臾댄듉 씠 뒿愿 삤뒛 굹瑜 3떆媛꾨룞븞 寃⑥슦 180以 吏쒕━ php뙆씪 븯굹뿉 臾띠뼱 넃븯떎. & 留 鍮쇰㈃ 걹- PHP 媛 踰꾩졏뾽빐꽌 궗슜 遺덇뒫 븳 寃껋씤吏, 꽌踰꾩쓽 꽕젙 븣臾몄뿉 궗슜 遺덇뒫 븳 寃껋씤吏뒗 븣 닔 뾾떎. 援녹씠 븣젮怨 끂젰븯吏 븡寃좊떎. 젨옣, 씠긽븯寃 沅곴툑븯湲곕뒗 븯吏留 留먯씠떎.
  • 떎떆 옒 깮媛곹빐蹂대땲 젨뱶뒪뒠뵒삤뿉꽌뒗 -> 瑜 늻瑜대㈃ 씤뀛由ъ꽱뒪 湲곕뒫쑝濡 겢옒뒪 븞쓽 븿닔媛 떎 옄룞쑝濡 굹솕뿀떎. 洹 젏쓣 씠슜븯젮怨 DB 而ㅻ꽖뀡遺꽣 겢옒뒪濡 留뚮뱾뿀뿀떎.諛붾줈 洹몃윴 寃껋씠뿀떎. 吏湲덉 젨뱶瑜 벝留뚰겮 겙 봽濡쒓렇옒諛띿쓣 븷 씪씠 뾾吏留…. 떎떆 깮媛곹빐遊먮룄 PHP 븿닔瑜 븯굹룄 紐⑤Ⅴ뒗 긽솴뿉꽌 젨뱶뒪뒠뵒삤뒗 젙留 留됯컯뻽뿀떎.

(6) 씪遺 씠誘몄媛 源⑥졇꽌 굹솕떎.

씠誘몄 뙆씪紐낆쓣 븳湲濡 빐넃븯뜑땲 諛쒖깮뻽뜕 臾몄젣떎. 援ъ꽌踰꾩쓽 씠誘몄뙆씪씠 씠誘 留쏆씠 媛 뙆씪紐낆씠뿀怨, 嫄붾 떊꽌踰꾨줈 씠룞떆耳곕뜑땲 留쏆씠 媛붾떎. 떊꽌踰꾩뿉 씠誘 삷寃⑤넃 /wordpress/wp-content/uploads/ 뵒젆넗由щ 떎떆 셿쟾엳 궘젣븯怨, 뙆씪吏덈씪瑜 넻빐 UTF-8 濡 媛뺤젣 젒냽븯뿬 떎떆 떎슫諛쏆븯뜑땲 븳湲 씠由꾩씠 源⑥吏 븡 씠誘몄 뙆씪쓣 諛쏆쓣 닔 엳뿀떎.

  • FTP 봽濡쒓렇옩룄 븣FTP留 궗슜븯떎媛 슜웾 쟾넚쓣 븯떎蹂대땲 떟씠 븞굹꽌 븣뱶씪씠釉뚮 궗슜뻽떎. 洹몃━怨 씠誘몄 뙆씪紐낅븣臾몄뿉 뙆씪吏덈씪瑜 궗슜븯寃 릺뿀뒗뜲, 븣 뱶씪씠釉, 뙆씪吏덈씪 紐⑤몢 醫뗭 寃 媛숇떎. 씠誘 꽌鍮꾩뒪룄 걹궃 븣FTP瑜 솢 吏湲덇퉴吏 벐怨 엳뿀쓣源..

(7) 씠誘몄 뾽濡쒕뱶 臾몄젣. [ 걹궗뒗 以 븣븯뒗뜲… ]

씠쟾 썑 泥 룷뒪듃(씠 湲)瑜 벐젮怨 뻽뒗뜲 븘옒쓽 硫붿꽭吏 븿猿 씠誘몄媛 뾽濡쒕뱶媛 븞릺뒗 臾몄젣媛 諛쒖깮뻽떎.

“꽌踰꾩뿉꽌 遺紐 뵒젆넗由ъ뿉 벐湲곌 媛뒫빀땲源?”
“Is its parent directory writable by the server?”

씤꽣꽬쓣 뮘졇遊ㅼ留 遺遺 沅뚰븳 臾몄젣굹 슜웾 臾몄젣濡 蹂대뒗 寃ы빐媛 留롮븯떎. 빐떦 諛⑸쾿뱾濡 빐寃곗씠 릺吏 븡븘꽌 삤옖 떆媛 씤꽣꽬쓣 뮘吏 寃곌낵 wp-config.php 뙆씪뿉 define(‘UPLOADS’, ‘wp-content/uploads’); 씪뒗 븳 以꾩쓣 異붽븯硫 맂떎뒗 궗떎쓣 븣寃 릺뿀떎.

  • 李멸퀬 : https://www.thewordcracker.com/intermediate/unable-to-upload-media-is-its-parent-directory-writable-by-the-server/

씠젃寃 늿뿉 蹂댁씠뒗 臾몄젣뱾 遺遺 빐寃고븳 寃껋쑝濡 蹂댁씤떎. 썙뱶봽젅뒪쓽 씠쟾쓣 옒 留덉튇 寃 媛숈븯뒗뜲….

(8) 젽뙥쓽 넻怨 湲곕뒫씠 留덈퉬맖.

쁽옱 빐寃 以…

cafe24 濡 샇뒪똿쓣 삷湲곕땲 뱶뵒뼱 鍮좊Ⅴ떎. 留ㅼ슦 留뚯”뒪읇寃 鍮좊Ⅴ떎. 삉븳 湲곗〈뿉뒗 떎뼇븳 臾몄젣뱾濡 썙뱶봽젅뒪 媛곸쥌 뵆윭洹몄씤쓣 媛뺤젣濡 뾽濡쒕뱶븯뿬 踰꾩졏쓣 삱졇뿀뒗뜲, 깉濡쒖슫 샇뒪똿 솚寃쎌뿉꽌뒗 洹몃윴 寃껊룄 洹몃깷 鍮좊Ⅴ寃 꼫臾 옒 맂떎. 꼫臾 醫뗫떎. 媛鍮꾩븘蹂대떎뒗 떥湲곕룄 븯怨 썙굺 移댄럹24 눥븨紐 샇뒪똿 留롮씠 궗슜빐遊먯꽌 븞젙쟻씪 寃 媛숈븘꽌 꽑깮뻽뒗뜲 옒 븳 寃 媛숇떎.

삤옖留뚯뿉 쉶궗쓽 씪, 媛젙쓽 씪씠 븘땶 굹留뚯쓽 씪쓣 뿴떖엳 븳 寃 媛숇떎. 옱誘몄 怨좏넻씠 븿猿섑븳 떆媛꾩씠뿀떎. 罹먮끉쓣 뱾쑝硫 븞젙쟻쑝濡 썙뱶봽젅뒪쓽 씠쟾怨 씠 湲쓣 룞떆뿉 留덉튇떎.

썝蹂몄씠 궘젣맆 寃쎌슦 吏썝릺吏 븡쓣 닔 엳뒿땲떎.

Copyright © 쁽떇濡쒓렇


 


Published on 9썡 4, 2019 · Filed under: IT issue; Tagged as: , , , ,
No Comments

씫뼱二쇱떊 寃껊쭔쑝濡쒕룄 遺꾨챸엳 媛먯궗빀땲떎. 湲쓣 궓寃⑥<떆硫 뜑슧 엸吏 紐삵븷 寃껋엯땲떎.