Skip to content

YoungHaKim7/Php_Lang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Php Homepage

_ A popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.

PHP: Hypertext Preporcessor

Free Programming Books Langs

https://github.com/EbookFoundation/free-programming-books/blob/main/books/free-programming-books-langs.md#php

Php tutorial

PHP Programming Language Tutorial - Full Course

https://youtu.be/OK_JCtrrv-c

Php Tutorial 2 _ w3schools

https://www.w3schools.com/php/default.asp



macOS install php

brew install php

설치하고 나서 라이브 서버 같은 서버 활성화 해주기

brew services restart php



php -S 127.0.0.1:8080

index.php 만들어 주고

chrome 열어서 http://localhost:8080

index.php 예제 코드

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
    </head>
    <body>

        <?php
            echo("Hello World");
        ?>
    </body>
</html>

작업 다 끝나고 서버 중지

brew services stop php


data-structure-php-clanguage

https://github.com/elarity/data-structure-php-clanguage


Php_다른 방법으로 코드 보기

  • node 와 비슷하게 한다.

hello.php

<?php
    echo("Hello World Php\n");
?>

terminal 창에서

$ php hello.php


Hello World Php

잘 나온다.

JavaScript 파일 node로 하는것과 비슷하다.

About

PHP & My Youtube Channel - GlobalYoung https://www.youtube.com/@GlobalYoung7

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published