Slim API на XAMPP – отложенный ответ на локальном хостеPhp

Кемеровские программисты php общаются здесь
Ответить Пред. темаСлед. тема
Anonymous
 Slim API на XAMPP – отложенный ответ на локальном хосте

Сообщение Anonymous »


I'm having an issue with hosting a Slim API on XAMPP in local environment. When I access the API via localhost, I notice that it takes about 15-20 seconds to receive a response from requests. I'm trying to understand what the causes of this delay could be and how I can resolve them.
Here is some additional information about my environment and setup:
I'm using XAMPP version 3.3.0.
I have successfully configured the Slim API following the official documentation.
The problem occurs with both GET requests and POST requests.
The API code doesn't appear to contain any particularly heavy operations or infinite loops that could cause delays indeed it must print only a hard coded json in the index.
Does anyone have any suggestions on what I could check or what approach I could take to resolve this Slim API response delay issue on XAMPP locally?
Thanks in advance for any help or suggestions!


Источник: https://stackoverflow.com/questions/781 ... -localhost
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «Php»