Hi everybody,
This morning I have downloaded Drupal 5.9 and I wanted to install it on my mac where XAMPP is already installed. I tried A LOT and it just won't work. I unzipped the folder in my htdocs folder (in a subfolder) and created the database, modified the chmod of the drupal folder (and every file and folder that is in it) to 775. The drupal folder won't appear in the list of folders - I my projects are not in the xampp folder, I removed the xampp folder and now my local server looks as if I installed LAMP on Ubuntu. Anyway, I tried to point the browser to the install file and I got this error:

"Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, you@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log."

Then I tried to install other CMSs to see if it was XAMPP or Drupal, or maybe my mac. I managed to install both Wordpress and Joomla in about 7 minutes. However, when I installed Joomla, I saw a small red box in the security section saying that for security reasons I should disable php's register_globals in php.ini . I did and guess what... it still didn't work; in fact, nothing has changed.
I tried all day to install drupal and it just won't work...I couldn't even reach the install page once...
Two month ago I had MAMP instead of XAMPP, and I tried to installed Drupal...it took me less than 3 minutes.

So I asked myself this question: is it even possible to install drupal on a mac with XAMPP? If it is, can somebody please give me a clue about what to do to make it work?

Anyway, if I can't manage to install drupall on XAMPP, I will reinstall MAMP for the sake of testing drupal and see if I prefer it over Wordpress. But I'd rather stay on XAMPP since all my projects are on it.

Thanks in advance

Comments

add1sun’s picture

I've never used XAMPP on Mac, only Windows. When I first went to Mac the XAMPP for Mac was very buggy (they still have a warning on the Mac version) so I used MAMP and never looked back. I don't know what about it would make Drupal not work while others do. Have you looked at the error log to see what it is reporting?

Lullabot loves you

Drupalize.Me, The best Drupal training, available all the time, anywhere!

styro’s picture

"Internal Server Error

...

More information about this error may be available in the server error log."

Did you look in the server error log?

--
Anton
New to Drupal? | Troubleshooting FAQ
Example knowledge base built with Drupal

darumaki’s picture

Try wampserver, it works good on pc and use mamp on mac

AzizLight’s picture

First of all, I would like to say thank you for your fast answers. I had not thought of the error log. I checked it out just a second ago and I saw that this message was repeating itself A LOT of times on August 5:

"/Applications/xampp/xamppfiles/htdocs/My_Projects/drupal/.htaccess: order not allowed here"

I've tried to check out the file .htaccess but I really don't know what to do with it...
Just in case, I've put it in pastebin: http://pastebin.com/m59a2da4

Can you tell me what is wrong please?

Edit: I've looked a little bit more deeply in the .htaccess file and I think the problem comes from this block of code:
http://pastebin.com/m150eea1b

However, it might not come from here, I just said it could come from here because it's the only block of code in the .htaccess file that contains the word "order"...
Anyway, I think I'm going to install MAMP once again, it will be so much easier.

darumaki’s picture

Are you on mac ? Then yes use mamp, I'd also recommend with mamp use default ports so you don't have to do the domain:88888 and user/sites for document root.

styro’s picture

something is misconfigured further 'upstream' in the Apache config. There isn't anything wrong with the directive in your .htaccess file - you just have some global Apache settings that are stopping it being used.

At a guess I would say that your global config needs the AllowOverride directive set to All:
http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride (look at the Limit part to see why it's complaining)

I don't use xampp (or Macs), so I wouldn't know where exactly in the Apache config file(s) you would need to set that directive. You should probably google for xampp and AllowOverride.

--
Anton
New to Drupal? | Troubleshooting FAQ
Example knowledge base built with Drupal

davcamer’s picture

styro is absolutely right here. I'm installing Drupal with XAMPP on a Mac right now and ran in to this problem. I fixed it by changing the AllowOverride directive inside of the container from AllowOverride AuthConfig to be AllowOverride All. This is on line 220 of /Applications/xampp/etc/httpd.conf.

This is an unfortunate problem, because both XAMPP for Windows and XAMPP for Linux already have an AllowOverride All in their htdocs container. I'm going to report this as a bug against XAMPP for Mac.

AzizLight’s picture

Thanks a lot for your answers. I managed to install Drupal on another computer (with Ubuntu and LAMP on it). I can't say if I liked it or not, but what I can say is that it's more powerful than WordPress and too complicated for me (for now at least - there is a small learning curve and I'm very, very lazy). However, I will still install MAMP once again and install Drupal on it to learn how to use it well and see if I really like it or not.
Also I know for sure that XAMPP for macs sucks a lot so I will try to get rid of it asap.
Anyway thanks again for the help.

PS: I read everywhere that the Drupal community is very small and that nobody answers the posts. Well I did not see any unanswered posts yet, and you answered me pretty fast; I was positively surprised :-)

darumaki’s picture

Here's something to consider, I'm not one of the brightest apples in the corn field and through trial and error, I've learned how to navigate through the drupal maze, not too bad for non-geek. It's a learning process, now I'm doing all kinds of drupal mad wizard stuff that I never thought possible. I think the drupal logo represents a tear drop, we all fall down and cry tears from the madness, then get back up and things get better :)

tierecke’s picture

Changed also from AllowOverride AuthConfig to All and it works great.
Thanks a lot!

ncameron’s picture

Me too! ah the release!

--
Drupal Development for Pleasure and Profit
http://drupal.altate.ch

dodigam537’s picture

Hi,

It worked for me also. But dont forget to restart your server.

Erik.Smith’s picture

I read your posting and see that this was posted in 08, question have this issue been resolved? I am use to using XAMPP but on windows; but since I've gotten custome to using a Mac I want to use XAMPP and install drupal 7. I just would like to know which Apache server service I need to use when working with drupal 7 "XAMPP" or "MAMP"?

Thank you

Erik