LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-05-2004, 11:12 AM   #1
sendas4
Member
 
Registered: May 2004
Location: Tacoma, Wa
Distribution: Gentoo
Posts: 94

Rep: Reputation: 15
New to PHP and Postgressql. Is this a PHP problem or a sql problem. Please help


Hi im new at using apache and databases. Im trying to get this webcalendar thing going for my work.

i used this howto for apache
http://gentoo-wiki.com/HOWTO_Apache2...iguring_Apache

everything seemed to go ok. I just didnt use MySQL.

and for the webcalendar setup i followed this
http://cvs.sourceforge.net/viewcvs.p...type=text/html

when I goto my web address i get this. Is this a PHP problem or a Database problem?

<?php
include_once 'includes/init.php';

// If not yet logged in, you will be redirected to login.php before
// we get to this point (by connect.php included above)

do_redirect ( empty ( $STARTVIEW ) ? "month.php" : "$STARTVIEW.php" );
?>
 
Old 11-05-2004, 01:10 PM   #2
yano
Member
 
Registered: Nov 2004
Location: Slovak republic - Bratislava
Distribution: debian & gentoo
Posts: 43

Rep: Reputation: 15
What You are getting are not errors, but PHP code.

This mean, that php doest not handle php files.
Possible reasons:
1. You did not compiled your php
2. You forget to change httpd.conf to parse php files with php
 
Old 11-05-2004, 01:54 PM   #3
sendas4
Member
 
Registered: May 2004
Location: Tacoma, Wa
Distribution: Gentoo
Posts: 94

Original Poster
Rep: Reputation: 15
ok thanks
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP and SQL book berrance General 2 03-03-2005 08:35 AM
Php, Sql kotoisin Fedora 3 11-30-2004 05:18 PM
can not connect to sql with php gkaffen338 Linux - Newbie 5 04-22-2004 11:36 AM
php/SQL shaggystyle Linux - General 1 12-23-2003 09:29 AM
Apache php index.php problem neurotic Linux - Software 3 11-18-2003 06:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:35 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