LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-22-2003, 09:15 AM   #1
loadimmed
LQ Newbie
 
Registered: Jul 2003
Posts: 6

Rep: Reputation: 0
installing php


i know this question may seem redundant, but i've tried everything and I can't get php to work. i've unpacked the tar.gz file, used ./configure and make & make install, everything seems to work fine. i copied the php.ini file to usr/local/bin and edited the httpd.conf to reflect the addtype changes, restart the server, and no luck whatsoever. i changed documentroot to /var/www/html, and when i try to run php scripts there, it gives me the "save to disk" prompt, even though i'm certain that i have that AddType application/x-httpd-php .php tag written successfully. i've followed virtually every php linux tutorial on the web to no avail.

also, i've tried to update my version of php, but when i run php -v, it returns the old version.

nothing is working, please help.

thanks...
 
Old 07-22-2003, 10:28 AM   #2
Rumblefish
Member
 
Registered: Jun 2003
Location: Delaware
Distribution: Redhat 7.0, 7.2, 8.0, 9.0, FreeBSD 4.6.2
Posts: 51

Rep: Reputation: 15
How did you restart Apache? Using a script and a 'restart' directive, or an explicit start and then stop? Sometimes, from my experience, 'restart' doesn't always pick up config changes.
 
Old 07-22-2003, 10:36 AM   #3
loadimmed
LQ Newbie
 
Registered: Jul 2003
Posts: 6

Original Poster
Rep: Reputation: 0
i did /usr/local/apache2/bin/apachectl restart, but i've also done the standard stop and start commands as well.
 
  


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
Installing PHP tntcoder Linux - Newbie 4 12-17-2005 03:53 AM
installing php 5.0.5 da_cat Linux - Software 1 11-19-2005 07:16 AM
installing php-5.0.1 mohtasham1983 Linux - Software 1 06-27-2005 07:40 PM
Installing PHP vinicius Linux - Newbie 5 09-18-2003 12:36 PM
Installing PHP help, please. WorldBuilder Linux - Software 3 06-06-2003 01:36 PM

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

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