how to fix this error? im using php - php

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at admin#example.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.
error_log:
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host2.example.com] does not exist
[Tue Dec 03 17:09:22.142866 2013] [mpm_winnt:notice] [pid 14156:tid 408] AH00455: Apache/2.4.4 (Win64) PHP/5.4.12 configured -- resuming normal operations
[Tue Dec 03 17:09:22.142866 2013] [mpm_winnt:notice] [pid 14156:tid 408] AH00456: Server built: Feb 22 2013 22:08:37
[Tue Dec 03 17:09:22.142866 2013] [core:notice] [pid 14156:tid 408] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.4\\bin\\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4'
[Tue Dec 03 17:09:22.144866 2013] [mpm_winnt:notice] [pid 14156:tid 408] AH00418: Parent: Created child process 14052
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host2.example.com] does not exist
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host2.example.com] does not exist
[Tue Dec 03 17:09:22.809904 2013] [mpm_winnt:notice] [pid 14052:tid 300] AH00354: Child: Starting 150 worker threads.
[Tue Dec 03 17:11:22.260736 2013] [core:alert] [pid 14052:tid 1552] [client 127.0.0.1:52157] C:/wamp/www/nmb48/public/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[Tue Dec 03 17:11:28.206076 2013] [mpm_winnt:notice] [pid 14156:tid 408] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Tue Dec 03 17:11:30.214191 2013] [mpm_winnt:notice] [pid 14052:tid 300] AH00364: Child: All worker threads have exited.
[Tue Dec 03 17:11:30.236192 2013] [mpm_winnt:notice] [pid 14156:tid 408] AH00430: Parent: Child process 14052 exited successfully.
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host2.example.com] does not exist
[Tue Dec 03 17:11:31.524266 2013] [mpm_winnt:notice] [pid 10180:tid 408] AH00455: Apache/2.4.4 (Win64) PHP/5.4.12 configured -- resuming normal operations
[Tue Dec 03 17:11:31.525266 2013] [mpm_winnt:notice] [pid 10180:tid 408] AH00456: Server built: Feb 22 2013 22:08:37
[Tue Dec 03 17:11:31.525266 2013] [core:notice] [pid 10180:tid 408] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.4\\bin\\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4'
[Tue Dec 03 17:11:31.526266 2013] [mpm_winnt:notice] [pid 10180:tid 408] AH00418: Parent: Created child process 7664
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host2.example.com] does not exist
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host2.example.com] does not exist
[Tue Dec 03 17:11:32.229306 2013] [mpm_winnt:notice] [pid 7664:tid 300] AH00354: Child: Starting 150 worker threads.
[Tue Dec 03 17:12:19.407005 2013] [mpm_winnt:notice] [pid 10180:tid 408] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Tue Dec 03 17:12:21.411119 2013] [mpm_winnt:notice] [pid 7664:tid 300] AH00364: Child: All worker threads have exited.
[Tue Dec 03 17:12:21.434121 2013] [mpm_winnt:notice] [pid 10180:tid 408] AH00430: Parent: Child process 7664 exited successfully.
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host2.example.com] does not exist
[Tue Dec 03 17:12:23.036212 2013] [mpm_winnt:notice] [pid 904:tid 408] AH00455: Apache/2.4.4 (Win64) PHP/5.4.12 configured -- resuming normal operations
[Tue Dec 03 17:12:23.036212 2013] [mpm_winnt:notice] [pid 904:tid 408] AH00456: Server built: Feb 22 2013 22:08:37
[Tue Dec 03 17:12:23.036212 2013] [core:notice] [pid 904:tid 408] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.4\\bin\\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4'
[Tue Dec 03 17:12:23.037212 2013] [mpm_winnt:notice] [pid 904:tid 408] AH00418: Parent: Created child process 9288
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host2.example.com] does not exist
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host2.example.com] does not exist
[Tue Dec 03 17:12:23.732252 2013] [mpm_winnt:notice] [pid 9288:tid 300] AH00354: Child: Starting 150 worker threads.
[Tue Dec 03 17:15:00.675229 2013] [mpm_winnt:notice] [pid 904:tid 408] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Tue Dec 03 17:15:02.683344 2013] [mpm_winnt:notice] [pid 9288:tid 300] AH00364: Child: All worker threads have exited.
[Tue Dec 03 17:15:02.706345 2013] [mpm_winnt:notice] [pid 904:tid 408] AH00430: Parent: Child process 9288 exited successfully.
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host2.example.com] does not exist
[Tue Dec 03 17:15:04.385441 2013] [mpm_winnt:notice] [pid 4544:tid 408] AH00455: Apache/2.4.4 (Win64) PHP/5.4.12 configured -- resuming normal operations
[Tue Dec 03 17:15:04.385441 2013] [mpm_winnt:notice] [pid 4544:tid 408] AH00456: Server built: Feb 22 2013 22:08:37
[Tue Dec 03 17:15:04.385441 2013] [core:notice] [pid 4544:tid 408] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.4\\bin\\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4'
[Tue Dec 03 17:15:04.386441 2013] [mpm_winnt:notice] [pid 4544:tid 408] AH00418: Parent: Created child process 11524
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host2.example.com] does not exist
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host2.example.com] does not exist
[Tue Dec 03 17:15:05.087481 2013] [mpm_winnt:notice] [pid 11524:tid 300] AH00354: Child: Starting 150 worker threads.
[Tue Dec 03 17:21:07.324200 2013] [mpm_winnt:notice] [pid 4544:tid 408] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Tue Dec 03 17:21:09.328314 2013] [mpm_winnt:notice] [pid 11524:tid 300] AH00364: Child: All worker threads have exited.
[Tue Dec 03 17:21:09.351316 2013] [mpm_winnt:notice] [pid 4544:tid 408] AH00430: Parent: Child process 11524 exited successfully.

You haven't given enough information for people to be able to reply to "how to fix this error?".
It could be all manner of things, and without info it's impossible to tell.
Did the issue start after you uploaded a file? Perhaps a new .php file, or .htaccess file?
These (and other) file types can cause a server problem, so check what you last uploaded (if anything) and upload a previous version, or better yet back up files you recently added (if any) and remove them from the server, and see if the error goes away.
You need to examine the log files more closely. Read through and see if you can see anything that looks serious, paste the log entry details into Stack Overflow search (and Google) and see if others have details about it.
You should typically be looking in /var/log/apache2/error.log, but depends on what the config is set to.

Related

PHP 7, huge array not loading

Alright, I use WAMP and I have this massive array. When using PHP 5.6.40, it loads no problem. When using PHP 7.4.0, the page does not load and I get this error: ERR_CONNECTION_RESET. Then I reduce my array to a few lines and it loads then. What's the problem? I am very much sure there is no incorrect syntax in my code. Any ideas? Please share
Apache error log:
[Sat Jul 11 10:07:00.171208 2020] [mpm_winnt:notice] [pid 10472:tid
416] AH00428: Parent: child process 12132 exited with status
3221225725 -- Restarting.
[Sat Jul 11 10:07:00.296215 2020] [mpm_winnt:notice] [pid 10472:tid
416] AH00455: Apache/2.4.41 (Win64) PHP/7.4.0 configured -- resuming
normal operations
[Sat Jul 11 10:07:00.296215 2020] [mpm_winnt:notice] [pid 10472:tid
416] AH00456: Apache Lounge VS16 Server built: Aug 9 2019 16:46:32
[Sat Jul 11 10:07:00.296215 2020] [core:notice] [pid 10472:tid 416]
AH00094: Command line:
'c:\wamp64\bin\apache\apache2.4.41\bin\httpd.exe -d
C:/wamp64/bin/apache/apache2.4.41'
[Sat Jul 11 10:07:00.298216 2020] [mpm_winnt:notice] [pid 10472:tid
416] AH00418: Parent: Created child process 9976
[Sat Jul 11 10:07:01.231269 2020] [mpm_winnt:notice] [pid 9976:tid
332] AH00354: Child: Starting 64 worker threads.
[Sat Jul 11 10:07:01.831303 2020] [mpm_winnt:notice] [pid 10472:tid
416] AH00428: Parent: child process 9976 exited with status 3221225725
-- Restarting.
[Sat Jul 11 10:07:01.971311 2020] [mpm_winnt:notice] [pid 10472:tid
416] AH00455: Apache/2.4.41 (Win64) PHP/7.4.0 configured -- resuming
normal operations
[Sat Jul 11 10:07:01.972311 2020] [mpm_winnt:notice] [pid 10472:tid
416] AH00456: Apache Lounge VS16 Server built: Aug 9 2019 16:46:32
[Sat Jul 11 10:07:01.972311 2020] [core:notice] [pid 10472:tid 416]
AH00094: Command line:
'c:\wamp64\bin\apache\apache2.4.41\bin\httpd.exe -d
C:/wamp64/bin/apache/apache2.4.41'
[Sat Jul 11 10:07:01.974311 2020] [mpm_winnt:notice] [pid 10472:tid
416] AH00418: Parent: Created child process 10388
[Sat Jul 11 10:07:02.813359 2020] [mpm_winnt:notice] [pid 10388:tid
332] AH00354: Child: Starting 64 worker threads.
If you are confident that you have allocated enough memory, you can also try increasing the stack size in the Apache config. For example like so:
<IfModule mpm_winnt_module>
ThreadStackSize 6553600
</IfModule>

Apache works but the page does not load

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**

Laravel 4: #include causes Apache (httpd.exe) to crash (on Windows)

As the title says, there's a certain #include() that causes Apache to crash when it's executed.
This is the incriminated code, located in profile.php:
<hr>
#include('sections/userInformations', array('userOwner' => $profileUser, 'userVisitor' => $user))
<hr>
The $profileUser and $user come from the PagesController.php:
public function getProfile($username) {
return View::make('profile', array(
'privacy' => Privacy::where('user', '=', $username)->first(),
'profileUser' => User::where('username', '=', $username)->first(),
'user' => Auth::user()
));
}
Apache error.log:
[Thu Apr 17 18:17:30.840838 2014] [mpm_winnt:notice] [pid 2536:tid 324] AH00428: Parent: child process 1716 exited with status 3221225725 -- Restarting.
[Thu Apr 17 18:17:31.146862 2014] [ssl:warn] [pid 2536:tid 324] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Apr 17 18:17:31.183859 2014] [mpm_winnt:notice] [pid 2536:tid 324] AH00455: Apache/2.4.7 (Win32) OpenSSL/1.0.1e PHP/5.5.9 configured -- resuming normal operations
[Thu Apr 17 18:17:31.184859 2014] [mpm_winnt:notice] [pid 2536:tid 324] AH00456: Apache Lounge VC11 Server built: Nov 21 2013 20:13:01
[Thu Apr 17 18:17:31.184859 2014] [core:notice] [pid 2536:tid 324] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Apr 17 18:17:31.185859 2014] [mpm_winnt:notice] [pid 2536:tid 324] AH00418: Parent: Created child process 2904
[Thu Apr 17 18:17:31.627883 2014] [ssl:warn] [pid 2904:tid 396] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Apr 17 18:17:31.781898 2014] [ssl:warn] [pid 2904:tid 396] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Apr 17 18:17:31.819900 2014] [mpm_winnt:notice] [pid 2904:tid 396] AH00354: Child: Starting 150 worker threads.
[Thu Apr 17 18:17:33.170971 2014] [mpm_winnt:notice] [pid 2536:tid 324] AH00428: Parent: child process 2904 exited with status 3221225725 -- Restarting.
[Thu Apr 17 18:17:33.482989 2014] [ssl:warn] [pid 2536:tid 324] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Apr 17 18:17:33.520991 2014] [mpm_winnt:notice] [pid 2536:tid 324] AH00455: Apache/2.4.7 (Win32) OpenSSL/1.0.1e PHP/5.5.9 configured -- resuming normal operations
[Thu Apr 17 18:17:33.520991 2014] [mpm_winnt:notice] [pid 2536:tid 324] AH00456: Apache Lounge VC11 Server built: Nov 21 2013 20:13:01
[Thu Apr 17 18:17:33.520991 2014] [core:notice] [pid 2536:tid 324] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Apr 17 18:17:33.522991 2014] [mpm_winnt:notice] [pid 2536:tid 324] AH00418: Parent: Created child process 2064
[Thu Apr 17 18:17:33.966015 2014] [ssl:warn] [pid 2064:tid 392] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Apr 17 18:17:34.120025 2014] [ssl:warn] [pid 2064:tid 392] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Apr 17 18:17:34.159026 2014] [mpm_winnt:notice] [pid 2064:tid 392] AH00354: Child: Starting 150 worker threads.
PHP_ERROR_LOG is empty.
Actually there are 2 consequent crashes...
Give the following a go:
http://blog.codexpedia.com/apache-server/parent-child-process-exited-with-status-3221225725-restarting-on-xamp-apache/
httpd.conf:
<IfModule mpm_winnt_module>
ThreadStackSize 8888888
</IfModule>
Your actual error is [mpm_winnt:notice] [pid 2536:tid 324] AH00428: Parent: child process 2904 exited with status 3221225725 -- Restarting..
Try searching for exited with status 3221225725...
This seems to be a problem on windows,
Try adding the following at the end of apache config file: httpd.conf
<IfModule mpm_winnt_module>
ThreadStackSize 8388608
</IfModule>
then restart apache.

Apache 2.4.4 WAMP VHosts error

I had created two VirtualHosts earlier namely [localhost] and "phpsite". Yesterday I renamed "phpsite" as "phppages" and added one more virtual host named "techsupport.com". I use port 8088 on my Apache server. But now I am able to use [localhost]:8088 and phpsite:8088 though there's no virtual host named "phpsite" and if I go for techsupport.com:8088 I get nothing.
Here's my vhost content:
# Virtual Hosts
#
# Required modules: mod_log_config
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.4/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
#<VirtualHost *:80>
# ServerAdmin webmaster#dummy-host.example.com
# DocumentRoot "c:/Apache24/docs/dummy-host.example.com"
# ServerName dummy-host.example.com
# ServerAlias www.dummy-host.example.com
# ErrorLog "logs/dummy-host.example.com-error.log"
# CustomLog "logs/dummy-host.example.com-access.log" common
#</VirtualHost>
#<VirtualHost *:80>
# ServerAdmin webmaster#dummy-host2.example.com
# DocumentRoot "c:/Apache24/docs/dummy-host2.example.com"
# ServerName dummy-host2.example.com
# ErrorLog "logs/dummy-host2.example.com-error.log"
# CustomLog "logs/dummy-host2.example.com-access.log" common
#</VirtualHost>
<VirtualHost *:8088>
ServerAdmin admin#example.com
DocumentRoot "c:/wamp/www"
ServerName localhost
ServerAlias www.localhost.com
ErrorLog "logs/localhost-error.log"
CustomLog "logs/localhost-access.log" common
<Directory "c:/wamp/www">
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 localhost ::1
</Directory>
</VirtualHost>
<VirtualHost *:8088>
DocumentRoot "e:/techsupport"
ServerName techsupport.com
ServerAlias www.techsupport.com
ErrorLog "logs/techsupport-error.log"
CustomLog "logs/techsupport-access.log" common
<Directory "e:/TechSupport">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 localhost ::1
</Directory>
</VirtualHost>
<VirtualHost *:8088>
DocumentRoot "e:/phppages"
ServerName phppages
ServerAlias www.phppages.com
ErrorLog "logs/phppages-error.log"
CustomLog "logs/phppages-access.log" common
<Directory "e:/PHPPages">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 localhost ::1
</Directory>
</VirtualHost>
Apache's error log shows this:
[Sun Aug 25 12:50:06.646882 2013] [mpm_winnt:notice] [pid 7936:tid 500] AH00455: Apache/2.4.4 (Win64) PHP/5.4.12 configured -- resuming normal operations
[Sun Aug 25 12:50:06.646882 2013] [mpm_winnt:notice] [pid 7936:tid 500] AH00456: Server built: Feb 22 2013 22:08:37
[Sun Aug 25 12:50:06.646882 2013] [core:notice] [pid 7936:tid 500] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.4\\bin\\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4'
[Sun Aug 25 12:50:06.647883 2013] [mpm_winnt:notice] [pid 7936:tid 500] AH00418: Parent: Created child process 912
[Sun Aug 25 12:50:07.216263 2013] [mpm_winnt:notice] [pid 912:tid 384] AH00354: Child: Starting 150 worker threads.
[Sun Aug 25 12:51:15.409867 2013] [mpm_winnt:notice] [pid 7936:tid 500] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Sun Aug 25 12:51:17.411205 2013] [mpm_winnt:notice] [pid 912:tid 384] AH00364: Child: All worker threads have exited.
[Sun Aug 25 12:51:17.433218 2013] [mpm_winnt:notice] [pid 7936:tid 500] AH00430: Parent: Child process 912 exited successfully.
[Sun Aug 25 12:51:30.206760 2013] [mpm_winnt:notice] [pid 11396:tid 204] AH00455: Apache/2.4.4 (Win64) PHP/5.4.12 configured -- resuming normal operations
[Sun Aug 25 12:51:30.207763 2013] [mpm_winnt:notice] [pid 11396:tid 204] AH00456: Server built: Feb 22 2013 22:08:37
[Sun Aug 25 12:51:30.207763 2013] [core:notice] [pid 11396:tid 204] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.4\\bin\\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4'
[Sun Aug 25 12:51:30.208763 2013] [mpm_winnt:notice] [pid 11396:tid 204] AH00418: Parent: Created child process 4808
[Sun Aug 25 12:51:30.670070 2013] [mpm_winnt:notice] [pid 4808:tid 384] AH00354: Child: Starting 150 worker threads.
[Sun Aug 25 13:25:30.406049 2013] [mpm_winnt:notice] [pid 11396:tid 204] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Sun Aug 25 13:25:32.406924 2013] [mpm_winnt:notice] [pid 4808:tid 384] AH00364: Child: All worker threads have exited.
[Sun Aug 25 13:25:32.423935 2013] [mpm_winnt:notice] [pid 11396:tid 204] AH00430: Parent: Child process 4808 exited successfully.
[Sun Aug 25 13:28:38.706114 2013] [mpm_winnt:notice] [pid 10328:tid 516] AH00455: Apache/2.4.4 (Win64) PHP/5.4.12 configured -- resuming normal operations
[Sun Aug 25 13:28:38.706114 2013] [mpm_winnt:notice] [pid 10328:tid 516] AH00456: Server built: Feb 22 2013 22:08:37
[Sun Aug 25 13:28:38.706114 2013] [core:notice] [pid 10328:tid 516] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.4\\bin\\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4'
[Sun Aug 25 13:28:38.708114 2013] [mpm_winnt:notice] [pid 10328:tid 516] AH00418: Parent: Created child process 4716
[Sun Aug 25 13:28:39.170423 2013] [mpm_winnt:notice] [pid 4716:tid 380] AH00354: Child: Starting 150 worker threads.
[Sun Aug 25 13:33:14.347584 2013] [mpm_winnt:notice] [pid 10328:tid 516] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Sun Aug 25 13:33:16.349839 2013] [mpm_winnt:notice] [pid 4716:tid 380] AH00364: Child: All worker threads have exited.
[Sun Aug 25 13:33:16.369232 2013] [mpm_winnt:notice] [pid 10328:tid 516] AH00430: Parent: Child process 4716 exited successfully.
[Sun Aug 25 13:33:18.445939 2013] [mpm_winnt:notice] [pid 7048:tid 464] AH00455: Apache/2.4.4 (Win64) PHP/5.4.12 configured -- resuming normal operations
[Sun Aug 25 13:33:18.445939 2013] [mpm_winnt:notice] [pid 7048:tid 464] AH00456: Server built: Feb 22 2013 22:08:37
[Sun Aug 25 13:33:18.445939 2013] [core:notice] [pid 7048:tid 464] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.4\\bin\\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4'
[Sun Aug 25 13:33:18.446940 2013] [mpm_winnt:notice] [pid 7048:tid 464] AH00418: Parent: Created child process 2556
[Sun Aug 25 13:33:18.801179 2013] [mpm_winnt:notice] [pid 2556:tid 324] AH00354: Child: Starting 150 worker threads.
[Sun Aug 25 13:35:23.175992 2013] [mpm_winnt:notice] [pid 7048:tid 464] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Sun Aug 25 13:35:25.178255 2013] [mpm_winnt:notice] [pid 2556:tid 324] AH00364: Child: All worker threads have exited.
[Sun Aug 25 13:35:25.197268 2013] [mpm_winnt:notice] [pid 7048:tid 464] AH00430: Parent: Child process 2556 exited successfully.
[Sun Aug 25 13:35:28.224795 2013] [mpm_winnt:notice] [pid 10616:tid 504] AH00455: Apache/2.4.4 (Win64) PHP/5.4.12 configured -- resuming normal operations
[Sun Aug 25 13:35:28.224795 2013] [mpm_winnt:notice] [pid 10616:tid 504] AH00456: Server built: Feb 22 2013 22:08:37
[Sun Aug 25 13:35:28.224795 2013] [core:notice] [pid 10616:tid 504] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.4\\bin\\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4'
[Sun Aug 25 13:35:28.225792 2013] [mpm_winnt:notice] [pid 10616:tid 504] AH00418: Parent: Created child process 4012
[Sun Aug 25 13:35:28.599042 2013] [mpm_winnt:notice] [pid 4012:tid 324] AH00354: Child: Starting 150 worker threads.
[Sun Aug 25 13:43:03.326392 2013] [mpm_winnt:notice] [pid 10616:tid 504] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Sun Aug 25 13:43:07.389104 2013] [mpm_winnt:notice] [pid 4012:tid 324] AH00364: Child: All worker threads have exited.
[Sun Aug 25 13:43:07.404736 2013] [mpm_winnt:notice] [pid 10616:tid 504] AH00430: Parent: Child process 4012 exited successfully.
[Sun Aug 25 13:45:26.908312 2013] [mpm_winnt:notice] [pid 4788:tid 504] AH00455: Apache/2.4.4 (Win64) PHP/5.4.12 configured -- resuming normal operations
[Sun Aug 25 13:45:26.970818 2013] [mpm_winnt:notice] [pid 4788:tid 504] AH00456: Server built: Feb 22 2013 22:08:37
[Sun Aug 25 13:45:26.970818 2013] [core:notice] [pid 4788:tid 504] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.4\\bin\\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4'
[Sun Aug 25 13:45:26.970818 2013] [mpm_winnt:notice] [pid 4788:tid 504] AH00418: Parent: Created child process 5084
[Sun Aug 25 13:45:27.517719 2013] [mpm_winnt:notice] [pid 5084:tid 384] AH00354: Child: Starting 150 worker threads.
In httpd.cnf file:
Listen 0.0.0.0:8088
(Earlier it was just Listen 8088)
And
Include conf/extra/httpd-vhosts.conf
is uncommented as it should be.
I am helpless right now and have already spent 2 days on it. Please help.
Thanks
I had created two VirtualHosts earlier namely [localhost] and "phpsite". Yesterday I renamed "phpsite" as "phppages" and added one more virtual host named "techsupport.com". I use port 8088 on my Apache server. But now I am able to use [localhost]:8088 and phpsite:8088 though there's no virtual host named "phpsite" and if I go for techsupport.com:8088 I get nothing.
The only reason that "phppages" is not working and "phpsite" is working could be because you have a DNS entry or an entry in the host file for "phpsite" and not for "phppages". To debug this I would start by pinging them.
ping phppages
ping phpsite
While we're at the name resolution topic, your techsupport.com:8088 is not going to work because techsupport.com gets resolved to external site. If they don't have port 8088 open to the public, you simply won't be able to navigate to that site on that port. However, if they did then you would have been able to browse their pages not yours.
I'm not sure how WAMP manages host names, but the first thing to check is your DNS Server if you have one, otherwise check C:\Windows\System32\drivers\etc\hosts.
To make phppages work add the following lines to your C:\Windows\System32\drivers\etc\hosts:
127.0.0.1 phppages www.phppages.com
# Similarly for techsupport.com and www.techsupport.com
127.0.0.1 techsupport.com www.techsupport.com
After this your phppages and techsupport urls should work.
Caution: Adding public URLs to your hosts file might cause confusions in future when/if you removed that virtual host from httpd-vhosts.conf and forget to remove corresponding host name from the host file, in which case these public URLs will not be reachable to the correct destination. So, it is not recommended to use public host names for your virtual hosts.
Hope this helps.

PHP files won't run on new xampp installation

Apache appears to be running OK and when I go into the xampp control panel I can check phpinfo() and everything shows up just fine. When I try to open up any php files in my browser the page is blank.
Here is my Apache error log
[Wed Aug 29 07:07:19.160419 2012] [ssl:warn] [pid 280:tid 376] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Aug 29 07:07:19.768831 2012] [mpm_winnt:notice] [pid 280:tid 376] AH00455: Apache/2.4.2 (Win32) OpenSSL/1.0.1c PHP/5.4.4 configured -- resuming normal operations
[Wed Aug 29 07:07:19.768831 2012] [mpm_winnt:notice] [pid 280:tid 376] AH00456: Server built: May 13 2012 14:10:15
[Wed Aug 29 07:07:19.768831 2012] [core:notice] [pid 280:tid 376] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Aug 29 07:07:19.768831 2012] [mpm_winnt:notice] [pid 280:tid 376] AH00418: Parent: Created child process 424
[Wed Aug 29 07:07:20.673648 2012] [ssl:warn] [pid 424:tid 268] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Aug 29 07:07:20.767250 2012] [mpm_winnt:notice] [pid 424:tid 268] AH00354: Child: Starting 150 worker threads.
[Wed Aug 29 07:18:17.441000 2012] [mpm_winnt:notice] [pid 280:tid 376] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Wed Aug 29 07:19:34.371074 2012] [core:warn] [pid 1608:tid 376] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Aug 29 07:19:35.104275 2012] [ssl:warn] [pid 1608:tid 376] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Aug 29 07:19:38.193080 2012] [mpm_winnt:notice] [pid 1608:tid 376] AH00455: Apache/2.4.2 (Win32) OpenSSL/1.0.1c PHP/5.4.4 configured -- resuming normal operations
[Wed Aug 29 07:19:38.224280 2012] [mpm_winnt:notice] [pid 1608:tid 376] AH00456: Server built: May 13 2012 14:10:15
[Wed Aug 29 07:19:38.224280 2012] [core:notice] [pid 1608:tid 376] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Aug 29 07:19:38.317881 2012] [mpm_winnt:notice] [pid 1608:tid 376] AH00418: Parent: Created child process 2812
[Wed Aug 29 07:19:40.221084 2012] [ssl:warn] [pid 2812:tid 268] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Aug 29 07:19:40.252284 2012] [mpm_winnt:notice] [pid 2812:tid 268] AH00354: Child: Starting 150 worker threads.
Are you using Windows 7
Windows 7 has webserver which uses Port 80
so apache might not be running.
Check if port 80 is being used
To change port no of Xampp apache check this link
Xampp server port
I had this happen to a working installation and it turned out that Skype was running and blocking the normal port I used.

Categories