-
-
Notifications
You must be signed in to change notification settings - Fork 241
PHP 'Hello World' Tutorial added #210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
3. `0.0.0.0` is the IP that the WebServer should listen on. By using `0` it will listen on everything - fine for development | ||
4. `8080` is the port to listen on - fine for development but in production the default port is `80` and therefore not required when accessing a URL | ||
|
||
Lets see the script output in the browser, in your browser (ideally **Firefox** or **Chrome**) navigate to ` http://localhost:8090/` and you should see: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You say listen on 8080, but then direct them to 8090. Is this right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well noticed! I will update it. Thanks
@kaichanvong what do you mean? |
@eddiejaoude – exactly what was said. And sneaky sneaky moving the chat here! But OK hehe ^_^ |
I didn't understand 'what was 'said', hence why I was asking.
Moving the chat? Sorry you lost me...I had multiple tabs open and just used one that was in the PR. What is the difference? 😕 |
Oh. Okay. It's a fun problem to try figure out. Or chat to me in person, or someone else about it at a Codebar session! hf gl!
|
Which problem are you referring to? I didn't realise there was one 😄 Thanks for your feedback though, well the ones I understood 😜 |
Hey @eddiejaoude thanks for your work on this. minor nitpick -- could you include a link to install in case it's not on the OS? (I'm not sure it comes by default on all Linux distros) Would also be useful to prompt the user to run |
@deniseyu good point. I will update it shortly. |
TODO
|
@deniseyu I have added an installation link to the official documentation and the check command to make sure it is installed correctly. |
👍 |
PHP 'Hello World' Tutorial added
PHP 'Hello World' Tutorial added
PHP is such a popular language for Dynamic Websites and Web Applications.
I have created a Lesson 1. I will ping this link to some friends and colleagues for review.