--- id: php-install title: "PHP Install" category: "Programming_Language" status: "draft" verification_status: "conceptual" canonical_id: "" aliases: ["PHP Installation", "PHP μ„€μΉ˜"] duplicate_of: "" source_trust_level: "B" confidence_score: 0.85 created_at: 2026-07-04 updated_at: 2026-07-04 review_reason: "" merge_history: [] tags: ["php", "programming", "w3schools", "installation"] raw_sources: ["https://www.w3schools.com/php/php_install.asp"] applied_in: [] github_commit: "" --- # [[PHP Install]] ## 🎯 ν•œ 쀄 톡찰 (One-line insight) Most developers never need to "install" PHP at all β€” if a web host already supports it, dropping `.php` files into the web directory is sufficient, since the server parses them automatically; manual installation is only needed when running your own web server. [S1] ## 🧠 핡심 κ°œλ… (Core concepts) - **Two setup paths** β€” use a web host with existing PHP support (no setup needed), or install a web server + PHP + database (e.g. MySQL) yourself. [S1] - **`phpversion()`** β€” function to check the installed PHP version. [S1] - **Official resource** β€” php.net has installation instructions for self-hosted setups. [S1] ## πŸ“– μ„ΈλΆ€ λ‚΄μš© (Details) - Check version: `echo phpversion();`. [S1] ## βš–οΈ λͺ¨μˆœ 및 μ—…λ°μ΄νŠΈ (Contradictions & updates) μ†ŒμŠ€μ—μ„œ λͺ¨μˆœλ˜λŠ” μ •λ³΄λŠ” λ°œκ²¬λ˜μ§€ μ•ŠμŒ. ## πŸ› οΈ 적용 사둀 (Applied in summary) ν˜„μž¬ 발견된 μ‹€μ œ 적용 사둀가 μ—†μŠ΅λ‹ˆλ‹€ β€” phpversion()으둜 μ„œλ²„ ν™˜κ²½μ˜ PHP 버전을 ν™•μΈν•˜λŠ” 것이 μ‹€μ „μ—μ„œ 자주 μ“°μ΄λŠ” 진단 νŒ¨ν„΄μ΄λ‹€. [S1] ## πŸ’» μ½”λ“œ νŒ¨ν„΄ (Code patterns) Checking the installed PHP version (PHP): ```php echo phpversion(); ``` ## βœ… 검증 μƒνƒœ 및 신뒰도 - **μƒνƒœ:** draft - **검증 단계:** conceptual - **좜처 신뒰도:** B (W3Schools β€” widely used educational reference, not a primary standards body) - **μ‹ λ’° 점수:** 0.85 - **쀑볡 검사 κ²°κ³Ό:** μ‹ κ·œ 생성 (New discovery) ## πŸ”— 지식 κ·Έλž˜ν”„ (Knowledge Graph) - **μƒμœ„/루트:** [[PHP Tutorial]] - **κ΄€λ ¨ κ°œλ…:** [[PHP Intro]], [[PHP Syntax]] - **μ°Έμ‘° λ§₯락:** μ‹€ν–‰ ν™˜κ²½ μ€€λΉ„ β€” 문법(Syntax) μ±•ν„°λ‘œ 이어짐. ## πŸ“š 좜처 (Sources) - [S1] W3Schools β€” PHP Installation β€” https://www.w3schools.com/php/php_install.asp ## πŸ“ λ³€κ²½ 이λ ₯ (Change history) - 2026-07-04: Initial draft synthesized from the W3Schools "PHP Installation" page (Astra wiki-curation, P-Reinforce v3.1 format).