LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 08-21-2004, 01:18 PM   #1
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
php configuration on Slackware 10


I'm trying to learn php and wrote the following php page,

<html>
<head>
<title>test page</title>
</head>
<body>
<?php
echo 'testing php';
?>
</body>
</html>

I discovered that php won't print anything to the browser and I believe it is a problem with the configuration on Slack because the same page works fine under fedora. Anyway help will be appreciated.
 
Old 08-21-2004, 01:43 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
If you view the source of the page having accessed the page through your web server does it still look the same as what you have posted above?
 
Old 08-21-2004, 01:53 PM   #3
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Original Poster
Rep: Reputation: 73
Yeas, it does. Now, I know it's not supposed to do that, so how do I rectify this.

Last edited by reddazz; 08-21-2004 at 01:54 PM.
 
Old 08-21-2004, 02:07 PM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Original Poster
Rep: Reputation: 73
Question Ok, sorted

I have finally got a solution. Apache wasn't configured to include mod_php.conf. After I uncommented the line relevant to mod_php.conf, it works like a charm.

Last edited by reddazz; 08-21-2004 at 02:23 PM.
 
  


Reply


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Configuration Kronux Linux - Software 3 02-25-2005 05:28 PM
Apache PHP configuration varunbihani Linux - Newbie 2 01-18-2005 02:49 AM
slackware, apache and PHP from .tgz - problems with PHP szymon Slackware 2 09-06-2004 04:57 PM
PHP Configuration [Need urgent help] drweb Linux - Newbie 5 06-24-2003 01:57 PM
Updating php 4.3.1 from tar and keeping current php configuration with mandrake 9.1 mrjeep Linux - General 0 04-02-2003 07:50 AM


All times are GMT -5. The time now is 01:46 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration