Apache is not running on CentOS 7 Server - linux

I'm running a Bitrix server over a CentOS Linux 7.4.1708 machine and I can't manage to get Apache work properly. I've tried restarting the Apache service but it didn't work.
I've checked the system logs via Webadmin and it shows the following:
[Mon Mar 05 03:33:12.118466 2018] [mpm_prefork:notice] [pid 1351]
AH00163: Apache/2.4.6 (CentOS) PHP/7.0.26 OpenSSL/1.0.2k-fips
configured -- resuming normal operations
[Mon Mar 05 03:33:12.118482 2018] [core:notice] [pid 1351] AH00094:
Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Mar 05 11:19:46.641040 2018] [mpm_prefork:notice] [pid 1351]
AH00170: caught SIGWINCH, shutting down gracefully
[Mon Mar 05 11:20:15.021546 2018] [suexec:notice] [pid 1360] AH01232:
suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Mar 05 11:20:15.107376 2018] [so:warn] [pid 1360] AH01574: module
socache_shmcb_module is already loaded, skipping
[Mon Mar 05 11:20:17.068083 2018] [mpm_prefork:notice] [pid 1360]
AH00163: Apache/2.4.6 (CentOS) PHP/7.0.26 OpenSSL/1.0.2k-fips
configured -- resuming normal operations
[Mon Mar 05 11:20:17.068138 2018] [core:notice] [pid 1360] AH00094:
Command line: '/usr/sbin/httpd -f /etc/httpd/conf/httpd-scale.conf -D
FOREGROUND'
[Mon Mar 05 11:36:43.537842 2018] [mpm_prefork:notice] [pid 1360]
AH00170: caught SIGWINCH, shutting down gracefully
[Mon Mar 05 11:37:13.314311 2018] [suexec:notice] [pid 1351] AH01232:
suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Mar 05 11:37:13.351957 2018] [so:warn] [pid 1351] AH01574: module
socache_shmcb_module is already loaded, skipping
[Mon Mar 05 11:37:15.361335 2018] [mpm_prefork:notice] [pid 1351]
AH00163: Apache/2.4.6 (CentOS) PHP/7.0.26 OpenSSL/1.0.2k-fips
configured -- resuming normal operations
[Mon Mar 05 11:37:15.361360 2018] [core:notice] [pid 1351] AH00094:
Command line: '/usr/sbin/httpd -f /etc/httpd/conf/httpd-scale.conf -D
FOREGROUND'
[Mon Mar 05 11:49:01.192086 2018] [mpm_prefork:error] [pid 1351]
AH00161: server reached MaxRequestWorkers setting, consider raising
the MaxRequestWorkers setting
[Mon Mar 05 12:01:13.778293 2018] [mpm_prefork:notice] [pid 1351]
AH00170: caught SIGWINCH, shutting down gracefully
[Mon Mar 05 12:01:43.297586 2018] [suexec:notice] [pid 1383] AH01232:
suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Mar 05 12:01:43.371237 2018] [so:warn] [pid 1383] AH01574: module
socache_shmcb_module is already loaded, skipping
[Mon Mar 05 12:01:44.932973 2018] [mpm_prefork:notice] [pid 1383]
AH00163: Apache/2.4.6 (CentOS) PHP/7.0.26 OpenSSL/1.0.2k-fips
configured -- resuming normal operations
[Mon Mar 05 12:01:44.933001 2018] [core:notice] [pid 1383] AH00094:
Command line: '/usr/sbin/httpd -f /etc/httpd/conf/httpd-scale.conf -D
FOREGROUND'
I don't have any clue on what the problem might be. Apache used to work fine until we installed a Bitrix update on the server.
Any sort of help or comment about this would be much appreciated.

Did you increase the MaxRequestWorkers setting as suggested in the logs?
Find the corresponding file:
grep -Ril MaxRequestWorkers /etc/httpd/
On CentOS usually it is /etc/httpd/conf/httpd.conf. Open the file, increase the value of MaxRequestWorkers and restart the web server for the changes to take effect:
systemctl restart httpd

Related

Reload apache within a python script on linux

Hi I am trying to create a python file that reloads apache2 the code of this file is:
import os
os.system("service apache2 reload")
When I use the command in the terminal everything works fine but when I run the python script I got this error:
Job for apache2.service failed.
See "systemctl status apache2.service" and "journalctl -xe" for details.
so I checked the journalctl and got this:
nov 29 13:50:19 gerrietech apachectl[37415]: Action 'graceful' failed.
nov 29 13:50:19 gerrietech apachectl[37415]: The Apache error log may have more information.
end this comes out of the error log:
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.50.183. Set the 'ServerName' directive globally to suppress this message
[Mon Nov 29 13:37:35.533656 2021] [mpm_prefork:notice] [pid 36741] AH00163: Apache/2.4.46 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Mon Nov 29 13:37:35.533672 2021] [core:notice] [pid 36741] AH00094: Command line: '/usr/sbin/apache2'
[Mon Nov 29 13:38:23.180736 2021] [mpm_prefork:notice] [pid 36741] AH00169: caught SIGTERM, shutting down
[Mon Nov 29 13:38:45.809351 2021] [mpm_prefork:notice] [pid 37219] AH00163: Apache/2.4.46 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Mon Nov 29 13:38:45.809422 2021] [core:notice] [pid 37219] AH00094: Command line: '/usr/sbin/apache2'
How do i fix this?
After i used /etc/init.d/apache2 reload instead of service apache2 restarti dont get any errors and the script does what it is supposed to do

import psycopg2 : SystemError: initialization of _psycopg raised unreported exception\r on 2nd URL hit fails

I have two url to my application, which refers to same eg: localhost:8080 and abc.com. Pattern is that after restarting the apache server, only the first one URL works which I hit first and 2nd url does not work. Ideally both should work as both refers to same server.
I am getting below error for python 3.9. After following this I uninstalled and installed mod_wsgi 4.7.1 using python 3.9 pip and updated apache httpd.conf with output of mod_wsgi-express.exe module-config
[Mon May 24 04:31:30.115963 2021] [mpm_winnt:notice] [pid 8560:tid 104] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Mon May 24 04:31:32.121364 2021] [mpm_winnt:notice] [pid 9452:tid 904] AH00364: Child: All worker threads have exited.
[Mon May 24 04:31:32.303380 2021] [mpm_winnt:notice] [pid 8560:tid 104] AH00430: Parent: Child process 9452 exited successfully.
[Mon May 24 04:31:33.770657 2021] [mpm_winnt:notice] [pid 612:tid 908] AH00455: Apache/2.4.46 (Win64) mod_wsgi/4.7.1 Python/3.9 configured -- resuming normal operations
[Mon May 24 04:31:33.771659 2021] [mpm_winnt:notice] [pid 612:tid 908] AH00456: Apache Lounge VS16 Server built: Mar 27 2021 11:42:37
[Mon May 24 04:31:33.771659 2021] [core:notice] [pid 612:tid 908] AH00094: Command line: 'F:\\Program Files\\NGDM\\Apache24\\bin\\httpd.exe -d F:/Program Files/NGDM/Apache24'
[Mon May 24 04:31:33.781650 2021] [mpm_winnt:notice] [pid 612:tid 908] AH00418: Parent: Created child process 10632
[Mon May 24 04:31:34.815778 2021] [mpm_winnt:notice] [pid 10632:tid 872] AH00354: Child: Starting 64 worker threads.
[Mon May 24 04:32:18.161398 2021] [wsgi:error] [pid 10632:tid 1440] RUN_ID==>51683<==\r
[Mon May 24 04:32:18.163398 2021] [wsgi:error] [pid 10632:tid 1440] RUN_ID==>51683<==\r
C:\A\34\s\Modules\_decimal\libmpdec\context.c:57: warning: mpd_setminalloc: ignoring request to set MPD_MINALLOC a second time
[Mon May 24 04:32:29.651626 2021] [wsgi:error] [pid 10632:tid 1440] [client 148.173.41.4:61202] mod_wsgi (pid=10632): Failed to exec Python script file 'F:/XYZ/test_wsgi.wsgi'.
[Mon May 24 04:32:29.651626 2021] [wsgi:error] [pid 10632:tid 1440] [client 148.173.41.4:61202] mod_wsgi (pid=10632): Exception occurred processing WSGI script 'F:/XYZ/test_wsgi.wsgi'.
[Mon May 24 04:32:29.661629 2021] [wsgi:error] [pid 10632:tid 1440] [client 148.173.41.4:61202] Traceback (most recent call last):\r
[Mon May 24 04:32:29.661629 2021] [wsgi:error] [pid 10632:tid 1440] [client 148.173.41.4:61202] File "F:/XYZ/test_wsgi.wsgi", line 6, in <module>\r
[Mon May 24 04:32:29.661629 2021] [wsgi:error] [pid 10632:tid 1440] [client 148.173.41.4:61202] from app_e1 import app as application\r
[Mon May 24 04:32:29.661629 2021] [wsgi:error] [pid 10632:tid 1440] [client 148.173.41.4:61202] File "f:/XYZ\\app_e1.py", line 6, in <module>\r
[Mon May 24 04:32:29.661629 2021] [wsgi:error] [pid 10632:tid 1440] [client 148.173.41.4:61202] import psycopg2\r
[Mon May 24 04:32:29.661629 2021] [wsgi:error] [pid 10632:tid 1440] [client 148.173.41.4:61202] File "c:\\python39\\lib\\site-packages\\psycopg2\\__init__.py", line 51, in <module>\r
[Mon May 24 04:32:29.661629 2021] [wsgi:error] [pid 10632:tid 1440] [client 148.173.41.4:61202] from psycopg2._psycopg import ( # noqa\r
[Mon May 24 04:32:29.661629 2021] [wsgi:error] [pid 10632:tid 1440] [client 148.173.41.4:61202] SystemError: initialization of _psycopg raised unreported exception\r
In My case, restarting the server after adding below line in httpd.conf fixed the issue with multiple python sub interpreter. Ref.
WSGIApplicationGroup %{GLOBAL}

Ubuntu 18.04 Apache automatically crashing frequently for NodeJS Angular based application in AWS EC2 and stopping

I am using Ubuntu 18.04 on AWS EC2 instance free tier, running websites on Apache server, NodeJS with PostgreSQL database. All deployments are done perfectly and web-apps works fine without any exception or error details.
However I am facing an annoying issue: this instance is stopping frequently without any exception or error logs. After rebooting instance everything starts working fine but after some time it automatically stops either in few hrs. on same day when rebooted instance or in 1-2 days after that.
Below are some Apache logs (var/log/apache2) I tried to analysed but couldn't found out what is causing this exactly:[there is error log is looks related to this:
**[Sun Jul 05 14:11:30.444362 2020] [mpm_event:notice] [pid 1007:tid 140440680164288] AH00491: caught SIGTERM, shutting down]** ]
[Sun Jul 05 13:10:44.389403 2020] [mpm_event:notice] [pid 1007:tid 140440680164288] AH00489: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations
[Sun Jul 05 13:10:44.389524 2020] [core:notice] [pid 1007:tid 140440680164288] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jul 05 13:10:55.517856 2020] [proxy:error] [pid 1009:tid 140440540890880] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:4200 (localhost) failed
[Sun Jul 05 13:10:55.517921 2020] [proxy_http:error] [pid 1009:tid 140440540890880] [client 27.97.147.181:32952] AH01114: HTTP: failed to make connection to backend: localhost
[Sun Jul 05 13:10:55.969159 2020] [proxy:error] [pid 1008:tid 140440582854400] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:4200 (localhost) failed
[Sun Jul 05 13:10:55.969223 2020] [proxy_http:error] [pid 1008:tid 140440582854400] [client 27.97.147.181:25642] AH01114: HTTP: failed to make connection to backend: localhost, referer: http://xx.xx.xx.x6x/
[Sun Jul 05 13:10:59.352669 2020] [proxy:error] [pid 1009:tid 140440549283584] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:4200 (localhost) failed
[Sun Jul 05 13:10:59.352711 2020] [proxy_http:error] [pid 1009:tid 140440549283584] [client 27.97.147.181:12476] AH01114: HTTP: failed to make connection to backend: localhost
[Sun Jul 05 13:10:59.687423 2020] [proxy:error] [pid 1008:tid 140440574461696] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:4200 (localhost) failed
[Sun Jul 05 13:10:59.687463 2020] [proxy_http:error] [pid 1008:tid 140440574461696] [client 27.97.147.181:26001] AH01114: HTTP: failed to make connection to backend: localhost, referer: http://xx.xx.xx.x6x/
[Sun Jul 05 13:11:26.091717 2020] [proxy:error] [pid 1009:tid 140440557676288] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:4200 (localhost) failed
[Sun Jul 05 13:11:26.091772 2020] [proxy_http:error] [pid 1009:tid 140440557676288] [client 27.97.147.181:38107] AH01114: HTTP: failed to make connection to backend: localhost
[Sun Jul 05 13:11:26.420448 2020] [proxy:error] [pid 1009:tid 140440464520960] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:4200 (localhost) failed
[Sun Jul 05 13:11:26.420481 2020] [proxy_http:error] [pid 1009:tid 140440464520960] [client 27.97.147.181:58238] AH01114: HTTP: failed to make connection to backend: localhost, referer: http://xx.xx.xx.x6x/
[Sun Jul 05 14:11:25.939273 2020] [proxy_http:error] [pid 1009:tid 140440557676288] (104)Connection reset by peer: [client 27.97.43.52:50804] AH01102: error reading status line from remote server localhost:4200, referer: http://domain-name.com/sockjs-node/iframe.html
[Sun Jul 05 14:11:25.980501 2020] [proxy:error] [pid 1009:tid 140440557676288] [client 27.97.43.52:50804] AH00898: Error reading from remote server returned by /__webpack_dev_server__/sockjs.bundle.js, referer: http://domain-name.com/sockjs-node/iframe.html
[Sun Jul 05 14:11:30.444362 2020] [mpm_event:notice] [pid 1007:tid 140440680164288] AH00491: caught SIGTERM, shutting down
[Sun Jul 05 14:13:35.011864 2020] [mpm_event:notice] [pid 995:tid 140269259320256] AH00489: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations
[Sun Jul 05 14:13:35.156051 2020] [core:notice] [pid 995:tid 140269259320256] AH00094: Command line: '/usr/sbin/apache2'
I had seen this type of issue before and it was DNS issue.
after lots of searches, I found out that the DNS of my domain was not registered correctly.

How to install nltk on an Amazon EC2 instance?

I am trying to install nltk on an Amazon EC2 instance using pip and virtual environment. nltk is listed in the requirements.txt file that pip uses. I also want to download punkt using the nltk.download('punkt') option.
Here's what my makefile looks like:
INSTANCE_NAME=toolsapp
ENV=env
LOAD_ENV=source $(ENV)/bin/activate
VIRTUALENV_BIN:=$(shell which virtualenv || echo /usr/local/bin/virtualenv )
EB_BIN:=$(shell $(LOAD_ENV) && which eb || echo /usr/local/bin/eb )
AWS_BIN:=$(shell $(LOAD_ENV) && which aws || echo /usr/local/bin/aws )
default: dev
.PHONY: default
# Ensure virtualenv is installed
$(VIRTUALENV_BIN):
pip3 install virtualenv
# Create a virtualenv folder called env/ and install dependencies
$(ENV): $(VIRTUALENV_BIN)
virtualenv -p python3 $(ENV)
$(LOAD_ENV) && pip install --upgrade pip && pip install -r requirements.txt
But this is the error I get when I try to run the webapp:
[Tue Jul 24 14:46:13.798460 2018] [:error] [pid 22801] model type: 9
[Tue Jul 24 14:46:13.801193 2018] [:error] [pid 22801] Traceback (most recent call last):
[Tue Jul 24 14:46:13.801227 2018] [:error] [pid 22801] File "/opt/python/run/venv/local/lib/python3.6/site-packages/sumy/nlp/tokenizers.py", line 79, in _get_sentence_tokenizer
[Tue Jul 24 14:46:13.801232 2018] [:error] [pid 22801] return nltk.data.load(path)
[Tue Jul 24 14:46:13.801239 2018] [:error] [pid 22801] File "/opt/python/run/venv/local/lib/python3.6/site-packages/nltk/data.py", line 836, in load
[Tue Jul 24 14:46:13.801242 2018] [:error] [pid 22801] opened_resource = _open(resource_url)
[Tue Jul 24 14:46:13.801247 2018] [:error] [pid 22801] File "/opt/python/run/venv/local/lib/python3.6/site-packages/nltk/data.py", line 954, in _open
[Tue Jul 24 14:46:13.801251 2018] [:error] [pid 22801] return find(path_, path + ['']).open()
[Tue Jul 24 14:46:13.801255 2018] [:error] [pid 22801] File "/opt/python/run/venv/local/lib/python3.6/site-packages/nltk/data.py", line 675, in find
[Tue Jul 24 14:46:13.801259 2018] [:error] [pid 22801] raise LookupError(resource_not_found)
[Tue Jul 24 14:46:13.801274 2018] [:error] [pid 22801] LookupError:
[Tue Jul 24 14:46:13.801278 2018] [:error] [pid 22801] **********************************************************************
[Tue Jul 24 14:46:13.801280 2018] [:error] [pid 22801] Resource \x1b[93mpunkt\x1b[0m not found.
[Tue Jul 24 14:46:13.801283 2018] [:error] [pid 22801] Please use the NLTK Downloader to obtain the resource:
[Tue Jul 24 14:46:13.801285 2018] [:error] [pid 22801]
[Tue Jul 24 14:46:13.801288 2018] [:error] [pid 22801] \x1b[31m>>> import nltk
[Tue Jul 24 14:46:13.801299 2018] [:error] [pid 22801] >>> nltk.download('punkt')
[Tue Jul 24 14:46:13.801301 2018] [:error] [pid 22801] \x1b[0m
[Tue Jul 24 14:46:13.801303 2018] [:error] [pid 22801] Searched in:
[Tue Jul 24 14:46:13.801305 2018] [:error] [pid 22801] - '/home/wsgi/nltk_data'
[Tue Jul 24 14:46:13.801307 2018] [:error] [pid 22801] - '/usr/share/nltk_data'
[Tue Jul 24 14:46:13.801310 2018] [:error] [pid 22801] - '/usr/local/share/nltk_data'
[Tue Jul 24 14:46:13.801312 2018] [:error] [pid 22801] - '/usr/lib/nltk_data'
[Tue Jul 24 14:46:13.801314 2018] [:error] [pid 22801] - '/usr/local/lib/nltk_data'
[Tue Jul 24 14:46:13.801316 2018] [:error] [pid 22801] - '/opt/python/run/venv/nltk_data'
[Tue Jul 24 14:46:13.801318 2018] [:error] [pid 22801] - '/opt/python/run/venv/share/nltk_data'
[Tue Jul 24 14:46:13.801320 2018] [:error] [pid 22801] - '/opt/python/run/venv/lib/nltk_data'
[Tue Jul 24 14:46:13.801322 2018] [:error] [pid 22801] - ''
[Tue Jul 24 14:46:13.801325 2018] [:error] [pid 22801] **********************************************************************
[Tue Jul 24 14:46:13.801327 2018] [:error] [pid 22801]
[Tue Jul 24 14:46:13.801342 2018] [:error] [pid 22801]
[Tue Jul 24 14:46:13.801345 2018] [:error] [pid 22801] During handling of the above exception, another exception occurred:
[Tue Jul 24 14:46:13.801348 2018] [:error] [pid 22801]
[Tue Jul 24 14:46:13.801352 2018] [:error] [pid 22801] Traceback (most recent call last):
[Tue Jul 24 14:46:13.801369 2018] [:error] [pid 22801] File "/opt/python/current/app/summarization.py", line 40, in reform
[Tue Jul 24 14:46:13.801372 2018] [:error] [pid 22801] parser = HtmlParser.from_url(inputFile, Tokenizer("english"))
[Tue Jul 24 14:46:13.801377 2018] [:error] [pid 22801] File "/opt/python/run/venv/local/lib/python3.6/site-packages/sumy/nlp/tokenizers.py", line 67, in __init__
[Tue Jul 24 14:46:13.801380 2018] [:error] [pid 22801] self._sentence_tokenizer = self._get_sentence_tokenizer(tokenizer_language)
[Tue Jul 24 14:46:13.801385 2018] [:error] [pid 22801] File "/opt/python/run/venv/local/lib/python3.6/site-packages/sumy/nlp/tokenizers.py", line 82, in _get_sentence_tokenizer
[Tue Jul 24 14:46:13.801388 2018] [:error] [pid 22801] "NLTK tokenizers are missing. Download them by following command: "
[Tue Jul 24 14:46:13.801397 2018] [:error] [pid 22801] LookupError: NLTK tokenizers are missing. Download them by following command: python -c "import nltk; nltk.download('punkt')"
[Tue Jul 24 14:46:13.801414 2018] [:error] [pid 22801] unable to read https://webapp-input.s3.amazonaws.com/43629be5a07a43029f359abd1340ad08.input.txt?AWSAccessKeyId=ASIAI4UVLLOHEUNNKWNQ&Signature=NBbRoAhFB5mP3SNi3jR6rDcz8LY%3D&x-amz-security-token=FQoDYXdzEHgaDKt%2FFOhHU4UQgQLgdCK3A3amyJ9mziqpLJ01DR5yYqszDzAfi8e9B9Uj1xw9pJw4yDqyF5KFtul7D7o6Xm2qX%2FQvSb9tbnMoW2r8Pur%2FbhlJnhfKFUriT6ggk0THgAgXQWQ8pDOIIMOjn7XZLtFvTfWttukS40VC17geWmEod%2FsO9IZh3LyhN46V%2FdDQo21YZfZFRoQbFHgTd823mnnTLwNoZs51B%2BluwOJ70U22P0K%2FdhzFGVEEGj%2FDiT1oC%2B1aGHQoK4h9JC45%2BqdetOoxZZsdc2z8hxFPQbTW59AT2L4PC2icjkzjJ9prhJvzU25iuZeYoO5tC3SZ1fpNtJ5QCiBYdK1R1c0TRygeOGbev24j5qlTb5DLG4HknH47S6XBMKE%2Fs4EyEo2zNbu%2Fg7QhcebwjJ9%2FMcCpmbMV60H2cj2zMxk8gzV83E%2B19CODShcUQ7WSmNcXj5dyupEJ8SCHRBABBXhOZ8wzMLwU%2BgJy59DTzXl7ZZH1t0LzaOQLPSvjdqu%2FPNGhn1M7K4vVNti93hOCWsK0T3tltg9gfIjFF90gHSawS708WvcyUTmN%2BLD7m3cMJ9B9g9adISSU5d4NS7ohPyX%2FEQMom%2FDc2gU%3D&Expires=1532447173.
Add scripts to download the required models after installing nltk.
python3 -m nltk.downloader punkt
python3 -m nltk.downloader stopwords

sudden 505 error getting to my website on linux apache php

suddenly i am getting this error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster#kibakibi.com to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
and in apache error logs
[Fri Jan 19 12:42:15.226845 2018] [core:error] [pid 19115] [client 5.255.250.144:60384] End of script output before headers: index.php
[Fri Jan 19 12:42:17.217114 2018] [:error] [pid 19098] [client 5.188.10.11:51242] EasyApache PHP config file not found: /php.conf.yaml
[Fri Jan 19 12:42:17.217148 2018] [core:error] [pid 19098] [client 5.188.10.11:51242] End of script output before headers: index.php
[Fri Jan 19 12:42:17.221895 2018] [:error] [pid 19098] [client 5.188.10.11:51242] EasyApache PHP config file not found: /php.conf.yaml
[Fri Jan 19 12:42:17.221921 2018] [core:error] [pid 19098] [client 5.188.10.11:51242] End of script output before headers: index.php
[Fri Jan 19 12:42:20.958247 2018] [:error] [pid 19113] [client 54.36.148.28:59462] EasyApache PHP config file not found: /php.conf.yaml
[Fri Jan 19 12:42:20.958275 2018] [core:error] [pid 19113] [client 54.36.148.28:59462] End of script output before headers: index.php
[Fri Jan 19 12:42:20.963483 2018] [:error] [pid 19113] [client 54.36.148.28:59462] EasyApache PHP config file not found: /php.conf.yaml
[Fri Jan 19 12:42:20.963510 2018] [core:error] [pid 19113] [client 54.36.148.28:59462] End of script output before headers: index.php
[Fri Jan 19 12:42:21.772834 2018] [:error] [pid 19089] [client 66.249.66.21:41503] EasyApache PHP config file not found: /php.conf.yaml
[Fri Jan 19 12:42:21.772862 2018] [core:error] [pid 19089] [client 66.249.66.21:41503] End of script output before headers: index.php
[Fri Jan 19 12:42:21.777434 2018] [:error] [pid 19089] [client 66.249.66.21:41503] EasyApache PHP config file not found: /php.conf.yaml
[Fri Jan 19 12:42:21.777458 2018] [core:error] [pid 19089] [client 66.249.66.21:41503] End of script output before headers: index.php
[Fri Jan 19 12:42:21.911961 2018] [:error] [pid 19093] [client 84.201.133.27:54553] EasyApache PHP config file not found: /php.conf.yaml
[Fri Jan 19 12:42:21.911994 2018] [core:error] [pid 19093] [client 84.201.133.27:54553] End of script output before headers: index.php
[Fri Jan 19 12:42:21.917152 2018] [:error] [pid 19093] [client 84.201.133.27:54553] EasyApache PHP config file not found: /php.conf.yaml
[Fri Jan 19 12:42:21.917178 2018] [core:error] [pid 19093] [client 84.201.133.27:54553] End of script output before headers: index.php
[Fri Jan 19 12:42:21.974311 2018] [:error] [pid 19090] [client 5.188.10.11:53661] EasyApache PHP config file not found: /php.conf.yaml
[Fri Jan 19 12:42:21.974334 2018] [core:error] [pid 19090] [client 5.188.10.11:53661] End of script output before headers: index.php
[Fri Jan 19 12:42:21.979110 2018] [:error] [pid 19090] [client 5.188.10.11:53661] EasyApache PHP config file not found: /php.conf.yaml
[Fri Jan 19 12:42:21.979133 2018] [core:error] [pid 19090] [client 5.188.10.11:53661] End of script output before headers: index.php
[Fri Jan 19 12:42:22.944860 2018] [:error] [pid 19115] [client 54.36.149.63:42200] EasyApache PHP config file not found: /php.conf.yaml
[Fri Jan 19 12:42:22.944888 2018] [core:error] [pid 19115] [client 54.36.149.63:42200] End of script output before headers: index.php
[Fri Jan 19 12:42:22.949539 2018] [:error] [pid 19115] [client 54.36.149.63:42200] EasyApache PHP config file not found: /php.conf.yaml
[Fri Jan 19 12:42:22.949562 2018] [core:error] [pid 19115] [client 54.36.149.63:42200] End of script output before headers: index.php
[Fri Jan 19 12:42:23.190276 2018] [:error] [pid 19091] [client 100.43.81.113:55308] EasyApache PHP config file not found: /php.conf.yaml
[Fri Jan 19 12:42:23.190302 2018] [core:error] [pid 19091] [client 100.43.81.113:55308] End of script output before headers: index.php
[Fri Jan 19 12:42:23.194975 2018] [:error] [pid 19091] [client 100.43
I just rebuild the easy apache php settings and everything started working again.
(if you are on local just restart the apache if it does not work reinstall the apache and php services).

Resources