What's new

PHP How to deploy a website

laxus456

Forum Guru
Joined
Apr 27, 2015
Posts
2,027
Solutions
1
Reaction
8,236
Points
1,609
Mga sir, may idea po ba kayo (tutorial sana) kung ano po mga kakailanganin na tools or codebase(may specific code ba na kakailanganin like when merong function na message/comment, and others) at paano idedeploy ang website na laravel framework.

May mga nababasa po kasi ako about websocket, broadcasting, async, and others, kailangan po ba may instance na ganoon para working siya online?

bali po di ko po sure kung paano nila ihahandle yung kada instance na bibisita sa isang website (handling user visits at mga ibabato sa kanilang mga function galing sa system namin)

Framework: Laravel
Programming language/backend: PHP
Frontend:Html,css,javascript,bootstrap
Database: MySQL
Purpose: Website with Machine learning
 
Last edited:
hmm, ireredirect mo lang dapat yun sa public folder nya e. Ganun kasi ako pag nag dedeploy sa laravel haha. Tas isset mo sya as production

Tas sa htaccess, ayun ireredirect mo into https lang.
 
hmm, ireredirect mo lang dapat yun sa public folder nya e. Ganun kasi ako pag nag dedeploy sa laravel haha. Tas isset mo sya as production
bali po sir/ma'am, as is siyang gagana kung ano yung nakikita sa isang localhost? automatic na po ba nilang nahahandle mga request ng user kung sakaling marami bibisita?
 
bali po sir/ma'am, as is siyang gagana kung ano yung nakikita sa isang localhost? automatic na po ba nilang nahahandle mga request ng user kung sakaling marami bibisita?
Yes po, sa hosting naman ang handling sa website traffic. wala na dun yung laravel
May konting factor din yung mga images pala na ilload mo. Pero ayun lang naman tas yung coding style din syempre
 
Yes po, sa hosting naman ang handling sa website traffic. wala na dun yung laravel
thanks po ma'am, kala ko po is magmamatter na kailangan siyang iconvert something na parang nangyayari sa Ajax (client/server side if tama term ko)
 
ask ko lang ano po ba exactly meaning ng mga framework such as laravel po? bale ano pong kaya nilang gawin and purpose nila? thanks madalas ko kase nakikita yung laravel kaya nacurious lang po ako
 
ask ko lang ano po ba exactly meaning ng mga framework such as laravel po? bale ano pong kaya nilang gawin and purpose nila? thanks madalas ko kase nakikita yung laravel kaya nacurious lang po ako
for me isa siyang syntaxing with added security and functions (summarization, not actual meaning). Bali isa siyang Model/View/Controller (MVC) framework para maiayos mo lahat ng codes/function mo kung saan nararapat
model - codes for db
view - for frontend
controller- for backend processes and etc.

correct me nalang pag mali
 
  1. First, make sure that you have a server with a web server (such as Apache or Nginx) and PHP installed.
  2. Next, you will need to install Composer, which is a dependency manager for PHP. You can download Composer from You do not have permission to view the full content of this post. Log in or register now..
  3. Once Composer is installed, navigate to your Laravel project directory and run the following command to install the required dependencies:
Copy code
composer install

  1. After the dependencies have been installed, you will need to configure your web server to serve your Laravel application. If you are using Apache, you can do this by creating a virtual host for your Laravel project and pointing the document root to the public directory of your Laravel project.
  2. Once your web server is configured, you can access your Laravel application by visiting the URL for your virtual host in a web browser.
  3. If you are deploying your Laravel application to a production environment, you will also need to configure your .env file to specify your production settings, such as your database credentials and other environment-specific configurations.
  4. You may also need to run the php artisan migrate command to run any outstanding database migrations, which will update your database schema to reflect any changes in your Laravel application's models.
 
for me isa siyang syntaxing with added security and functions (summarization, not actual meaning). Bali isa siyang Model/View/Controller (MVC) framework para maiayos mo lahat ng codes/function mo kung saan nararapat
model - codes for db
view - for frontend
controller- for backend processes and etc.

correct me nalang pag mali
I see MVC pala siya, i thought na may iba siyang functionalities maraming salamat po
 
Back
Top