LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-26-2005, 04:24 PM   #1
khansen
LQ Newbie
 
Registered: May 2005
Distribution: Ubuntu
Posts: 3

Rep: Reputation: 0
PHP and Apache2 problems


I've been running Ubuntu as a regular server for quite some time now.

I recently went throught a series of updates and had to reinstall Apache2. In the process, php files stopped being parsed. Calling them in the browser would pop up a "What do you want to open this with?" dialog. I went through all the steps to reinstall and configure php with apache as I had done in the past. Something strange is happening, however. For some reason, any php filein /var/www will not be parsed, but any .php file in the userdir's (/home/username/public_html) is. I can't figure this one out for the life of me.
Any help would be greatly appreciated.
 
Old 05-26-2005, 04:32 PM   #2
auximini
Member
 
Registered: Dec 2003
Location: Calgary, AB
Distribution: Any!
Posts: 146

Rep: Reputation: 18
This might be the same strange error I've seen a couple other times. Chances are you are using a Mozilla-based browser. Try closing out of the browser, killing all processes to it and trying again. If that doesnt help, reboot the computer. I know it sounds wacky, but I've seen this atleast 4 other times.
 
Old 05-26-2005, 08:36 PM   #3
khansen
LQ Newbie
 
Registered: May 2005
Distribution: Ubuntu
Posts: 3

Original Poster
Rep: Reputation: 0
I tried that a couple of minutes ago....

Quote:
Originally posted by auximini
This might be the same strange error I've seen a couple other times. Chances are you are using a Mozilla-based browser. Try closing out of the browser, killing all processes to it and trying again. If that doesnt help, reboot the computer. I know it sounds wacky, but I've seen this atleast 4 other times.
You know, I tried that a couple of minutes ago without success. I also thought it might be a cache issue or somthing like that so I tried it on a separate machine that hadn't ever accessed the site before with similar results.

Am I at the point where I need to remove and re-install Apache and PHP to solve this?
 
Old 05-26-2005, 08:55 PM   #4
auximini
Member
 
Registered: Dec 2003
Location: Calgary, AB
Distribution: Any!
Posts: 146

Rep: Reputation: 18
Maybe look at the apache config file and do a search for all occurances of PHP to see if anything got mangled up somehow.. like messed up directory options or something. Other than that I am stumped
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache2.0.52, t1lib-5.0.2, php-apache2-5.0.2 wizard7423 Slackware 2 04-04-2011 08:09 PM
Apache2 and PHP unreal128 SUSE / openSUSE 0 05-10-2005 08:51 PM
php5 apache2 mysql4 don't work, php does not seem to read php.ini atom Linux - Software 5 03-24-2005 11:05 AM
Solution to ALL MySQL, PHP, Apache2 problems in SuSE SuSE_fan Linux - Software 5 06-03-2004 08:07 AM
PHP 4.3.4 on Apache2 wenberg Linux - Software 3 02-08-2004 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:35 AM.

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