I am attempting to login to my ModX install.
The manager login screen comes up, and I can type in my username and password. Once I hit login I am presented with the The connection was reset in firefox, and in Chrome with No data received - Unable to load the webpage because the server sent no data.
Error code: ERR_EMPTY_RESPONSE
The server is Ubuntu 13.10 running Apache 2 with php 5.5.3 and is my own personal server. All I've done is keep up with updates...
What can the issue be?
I don't know if this will help, but here is the log from my last restart of apache:
[Thu Apr 10 13:07:19.928031 2014] [mpm_prefork:notice] [pid 9826] AH00169: caught SIGTERM, shutting down
[Thu Apr 10 13:07:21.049656 2014] [suexec:notice] [pid 11164] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Apr 10 13:07:21.077715 2014] [auth_digest:notice] [pid 11165] AH01757: generating secret for digest authentication ...
[Thu Apr 10 13:07:21.079094 2014] [:notice] [pid 11168] FastCGI: process manager initialized (pid 11168)
[Thu Apr 10 13:07:21.129505 2014] [:notice] [pid 11165] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Thu Apr 10 13:07:21.129536 2014] [:notice] [pid 11165] mod_python: using mutex_directory /tmp
[Thu Apr 10 13:07:21.232375 2014] [mpm_prefork:notice] [pid 11165] AH00163: Apache/2.4.6 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_fcgid/2.3.9 PHP/5.5.3-1ubuntu2.3 mod_python/3.3.1 Python/2.7.5+ OpenSSL/1.0.1e configured -- resuming normal operations
[Thu Apr 10 13:07:21.232458 2014] [core:notice] [pid 11165] AH00094: Command line: '/usr/sbin/apache2'
[Thu Apr 10 13:08:09.296802 2014] [core:notice] [pid 11165] AH00051: child pid 11173 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Thu Apr 10 13:08:09.296887 2014] [core:notice] [pid 11165] AH00051: child pid 11187 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Thu Apr 10 13:08:34.337400 2014] [core:notice] [pid 11165] AH00051: child pid 11212 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Thu Apr 10 13:08:35.338551 2014] [core:notice] [pid 11165] AH00051: child pid 11188 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Thu Apr 10 13:08:35.338631 2014] [core:notice] [pid 11165] AH00051: child pid 11213 exit signal Segmentation fault (11), possible coredump in /etc/apache2
Related
I'm getting a segmentation fault on macOS, but only when using PHP from homebrew (tried with 7.2, 7.3). If I switch back to default macOS PHP, it works fine.
[Tue Jun 02 22:47:54.220053 2020] [core:notice] [pid 66936] AH00052: child pid 35517 exit signal Segmentation fault (11)
[Tue Jun 02 22:47:55.289187 2020] [core:notice] [pid 66936] AH00052: child pid 35520 exit signal Segmentation fault (11)
[Tue Jun 02 22:49:17.040809 2020] [core:notice] [pid 66936] AH00052: child pid 35521 exit signal Segmentation fault (11)
[Tue Jun 02 22:49:18.116103 2020] [core:notice] [pid 66936] AH00052: child pid 35964 exit signal Segmentation fault (11)
[Tue Jun 02 22:49:19.183073 2020] [core:notice] [pid 66936] AH00052: child pid 35966 exit signal Segmentation fault (11)
I tried to dump Apache core, but had no luck. It only happens (as far as I know) on login screens, such as PhpMyAdmin and wp-login.
Any thoughts?
Thanks!
Our server started to get hit with a particular URL from many different IPs. The URL was for the file wp-login.php. We are running PHP but we are not running Word Press. This looks like some sort of brute force attack. We have thousands of error log entries that look like this:
[Mon Sep 25 08:49:02.199784 2017] [:error] [pid 55904] [client 85.101.234.119:62848] script '/var/www/html/wp-login.php' not found or unable to stat
[Mon Sep 25 08:52:59.426923 2017] [:error] [pid 62559] [client 157.50.13.248:57481] script '/var/www/html/wp-login.php' not found or unable to stat
[Mon Sep 25 08:59:24.561571 2017] [:error] [pid 73252] [client 42.115.49.147:39332] script '/var/www/html/wp-login.php' not found or unable to stat
[Mon Sep 25 09:03:36.470029 2017] [:error] [pid 74502] [client 24.14.179.217:34758] script '/var/www/html/wp-login.php' not found or unable to stat
Eventually we get the following error log entry:
[Tue Sep 26 07:31:04.925077 2017] [mpm_prefork:error] [pid 53301] AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
Then we start getting thousands of these entries:
[Tue Sep 26 07:40:26.028058 2017] [core:notice] [pid 53301] AH00051: child pid 61097 exit signal Bus error (7), possible coredump in /etc/apache2
[Tue Sep 26 07:40:27.032093 2017] [core:notice] [pid 53301] AH00051: child pid 61118 exit signal Bus error (7), possible coredump in /etc/apache2
[Tue Sep 26 07:40:28.032829 2017] [mpm_prefork:error] [pid 53301] (12)Cannot allocate memory: AH00159: fork: Unable to fork new process
[Tue Sep 26 07:40:38.034664 2017] [core:notice] [pid 53301] AH00051: child pid 61127 exit signal Bus error (7), possible coredump in /etc/apache2
[Tue Sep 26 07:40:38.035026 2017] [core:notice] [pid 53301] AH00051: child pid 61116 exit signal Bus error (7), possible coredump in /etc/apache2
[Tue Sep 26 07:40:38.035068 2017] [core:notice] [pid 53301] AH00051: child pid 61115 exit signal Bus error (7), possible coredump in /etc/apache2
[Tue Sep 26 07:40:39.499756 2017] [mpm_prefork:error] [pid 53301] (12)Cannot allocate memory: AH00159: fork: Unable to fork new process
[Tue Sep 26 07:40:49.501294 2017] [core:notice] [pid 53301] AH00051: child pid 73499 exit signal Bus error (7), possible coredump in /etc/apache2
[Tue Sep 26 07:40:49.501632 2017] [core:notice] [pid 53301] AH00051: child pid 73498 exit signal Bus error (7), possible coredump in /etc/apache2
[Tue Sep 26 07:40:49.501667 2017] [core:notice] [pid 53301] AH00051: child pid 73500 exit signal Bus error (7), possible coredump in /etc/apache2
[Tue Sep 26 07:40:49.501764 2017] [core:notice] [pid 53301] AH00051: child pid 61188 exit signal Bus error (7), possible coredump in /etc/apache2
[Tue Sep 26 07:40:49.501797 2017] [core:notice] [pid 53301] AH00051: child pid 61170 exit signal Bus error (7), possible coredump in /etc/apache2
[Tue Sep 26 07:40:50.509833 2017] [mpm_prefork:error] [pid 53301] (12)Cannot allocate memory: AH00159: fork: Unable to fork new process
[Tue Sep 26 07:41:00.512913 2017] [mpm_prefork:error] [pid 53301] (12)Cannot allocate memory: AH00159: fork: Unable to fork new process
[Tue Sep 26 07:41:10.529013 2017] [core:notice] [pid 53301] AH00051: child pid 61268 exit signal Bus error (7), possible coredump in /etc/apache2
[Tue Sep 26 07:41:10.535317 2017] [core:notice] [pid 53301] AH00051: child pid 61201 exit signal Bus error (7), possible coredump in /etc/apache2
[Tue Sep 26 07:41:10.535367 2017] [core:notice] [pid 53301] AH00051: child pid 61204 exit signal Bus error (7), possible coredump in /etc/apache2
Then we have literally 100 or more apache2 processes running and our swap space maxes out and the server comes to a crawl and is unresponsive.
I temporarily fixed it by putting a blank wp-login.php page in the root and restarting apache. But now I can reproduce the same behavior by simply making a request to a bogus URL. I get a 404 but I also get more apache2 processes running and the same log entries.
I don’t know very much about Apache and it’s configuration. Is there anyone that can help me with this issue ?
Thanks,
Warren
I need help.
I can not solve this problem.
My configs:
Intel Core I5 - 3,2 GHz
8 GB RAM
Windows 7 Enterprise x64 SP1
Versions:
httpd-2.4.23-win32-VC11
php-5.6.24-Win32-VC11-x86
instantclient-basic-win32-11.2.0.1.0
php_oci8-2.0.8-5.6-ts-vc11-x86.zip
What happens is that, I start the service without any error.
But when I open a page that contains PHP, the Apache resets (AH00428: Parent: child process 4608 exited with status 3958377386 -- Restarting.).
Windows returns me the error message: "Apache HTTPD Server stopped working."
Follow the apache error.log:
[Tue Aug 16 09:35:22.320400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00455: Apache/2.4.23 (Win32) configured -- resuming normal operations
[Tue Aug 16 09:35:22.320400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00456: Apache Lounge VC11 Server built: Jul 7 2016 11:13:22
[Tue Aug 16 09:35:22.320400 2016] [core:notice] [pid 4864:tid 616] AH00094: Command line: 'httpd.exe -d C:/Apache24'
[Tue Aug 16 09:35:22.336400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00418: Parent: Created child process 4608
[Tue Aug 16 09:35:22.914400 2016] [mpm_winnt:notice] [pid 4608:tid 632] AH00354: Child: Starting 64 worker threads.
[Tue Aug 16 09:35:50.895400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00428: Parent: child process 4608 exited with status 3958377386 -- Restarting.
[Tue Aug 16 09:35:51.035400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00455: Apache/2.4.23 (Win32) configured -- resuming normal operations
[Tue Aug 16 09:35:51.035400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00456: Apache Lounge VC11 Server built: Jul 7 2016 11:13:22
[Tue Aug 16 09:35:51.035400 2016] [core:notice] [pid 4864:tid 616] AH00094: Command line: 'httpd.exe -d C:/Apache24'
[Tue Aug 16 09:35:51.051400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00418: Parent: Created child process 5172
[Tue Aug 16 09:35:51.661400 2016] [mpm_winnt:notice] [pid 5172:tid 632] AH00354: Child: Starting 64 worker threads.
[Tue Aug 16 09:35:52.388400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00428: Parent: child process 5172 exited with status 3958377386 -- Restarting.
[Tue Aug 16 09:35:52.491400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00455: Apache/2.4.23 (Win32) configured -- resuming normal operations
[Tue Aug 16 09:35:52.491400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00456: Apache Lounge VC11 Server built: Jul 7 2016 11:13:22
[Tue Aug 16 09:35:52.491400 2016] [core:notice] [pid 4864:tid 616] AH00094: Command line: 'httpd.exe -d C:/Apache24'
[Tue Aug 16 09:35:52.506400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00418: Parent: Created child process 1120
[Tue Aug 16 09:35:53.062400 2016] [mpm_winnt:notice] [pid 1120:tid 628] AH00354: Child: Starting 64 worker threads.
Apache server interrupted...
[Tue Aug 16 09:36:22.150400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Tue Aug 16 09:36:24.151400 2016] [mpm_winnt:notice] [pid 1120:tid 628] AH00364: Child: All worker threads have exited.
[Tue Aug 16 09:36:24.214400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00430: Parent: Child process 1120 exited successfully.
access.log is empty.
I can not fix this.
Any tips?
Thanks.
Edit
I looked at windows event log and found this:
Application Error
EventRecordID 72126
Channel Application
EventData:
httpd.exe
2.4.23.0
577e1b96
KERNELBASE.dll
6.1.7601.18229
51fb1116
ebf00baa
0000c41f
e2c
01d1f7de4709ca89
C:\Apache24\bin\httpd.exe
C:\WINDOWS\syswow64\KERNELBASE.dll
9238afff-63d1-11e6-bca1-641c67645206
I managed to solve the problem.
I disable all PHP extensions and looked at the windows event log.
Was giving error as follows:
Application name: httpd.exe, version: 2.4.23.0
Module: php5apache2_4.dll, versão: 0.0.0.0
Exception Code: 0xc0000005
Application path failed: C:\Apache24\bin\httpd.exe
Fault module path: C:\PHP\php5apache2_4.dll
Report Identification: cae5d4a7-6486-11e6-bca1-641c67645206
I deleted the PHP folder, wiped the register, downloaded again, and enabled the extensions needed.
And now is functioning normally.
I have installed on my PC: Apache 2.4.9, PHP 5.4.0, MySQL 5.5.
So I did not get any mistakes from Apache or PHP but, when I'm trying to load my local projects something wrong. Sometimes projects run, but sometimes Web page is not available.
Sometimes localhost working other not working. I don't know how to solve this problem, I didn't get mistake on my logs/error.
So anybody know what is this? I can put here any information if need.
This what logs show me.
[Wed Apr 30 11:12:02.765532 2014] [mpm_winnt:notice] [pid 3748:tid 584] AH00428: Parent: child process 5960 exited with status 255 -- Restarting.
[Wed Apr 30 11:12:02.877538 2014] [mpm_winnt:notice] [pid 3748:tid 584] AH00455: Apache/2.4.9 (Win64) PHP/5.4.0 configured -- resuming normal operations
[Wed Apr 30 11:12:02.877538 2014] [mpm_winnt:notice] [pid 3748:tid 584] AH00456: Apache Lounge VC10 Server built: Mar 17 2014 12:11:31
[Wed Apr 30 11:12:02.877538 2014] [core:notice] [pid 3748:tid 584] AH00094: Command line: 'C:\server\Apache24\bin\httpd.exe -d C:/server/Apache24'
[Wed Apr 30 11:12:02.879538 2014] [mpm_winnt:notice] [pid 3748:tid 584] AH00418: Parent: Created child process 5964
[Wed Apr 30 11:12:03.332564 2014] [mpm_winnt:notice] [pid 5964:tid 524] AH00354: Child: Starting 64 worker threads.
[Wed Apr 30 11:12:03.556577 2014] [mpm_winnt:notice] [pid 3748:tid 584] AH00428: Parent: child process 5964 exited with status 255 -- Restarting.
[Wed Apr 30 11:12:03.695585 2014] [mpm_winnt:notice] [pid 3748:tid 584] AH00455: Apache/2.4.9 (Win64) PHP/5.4.0 configured -- resuming normal operations
[Wed Apr 30 11:12:03.695585 2014] [mpm_winnt:notice] [pid 3748:tid 584] AH00456: Apache Lounge VC10 Server built: Mar 17 2014 12:11:31
[Wed Apr 30 11:12:03.695585 2014] [core:notice] [pid 3748:tid 584] AH00094: Command line: 'C:\server\Apache24\bin\httpd.exe -d C:/server/Apache24'
[Wed Apr 30 11:12:03.696585 2014] [mpm_winnt:notice] [pid 3748:tid 584] AH00418: Parent: Created child process 1808 [Wed Apr 30**strong text**
My first post, hope someone can help......!
Firstly the context & my situation: I've worked in IT since 1972 (so can guess my age!), started off programming in COBOL & Assembler. My career progressed through development roles into IT management (Project/Programme/IT Director). Became unemployed in 2012 and have not been able to land a job in IT management role, so have decided to explore other avenues - return to my developer roots and update my skills & self-learn web technologies. After a bit of research, decided that PHP, Apache and MYSQL was the most cost-effective & opportunity enhancing way to go. Now I mention my background to make readers aware that although I have a good understanding of most IT Concepts and techniques my specific tech skills are very out of date, having been a driver rather than a mechanic for at least the last 25 years!.
So armed with lots of books on the subject borrowed from the library and several viewed youtube videos, I am trying to set up a PHP/Apache/MYsQL dev environment on my Windows 8 PC to learn and develop a proof-of-concept app for an idea that I have.
So here's the problem that I has stumped me:
- I have installed Apache 2.4.9, PHP 5.4 and Mysql 5.6 on my windows 8 pc
- I have edited the php.ini and httpd.conf file as per instructions
- I have created an index.php which contains phpinfo () surrounded by the php tags
- I Enter localhost in to browser (chrome) and phpinfo executes OK
- I create a .php file and put in phpinfo () surrounded by the php tags and it finds the file and executes OK
- Now If I edit said .php and put some valid php echo statements in before the phpinfo, they display OK, along with the phpinfo output
- but if I edit said .php file and remove the phpinfo () statement, the browser returns ...the requested web page is not available!
- if I edit the said .php file to put some valid php echo statements in after the phpinfo, the phpinfo output appears but not the php echo outputs
- NB Browser executes an html_test.htm file OK
- same occurs if I substitute phpcredits () for phpinfo ()
- I 've tried putting in an mysqli statement in a file with a phpinfo () and that returned web page is not available (i'm sure the Mysql integration will present another challenge!)
I checked / rechecked the basics of the set up and tried everything I know to get it working but to no avail - I'm sure its something quite simple and obvious but it's escaping me (suspect that it might be something to do with the php error handling but just don't know how to check)
Happy to provide more detailed info on request...
Can any young-gun help the old dinosaur out of the swamp?
Rgds
OK - Here's the code for file a) php_name_with_phpinfo.php:
$surname = "Mysurname";
$firstname = "Myfirstname";
echo $firstname . " " . $surname;
phpinfo ();
and here's the code for file b) php_name_without_phpinfo.php:
$surname = "Mysurname";
$firstname = "Myfirstname";
echo $firstname . " " . $surname;
Assure you that the php start and end tags are around both these bits of code but I can get them to apopear in this question (despite trying to enclose in " or 's)
file a) outputs
Myfirstname Mysurname and then the PHP Version 5.5.8 table
file b) outputs:
This web page is not available
I'm mystified
Here's the Apache logs from the last test:
[Sun Apr 13 19:32:15.005429 2014] [:error] [pid 6472:tid 1180] [client ::1:49856] PHP Warning: phpinfo(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in C:\Apache24\htdocs\index.php on line 5
[Sun Apr 13 19:32:15.671297 2014] [mpm_winnt:notice] [pid 1932:tid 416] AH00428: Parent: child process 6472 exited with status 255 -- Restarting.
[Sun Apr 13 19:32:15.809554 2014] [mpm_winnt:notice] [pid 1932:tid 416] AH00455: Apache/2.4.9 (Win32) configured -- resuming normal operations
[Sun Apr 13 19:32:15.809554 2014] [mpm_winnt:notice] [pid 1932:tid 416] AH00456: Apache Lounge VC9 Server built: Mar 17 2014 19:17:53
[Sun Apr 13 19:32:15.809554 2014] [core:notice] [pid 1932:tid 416] AH00094: Command line: 'C:\Apache24\bin\httpd.exe -d C:/Apache24'
[Sun Apr 13 19:32:15.810555 2014] [mpm_winnt:notice] [pid 1932:tid 416] AH00418: Parent: Created child process 3440
[Sun Apr 13 19:32:16.169793 2014] [mpm_winnt:notice] [pid 3440:tid 684] AH00354: Child: Starting 64 worker threads.
[Sun Apr 13 19:32:39.679326 2014] [:error] [pid 3440:tid 1160] [client ::1:49860] PHP Warning: phpinfo(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in C:\Apache24\htdocs\php_name_with_phpinfo.php on line 8
[Sun Apr 13 19:32:39.998571 2014] [mpm_winnt:notice] [pid 1932:tid 416] AH00428: Parent: child process 3440 exited with status 255 -- Restarting.
[Sun Apr 13 19:32:40.080627 2014] [mpm_winnt:notice] [pid 1932:tid 416] AH00455: Apache/2.4.9 (Win32) configured -- resuming normal operations
[Sun Apr 13 19:32:40.080627 2014] [mpm_winnt:notice] [pid 1932:tid 416] AH00456: Apache Lounge VC9 Server built: Mar 17 2014 19:17:53
[Sun Apr 13 19:32:40.080627 2014] [core:notice] [pid 1932:tid 416] AH00094: Command line: 'C:\Apache24\bin\httpd.exe -d C:/Apache24'
[Sun Apr 13 19:32:40.081628 2014] [mpm_winnt:notice] [pid 1932:tid 416] AH00418: Parent: Created child process 3500
[Sun Apr 13 19:32:40.463914 2014] [mpm_winnt:notice] [pid 3500:tid 372] AH00354: Child: Starting 64 worker threads.
[Sun Apr 13 19:32:50.459089 2014] [mpm_winnt:notice] [pid 1932:tid 416] AH00428: Parent: child process 3500 exited with status 255 -- Restarting.
[Sun Apr 13 19:32:50.548148 2014] [mpm_winnt:notice] [pid 1932:tid 416] AH00455: Apache/2.4.9 (Win32) configured -- resuming normal operations
[Sun Apr 13 19:32:50.549151 2014] [mpm_winnt:notice] [pid 1932:tid 416] AH00456: Apache Lounge VC9 Server built: Mar 17 2014 19:17:53
[Sun Apr 13 19:32:50.549151 2014] [core:notice] [pid 1932:tid 416] AH00094: Command line: 'C:\Apache24\bin\httpd.exe -d C:/Apache24'
[Sun Apr 13 19:32:50.550149 2014] [mpm_winnt:notice] [pid 1932:tid 416] AH00418: Parent: Created child process 6552
[Sun Apr 13 19:32:50.885418 2014] [mpm_winnt:notice] [pid 6552:tid 388] AH00354: Child: Starting 64 worker threads.
[Sun Apr 13 19:32:51.031514 2014] [mpm_winnt:notice] [pid 1932:tid 416] AH00428: Parent: child process 6552 exited with status 255 -- Restarting.
[Sun Apr 13 19:32:51.181935 2014] [mpm_winnt:notice] [pid 1932:tid 416] AH00455: Apache/2.4.9 (Win32) configured -- resuming normal operations
[Sun Apr 13 19:32:51.181935 2014] [mpm_winnt:notice] [pid 1932:tid 416] AH00456: Apache Lounge VC9 Server built: Mar 17 2014 19:17:53
[Sun Apr 13 19:32:51.181935 2014] [core:notice] [pid 1932:tid 416] AH00094: Command line: 'C:\Apache24\bin\httpd.exe -d C:/Apache24'
[Sun Apr 13 19:32:51.183934 2014] [mpm_winnt:notice] [pid 1932:tid 416] AH00418: Parent: Created child process 6580
[Sun Apr 13 19:32:51.532238 2014] [mpm_winnt:notice] [pid 6580:tid 668] AH00354: Child: Starting 64 worker threads.
[Sun Apr 13 19:32:53.098367 2014] [mpm_winnt:notice] [pid 1932:tid 416] AH00428: Parent: child process 6580 exited with status 255 -- Restarting.
[Sun Apr 13 19:32:53.185426 2014] [mpm_winnt:notice] [pid 1932:tid 416] AH00455: Apache/2.4.9 (Win32) configured -- resuming normal operations
[Sun Apr 13 19:32:53.185426 2014] [mpm_winnt:notice] [pid 1932:tid 416] AH00456: Apache Lounge VC9 Server built: Mar 17 2014 19:17:53
[Sun Apr 13 19:32:53.185426 2014] [core:notice] [pid 1932:tid 416] AH00094: Command line: 'C:\Apache24\bin\httpd.exe -d C:/Apache24'
[Sun Apr 13 19:32:53.187427 2014] [mpm_winnt:notice] [pid 1932:tid 416] AH00418: Parent: Created child process 6820
[Sun Apr 13 19:32:53.567752 2014] [mpm_winnt:notice] [pid 6820:tid 676] AH00354: Child: Starting 64 worker threads.
[Sun Apr 13 19:32:53.712849 2014] [mpm_winnt:notice] [pid 1932:tid 416] AH00428: Parent: child process 6820 exited with status 255 -- Restarting.
[Sun Apr 13 19:32:53.823924 2014] [mpm_winnt:notice] [pid 1932:tid 416] AH00455: Apache/2.4.9 (Win32) configured -- resuming normal operations
[Sun Apr 13 19:32:53.823924 2014] [mpm_winnt:notice] [pid 1932:tid 416] AH00456: Apache Lounge VC9 Server built: Mar 17 2014 19:17:53
[Sun Apr 13 19:32:53.823924 2014] [core:notice] [pid 1932:tid 416] AH00094: Command line: 'C:\Apache24\bin\httpd.exe -d C:/Apache24'
[Sun Apr 13 19:32:53.824925 2014] [mpm_winnt:notice] [pid 1932:tid 416] AH00418: Parent: Created child process 4068
[Sun Apr 13 19:32:54.201196 2014] [mpm_winnt:notice] [pid 4068:tid 640] AH00354: Child: Starting 64 worker threads.
More info from testing for anyone who is listening:
- syntactically correct php statements appearing before phpinfo () in file process OK
- syntactically correct php statements appearing after phpinfo () in file don't process, just the table is output
- a file that contains syntactically correct php statements but no phpinfo () returns The Web Page is not available'
- a file that contains syntactically incorrect php statements (e.g eco) and a phpinfo () returns the Web page is unavailable.
- Firefox and IE seem to process a valid php file containing phpinfo () but it quickly disappears from the screen and returns the server not found page (is this a clue?)
Still feel its something to with handling of errors but can't see anything in php.ini or apache 2.4 settings that would help me diagnose further.
Shall I give up and use XAMPP?
I tried to de/then reinstall Apache 2.4 and PHP 5.4 but it only made things worse!, so after a few more days of messing around, I deinstalled the lot and went with XAMPP which was quite straightforward to set up and seems to be working well....anyway, as far as my limited knowledge can tell. In hindsight I wish I had known about and used XAMPP from the start and saved myself alot of anguish, frustration and wasted time!.
Thanks & Rgds.
Most likely you spoiled some PHP syntax while removing phpinfo call.
Edit your php.ini again and set display_errors to on - this way you will see a syntax error message instead of generic error page.
Try to use the below code and check for error if there is any. It should work as shown below :
<?php
error_reporting(E_ALL);
$surname = "Mysurname"; $firstname = "Myfirstname";
echo $firstname . " " . $surname;
?>