feathertail: (Default)
Tachyon Feathertail ([personal profile] feathertail) wrote in [community profile] linux4all2011-07-20 05:33 am

PHP development server troubleshooting!

Okay, this is like my fifth time trying to get LAMP set up on Ubuntu, and yes, that includes using XAMPP. (All I want to do is practice my PHP so I can write WordPress plugins! *sob* Why does the world's easiest language have to be so hard to set up?)

*cough* Anyway. I used these instructions this time, after uninstalling XAMPP and what were hopefully all traces of my last attempt at doing this. I'm not using Netbeans -- gedit is okay with me -- and I didn't get any error messages or anything, so I thought I'd actually gotten it set up and set to use /home/feathertail/PHP as the document root.

I put a test file in there, browsed to /localhost and got this:
Forbidden

You don't have permission to access /testphp.php on this server.

Apache/2.2.17 (Ubuntu) Server at localhost Port 80
And for some reason it has the XAMPP logo as its favicon.

Can anyone point me in the direction of finally solving this once and for all?
snakeling: Statue of the Minoan Snake Goddess (Default)

[personal profile] snakeling 2011-07-20 12:18 pm (UTC)(link)
What are the permissions for this file?
snakeling: Statue of the Minoan Snake Goddess (Default)

[personal profile] snakeling 2011-07-20 05:57 pm (UTC)(link)
Damn. It's been so long since I last installed LAMP that I can't remember what problems I used to have with it.

I haven't installed it since I did a clean install of Natty, actually. I'll try to do it this weekend using the same tutorial as you and see if I can replicate your problem. If nobody's found a solution and you haven't heard of me by Monday, poke me :)