Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Am I doing Wrong? Multiple web applications on a single droplet with LAMP.
I have PHP web application (IE: ToDo List - (may be SaaS)), zipped and stored in out of /www folder with an sql file
If a client subscribe using mysite.com/pricing page system will create a directory for the client as
/www/clients.mysite.com/client-biz-name-ID/ and unzip the master application and then create database as *client_ID *and import the above sql file in to that.
Meantime it will update the connect.php file with new database name. User and password will be same every time (pre-built one).
After that it will email the client the url to access the application with their login credentials.
And then there might be some developments according to the client’s request.
(Stop laughing 😋). I studied all these php, php framworks, CMS, server configurations, database management and other few full stack stuffs using the internet only and doing these things for last 10 years.
Am I doing anything wrong? or is there a proper/best way to do these kind of operation?
Waiting for your kind and positive advices…
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×