LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-30-2002, 03:01 PM   #1
kozart
LQ Newbie
 
Registered: Nov 2002
Posts: 5

Rep: Reputation: 0
PHP on server


I have slackware 8.1 and the php package is installed. I uploaded some php files its for a webmail program. When you go the php it just shows the source.. Any reason why?
 
Old 11-30-2002, 05:28 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
You haven't configurd apache to work with php most likely.
 
Old 11-30-2002, 08:39 PM   #3
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Make certain to upgrade apache, and php from the slackware patches to 8.1, there were some serious issues fixed with mod_php 4.2.2.

What you're going to need to do is uncomment the line:

Include /etc/apache/mod_php.conf

from the end of /etc/apache/httpd.conf

My guess is also that you're going to be running squirrelmail, but regardless, funnel that puppy through https, you'll need to upgrade mod_ssl too.

Cheers,

Finegan

Last edited by finegan; 11-30-2002 at 08:41 PM.
 
Old 11-30-2002, 09:27 PM   #4
kozart
LQ Newbie
 
Registered: Nov 2002
Posts: 5

Original Poster
Rep: Reputation: 0
You answered it right after I realized that.. All is working thanks guys... Any certain way to upgrade?
 
Old 12-01-2002, 01:05 AM   #5
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
download the upgrade, for instance, all of these would be a good start:
apache-1.3.26-i386-2.tgz mod_ssl-2.8.10_1.3.26-i386-1.tgz openssl-solibs-0.9.6e-i386-1.tgz
glibc-2.2.5-i386-3.tgz
openssh-3.4p1-i386-2.tgz
php-4.2.2-i386-1.tgz
glibc-solibs-2.2.5-i386-2.tgz
openssl-0.9.6e-i386-1.tgz


From the Slackware 8.1 patches directory on you favorite up to date ftp mirror, and then drop the machine to runlevel 1 with:

init 1

then

installpkg glibc-2.2.5-i386-3.tgz

and so on, it'll take about half an hour to do them all, but Patrick released right before the apache AND ssh debacles, so nothing like keeping current.

Cheers,

Finegan

Last edited by finegan; 12-01-2002 at 01:10 AM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
MYSQL Server + Apache Server + PHP gabriellai Linux - Networking 7 05-26-2005 12:03 PM
setting up a slack, apache server with php and a sql server. caged Slackware 1 10-25-2004 04:45 AM
help: my 1st php server eech55 Linux - Software 1 10-06-2004 05:04 PM
php: different mail server from php.ini rayds Programming 0 09-14-2004 03:48 AM
Apache+php on one server and MySQL on onother server? goe Linux - Newbie 3 08-19-2004 04:25 PM

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

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