Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 11-05-2004, 11:12 AM   #1
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

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

and for the webcalendar setup i followed this

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

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
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
Registered: May 2004
Location: Tacoma, Wa
Distribution: Gentoo
Posts: 94

Original Poster
Rep: Reputation: 15
ok thanks


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:24 PM.

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