Year: 2023
-
Post Views: 18 1. Error when the program is running: syntax error, unexpected,, expecting]. as shown in Figure 1 2. The code to catch the exception is implemented as follows, and finally find that the exception is not caught 3. Adjust the code implementation, and change the Throwable $E to \Throwable $E. Capture was successful. The log is generated as…
-
Post Views: 19 1. The current domain name is:https://learn-php-app-0605-prod.shuijingwanwq.com. Plan to switch to:https://learn-php-app-0605-prod.wangqiang.store. as shown in Figure 1 2. Add the DNS resolution of learn-php-app-0605-prod.wangqiang.store. as shown in Figure 2 3. Based on the virtual host before OneInStack delete: learn-php-0605-prod.shuijingwanwq.com, the directory should not be deleted. 4. Based on OneInstack Add a new virtual host: learn-php-app-0605-prod.wangqiang.store, the directory still uses…
-
Post Views: 19 1. Reference:Deploy Shopify PHP application to production environment (CentOS 7.7 64-bit in Alibaba Cloud, ECS, MySQL 5.7) 2. When the application: learn-php-app-ubuntu-2004-0605 is newly created and deployed the theme application extension. The test passed, in line with expectations. as shown in Figure 1 3. Upload the application in the local environment: learn-php-app-ubuntu-2004-0605 Web The code below is…
-
Post Views: 155 1. There is a Shopify PHP application, which can already be previewed in the development environment. as shown in Figure 1 2. Now it is ready to be deployed to the production environment. Shopify recommends creating a separate application if you need to deploy the application to the production environment. This application shares the code base with…
-
Post Views: 52 1. I have been notified of the account management fee collection fee of huobi.info, and decided to withdraw the remaining assets. as shown in Figure 1 2. The account management fee is collected every month, and the remaining assets are decided to be withdrawn. View email: Notice that the user’s currency withdrawal service in mainland China has…
-
Post Views: 28 1. Reference:Based on Alibaba Cloud’s ECS and RDS, the personal blog migration has been upgraded to: Docker (based on budget considerations, ultimately not realized), LNMP (CentOS 7.7, Nginx 1.16, MySQL 5.7, PHP 7.4), the process of HTTPS , the previous environment was based on the automatic installation of OneInstack. PHP version 7.4 is no longer eligible for…
-
Post Views: 17 1. When installing the php extension, it is stuck at –php_extensions fileinfo. My ECS memory is 1 GB config. Compiling FileInfo takes up a lot of memory, which is the direct cause of incompilation. It was finally decided to improve the configuration of the ECS, and the memory was increased to 2 GB. as shown in Figure…