LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-02-2004, 02:25 PM   #1
sigep739
LQ Newbie
 
Registered: Dec 2003
Posts: 16

Rep: Reputation: 0
PHP does not resolve


I am setting up a server at home and I am having some issues... feel free to check it out. The domain is joepatterson.com

When I go to joepatterson.com/gallery/ , for some reason, the index.php file does not resolve. Why does it show a list of files rather than the index.php files?

Secondly, when I click on index.php and I click on the 'Configuration Wizard' on the page, I get a 500 server error. I have installed this gallery a LOT of times and I have had no issues before... The permissions are correct, or at least, I believe so.

Please help.

Thanks.
 
Old 01-02-2004, 02:28 PM   #2
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
Have you edited your httpd.conf file to parse php files?
 
Old 01-02-2004, 02:41 PM   #3
duerra
Member
 
Registered: Oct 2003
Location: Where No One's Been... Spiral Out!
Distribution: FreeBSD
Posts: 201

Rep: Reputation: 30
Make sure you have your directory indexing correct:

DirectoryIndex index.html index.php

Since you're getting server errors when clicking on your index.php, this might be what's causing index.php not to resolve as well, as well - though that doesn't seem too likely.

Look in your error.log to see what error message you're getting from Apache, and that will help us figure out what's going wrong with the server, in your index.php script.
 
Old 01-02-2004, 03:37 PM   #4
sigep739
LQ Newbie
 
Registered: Dec 2003
Posts: 16

Original Poster
Rep: Reputation: 0
OK... I got the server to automatically load the index.php file... Thanks,

Now any idea why going to joepatterson.com/gallery and then clicing on Configuration Wizard I get a 500 error?
 
Old 01-02-2004, 03:53 PM   #5
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
Yep. Read the page and it tells you what to do. Read index.php


Unix with shell access
% cd /path/to/your/gallery
% sh ./configure.sh

Unix with FTP access
ftp> chmod 666 .htaccess
ftp> chmod 666 config.php
ftp> chmod 755 setup

Windows
C:\> cd \path\to\your\gallery
C:\> configure.bat

You have to run that first.
 
Old 01-02-2004, 03:57 PM   #6
sigep739
LQ Newbie
 
Registered: Dec 2003
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks for your thoughts...

This about the 5th time I have installed gallery... so I am familiar with it. However, this is the first time I have setup my OWN server. I have done their setup process already and made all the permissions correct on my end (at least as far as their instructions go)... I am guessing I have a httpd.conf error or something... but I am not sure, or a permission error somewhere else.

Any ideas? What does 500 error usually mean?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot resolve name moonmoth Linux - Newbie 8 07-15-2005 04:32 PM
php resolve in console Phantisy Linux - Software 3 04-07-2005 01:18 PM
Cannot resolve name uniko Linux - Networking 2 01-04-2005 06:08 AM
php apache or php cgi - php learner rblampain Linux - Security 3 12-17-2004 11:10 PM
Can not resolve RH 9 oreng Linux - Networking 1 07-23-2003 07:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration