APACHE BENCHMARK IS SLOW IN LOCALHOST

Latest response

Hello, I create this topic because I have a problem when I do ab tests on my server with RHEL. When you run the command in RHEL on localhost, it takes a long time, and I don't know why, and if it has to do with some server configuration as such, because if I do it on another server that has ubuntu 20.04 installed, it takes only 3 seconds to run the test, compared to 10 seconds it takes in RHEL. The versions I have are the following:
Server with ubuntu --> APACHE 2.4.42 / PHP 7.4.3

Server with RHEL --> APACHE 2.4.37 / PHP 7.2.24

Could it be a php version issue?

The ubuntu server is much more loaded than the RHEL one. Thank you for the answer.

I use this command:
ab -k -n500 -c100 -H "Accept-Encoding: gzip,deflate" http://URL:XXX/UBUNTU SCREENRHEL SCREEN FOR TEST AB

Responses