PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Monday, August 1, 2022

[FIXED] How to setup PHP server in production?

 August 01, 2022     php, port, ssh, vps, webserver     No comments   

Issue

I use php -S 127.0.0.1:4242 command to start development server on localhost for php files. But I guess, I shouldn't use this thing in production. Currently I'm trying to setup my website on VPS and I don't know how to start php server forever using ssh on port 4242. I know, this is probably very dumb question, this is my first time I work with real hosting

Would be grateful to any help :)


Solution

You need to setup virtual host so that it should run always.

Here is a full doc of setup guide on server.



Answered By - dev_mustafa
Answer Checked By - Cary Denson (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing