Hello. I searched around and could not find the same problem I was having. I tried to install drupal 6.0 on my localhost. I tried a couple time and I keep coming up with this issue. Does anyone know how to fix this?

I am using 10.5.1, MAMP for my local host

"Installing Drupal
The installation has encountered an error.
Please continue to the error page

An HTTP error 500 occurred. http://localhost:8888/drupal/install.php?locale=en&profile=default&id=1&..."

Thanks for help ahead of time!

Comments

richardquay’s picture

edit: I just looked at my phpMyAdmin and it looks like all the tables were installed. Also I can get to the homepage and try to login but I was never able to set up my site or config the username. Hope this helps.

emando’s picture

Hi,

I am not an expert in this but i was successfully install Drupal6 using WAMP5. You may download it at below link.
http://www.wampserver.com/en/download.php

Here are the steps:
- make sure the WAMP5 taskbar icon is white
- left click the icon and open phpMyAdmin then click "Privileges" to create a new DB.
- click "Add a New User" and field out "username: drupal6", "host: localhost", "password: drupal6", "re-type: drupal6" then select "
Create database with same name and grant all privileges " and click "Go".
- after we are done creating a new DB then we find the WAMP5 installed folder called "www". Create new folder call "drupal6" then extract the drupal6 files into the new folder.
- open your firefox or IE then type in "localhost/drupal6" and follow the installation process.

Hope this helps.

Emando

t.a. barnhart’s picture

not interchangeable

muriqui’s picture

If you haven't done so already, try bumping up your PHP memory limit to 16M in php.ini. I believe MAMP installs with it set to 8M by default, which causes the installer to throw that error. So, in /Applications/MAMP/conf/php5/php.ini, find the line that says memory_limit = 8M and change it to memory_limit = 16M. You may also want to start over with a blank database, just in case it didn't finish everything before throwing the error. Then run through the installer again.

nielsforpokker’s picture

Thank you so much. I was struggling with this same problem and changing the memory limit fixed it beautifully.

rpflo’s picture

I've got the exact problem. Using MAMP and Leopard. It creates the tables but when the install.php gets to >Install Site it dies and gives me:

An HTTP error 500 occurred. http://localhost:8888/drupal/install.php?locale=en&profile=default&id=1&op=do

I bumped the memory limit up to 16 and then 32 and still no dice. (before each attempt I killed the previous database and made a new one)

I even went in and did:

chmod o+w sites/default
chmod o+w sites/default/files

Any tips?

mlncn’s picture

Tell MAMP to stop and then start the apache server in order to read the new php settings.

benjamin, Agaric Design Collective

benjamin, Agaric

danieltyack’s picture

I found this thread after trying multiple times to install Drupal with MAMP on OSX 10.5.2. I had even changed the memory limits but had not restarted the server. Thanks!!!

mrogers’s picture

If you're using MAMP Pro, it's key that you don't directly edit the file 'php.ini' in a text editor, because your changes won't stick. Instead, in MAMP Pro, go 'File > Edit template > PHP 5' and edit the memory setting there. Then restart Apache. Hope that helps!

jptaranto’s picture

You were right about MAMP Pro, thanks for the fix!

axelator’s picture

the mamp pro tip was right on! i never would have guessed it!

t.a. barnhart’s picture

just to make things worse, i'd get the error, get directed to the error page -- and have a blank screen. all good now.

merci beaucoup

joelongstreet’s picture

Thanks for your help. I was struggling with this one for a while.

jamieventure’s picture

these suggestions work great. Thanks guys.

axelator’s picture

yes, i would like to add my thanks - and also additional help:

i found with MAMP Pro i had to follow a very specific order of operations to successfully install Drupal:

  1. reset MAMP Pro to 16MB as described above and restart servers
  2. create new database for Drupal with MAMP PHPMyAdmin
  3. download and install Drupal files
  4. create and set permissions for settings.php and files/ directory
  5. only after the above steps could i successfully follow the Drupal install process.
danoprey’s picture

Was a simple error in my .install code, solved.

Sivert’s picture

Plenty of good suggestions here. However, a simple syntax error, e.g. in a module which you are tampering with, can also result in only the "Internal server error" being displayed. If this is the case, you can check the apache error log for details. On my setup (Bitnani on Mac OS X) the error log is in /Applications/[installdir]/apache2/logs/error_log. Use "tail error_log" for most recent errors, and the log will specify the incorrect syntax for you.

kenyob’s picture

I kept getting this error on my system and finally determined that the fact that I ran out of space on my harddrive was causing the issue.
Delete some files, empty the trash, and then try reloading the website again.