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

Monday, August 1, 2022

[FIXED] How to setup the chat server online not local?

 August 01, 2022     ratchet, server, vps, websocket     No comments   

Issue

I've completed programming my site with Ratchet locally and I usually run the server file by

php server.php 

now Idk how to actually make it work on the host?

I have Vps too but cant even fighre out how to connect it with the host , etc? what is the idea actually


Solution

In your VPS you should install a webserver for example Apache or Nginx and config them to serve requests, but actually is far more easier to use preconfigured servers with server software management like Cpanel or directadmin that most of web hostings offer now days, Then copy local files to remote server and adjust a database in server using a ftp client and config php web server settings, in general your webserver should point to your index.php file and thats it. You can learn other settings by exploring directadmin or Cpanel...



Answered By - Payam
Answer Checked By - Candace Johnson (PHPFixing Volunteer)
  • 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