Tachyon Feathertail (
feathertail) wrote in
linux4all2011-07-20 05:33 am
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
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:
Can anyone point me in the direction of finally solving this once and for all?
*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:
ForbiddenAnd for some reason it has the XAMPP logo as its favicon.
You don't have permission to access /testphp.php on this server.
Apache/2.2.17 (Ubuntu) Server at localhost Port 80
Can anyone point me in the direction of finally solving this once and for all?
no subject
no subject
no subject
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 :)
no subject
no subject
If the other things on the page indicate that they're not running on XAMPP, I wouldn't worry about the favicon, and would focus on the /localhost thing.
no subject
no subject
I must say this is not the most helpful tutorial I've ever worked with. For one thing, the very first command didn't work XD
Did you go through all the steps, especially reloading the Apache server? What are the permissions on ~/PHP?
no subject
And the permissions are all "Create and delete files" for everyone. >.>; It's baffling.