Welcome Guest, Not a member yet? Register   Sign In
Codeigniter 4 on local server simultaneously for LAN and for internet
#2

Quote:@Corsari,
I'm wondering if it is contemplated to have a local PC running an apache server that hosts a CodeIgniter 4 app that will be used simultaneously from remote and local clients

I'm not sure of your exact requirements, anyway this is how I have my setup:
Quote:// Ubuntu desktop with apache2
/var/www/mydomain.tld/
./app/
./public_html/
./system
./writable/
.htaccess
env
RSYNC.php

// REMOTE Server is a Mirror image of local Ubuntu desktop
/var/www/mydomain.tld/

To synchronise Local and Remote servers:
file: RSYNC.php
PHP Code:
<?php 
$rsync 
'rsync -avz /var/www/mydomain.tld/ -e ssh [email protected]:/var/www/mydomain.tld/';
echo 
$rsync
Reply


Messages In This Thread
RE: Codeigniter 4 on local server simultaneously for LAN and for internet - by John_Betong - 03-18-2021, 08:38 PM



Theme © iAndrew 2016 - Forum software by © MyBB