We are gonna learn about how to setup PHP on our desktop/laptop.
- Go Website: www.mamp.info
- Select right version to your computer
- Download files and launch it.
- Click the application:
Now, we can start the hosting by clicking "WebStart."
localhost is the default name of the computer, 127.0.0.1 is the IP address of the local computer.
Place the .php(php files) to under the htdocs folder.
However, if you want to see the error on the web page you working on, then you should edit the file content in your php version file!
Now, you are ready to run php file with MySQL!
'Web Programming ๐ > Back-End ๐ฅท๐ป' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
PHP Exercise: GuessGame (0) | 2023.04.25 |
---|---|
PHP Exercise: popcorn bill (0) | 2023.04.25 |
PHP Form (0) | 2023.04.25 |
PHP function & Array (0) | 2023.04.25 |
PHP Basics (0) | 2023.04.25 |