-
PHP IWebShop Framework routing access rules
the company uses a mall framework to access the environment on IWebShop online. The route is:
http: 10.1.4.41 coupons binding id 4
is in the above format, but locally built can only be accessed through the following routes
http: 10.1.4.41 ?controll...
-
Php-fpm I use dynamic configuration, the process reaches the maximum, it has not been reduced, see the following configuration?
[global]
pid = usr local php var run php-fpm.pid
error_log = usr local php var log php-fpm.log
log_level = notice
[www]
listen = tmp php-cgi.sock
listen.backlog = -1
listen.allowed_clients = 127.0.0.1
listen.owner = www
listen.group = www
listen.mode ...
-
Can't nginx be accessed with a different domain name on the same port? Why doesn't my server_name work?
I have a local nginx environment, but we have many projects that need port 80. However, why do I configure multiple server in Nginx to listen on port 80, and then distinguish it by server_name? when I build multiple .conf files in the nginx configuratio...
-
How can I know when I use php to show the status of the opposite server 502404500?
the counterparty uses the nginx ubuntu server
I use curl to communicate with him I would like to say how to make a php interview after entering this interview, I can find out the current server status of the counterparty but how can I write this co...
-
How can I get the parameters in url?
Why can t I get the value of sd? May I ask you to have a look?
The framework used for is thinkphp5 s fastadmin
...
-
How many Mini Program can a domain name correspond to?
wants to be a Mini Program platform for merchants to move in. wants to use a set of server codes to provide data to multiple Mini Program. then these Mini Program all get data from one domain name .
so: searched the Internet: how many Mini Program c...
-
403 Forbidden nginx/1.4.4 error occurred when accessing php file, how to solve it?
1. A 403 Forbidden nginx 1.4.4 error occurred when accessing the Log in.php file through the server s address and file path, resulting in the page not being displayed properly. as shown in figure
2.phpregist.php3.
4. The permissions for each chil...
-
After nginx runs for a day or two, the php file does not respond, but css/html can.
fastcgi configuration:
location ~ .php(.*)$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_split_path_info ^((?U).+ .php)( ?.+)$;
fastcgi_param SCRIPT_FILENAME $document_root$fa...
-
How can php7.1 be optimized to achieve the best performance?
the server has 8 cores of cpu,16G memory, and centos7.3.1611 has been installed with opcache, enabled. All configurations are defaulted ....
-
The nginx configuration under the complete separation of the front and rear ends of the laravel project?
recently there is a project with completely separate front and rear ends, and the approximate requirements are as follows:
Project path |-php_project |-pc_front_project |-wap_front_project
pc page corresponding domain name whj.domain.com nginx ro...
-
Weird WeChat Work interface: userid to openid
need to transfer userid to openid reference documentation: http: work.weixin.qq.com api.
enter http: work.weixin.qq.com api. into the browser to get openid, so ask this address in the project not to request the address in that silly document, and...
-
Php judges whether it is https or not.
on the Internet, many methods of judging https are stereotyped. mainly judges reference links from $_ SERVER to https: blog.csdn.net river13.https: codeshelper.com q 10..
but now nginx has done reverse proxy $_ SERVER without the following p...
-
What is the difference in the way php curl and browsers access scripts?
what is the difference between the way php curl and browsers access scripts? now requests to an api can correctly return a value by accessing the script in a browser, while sending a post with php-curl returns an error saying that the value of content-...
-
Website 502, nginx error log, it seems that php-fpm made a mistake.
everything was fine yesterday, today I installed redis, and then installed the phpredis extension (this step is not yet complete), and then 502. I ve tried to restart php-fpm, but it still doesn t work.
...
-
Nginx access PHP file can not be parsed can only be downloaded how to solve?
it is said on the Internet that it is the problem with php-fpm. I tried to modify the configuration of nginx.conf, but it didn t work many times. The configuration is as follows:
user www www;
worker_processes auto;
error_log data wwwlogs error_ngin...
-
Nginx reverse proxy swoole
Project uses Laravel.
first of all, Nginx runs in one Docker and Php runs in another Docker. Currently, Swoole, is enabled in PhpDocker and listens through http: 127.0.0.1:1215(swoole in this container), and the result can be output normally. But wh...
-
Php-fpm profile issu
my php-fpm.conf configuration file is as follows:
include *conf
php.fpm.dconf
I set an array variable in m.beike.conf
;DB
env[DB_HOST] = 127.0.0.1
env[DB_NAME] = test
....
you can t get it through $_ server [DB _ HOST] in the php code. ...
-
Php+nginx makes a picture server
use 117773ee38db401fcec7e4ff2d6008263c1593b14c.jpg on a website ...
-
Nginx static and dynamic separation has no effect.
the system is windows server 2012, and the static and dynamic separation program configured in the integrated environment laragon,nginx does not go at all
...
-
Wechat local development
I have my own server domain name. When I do Wechat development, I have to upload it to the server every time. I can debug it with Wechat developers. I checked the mapping, but I don t quite understand it. Online users like natapp are used when there is ...