Problem with website running in xampp

i have an issue with one of my sites when I run it in xampp.

I am getting the following error message when I run any of the files in the folder. I tried to set AllowOverride None to AllowOverride All in the httpd.config but this gives the same result.

Attached is the message.

I don’t seem to be having the same issue with other folders that I have in the htdocs file which are running PHP files.

I appreciate any help with this.

This is the error I’m getting for anyone who can’t see my attached image:

Server Error!

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.

If you think this is a server error, please contact the webmaster.

Have you checked the Apache log files?

no i haven’t. I searched for a solution and someone suggested deleting the .htaccess file in the xampp folder which is inside htdocs folder, however, the .htaccess file didn’t seem to be present there.

Check out the error log:

C:\xampp\apache\logs\error.log

If you do not understand the errors then copy and paste the latest dozen errors.

[Tue Nov 02 03:32:08 2004] [notice] Digest: generating secret for digest authentication …
[Tue Nov 02 03:32:08 2004] [notice] Digest: done
[Tue Nov 02 03:32:11 2004] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 configured – resuming normal operations
[Tue Nov 02 03:32:11 2004] [notice] Server built: Sep 10 2011 11:34:11
[Tue Nov 02 03:32:11 2004] [notice] Parent: Created child process 2792
[Tue Nov 02 03:32:13 2004] [notice] Digest: generating secret for digest authentication …
[Tue Nov 02 03:32:13 2004] [notice] Digest: done
[Tue Nov 02 03:32:14 2004] [notice] Child 2792: Child process is running
[Tue Nov 02 03:32:14 2004] [notice] Child 2792: Acquired the start mutex.
[Tue Nov 02 03:32:14 2004] [notice] Child 2792: Starting 150 worker threads.
[Tue Nov 02 03:32:14 2004] [notice] Child 2792: Starting thread to listen on port 443.
[Tue Nov 02 03:32:14 2004] [notice] Child 2792: Starting thread to listen on port 80.
[Tue Nov 02 03:44:12 2004] [warn] pid file C:/xampp/apache/logs/httpd.pid overwritten – Unclean shutdown of previous Apache run?

Sometimes these issues can be fixed by simply reinstalling. I would go that route than if the problem persists start digging into the actual meaning of the errors in the log.

You could also switch over to using Vagrant + Virtual Box + Puphpet. That is the route all the cool kids are heading in the modern world of php web dev. It is a little more involved setup but much more flexible. Especially if you need to install additional software like php extensions not covered under xampp, ruby, node js, etc. All of which are very common these days to have alongside the php environment.

[Tue Nov 02 03:32:14 2004]
Looks as though your clock has the wrong time or you copied the log results from the beginning of the file and not the end.

Log results are appended to the end of the file.

What app is being run eg Wordpress, phpbb, SMF, Joomla, etc?

wordpress is being used

would the error possibly be related to the wordpress folder which is located in this particular site’s folder in xampp