Closed wangjueszu closed 2 weeks ago
root@racknerd:/www/phpip# php artisan serve --port=8000 INFO Server running on [http://127.0.0.1:8000].
Press Ctrl+C to stop the serverHowever, accessing the server via the browser using the server IP and port 8000 yields no response.
Hello, You don't indicate that you checked that the firewall is configured to open the port 8000, as you try to access from the external.
Installation is also documented here: https://github.com/jjdejong/phpip/wiki/2.-Installing
The php artisan serve
thing is for development purposes. You're only supposed to use it locally, and you point your browser to http://localhost:8000
.
I have already deployed the results
thank you verymuch
However, when I create new trademark data, there is a database format error
I've reached the following step:
However, accessing the server via the browser using the server IP and port 8000 yields no response.
I don't have prior experience deploying PHP projects. Below is the deployment process after discussing with ChatGPT:
1、Environment: debian-11.10 [x86_64] 2、Clone Repository:
3、Install Dependencies:
composer install
4、Set Up Environment File:cp .env.example .env
5、Generate Application Key:php artisan key:generate
6、Edit Environment Variables:nano .env
Modified the following parts:7、Run Migrations:
php artisan migrate
8、Install Node.js Dependencies:npm install
9、Build Assets:npm run dev
10、Serve Application:php artisan serve --port=8000
Could you please advise if I am missing any steps?