LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-19-2010, 06:19 PM   #1
helfrichmike
LQ Newbie
 
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
Problems with PHP5 and Apache


Well I have been running my web server for 5 months and had no problems. Today there was an update for PHP5 and Apache. I updated them and now I am having issues with accessing PHP files. It is forcing the download of any php file to the client. I probably need to downgrade to the last PHP5 but I don't know. I am running Ubuntu Server. Never had an issue like this before.
 
Old 10-19-2010, 08:15 PM   #2
10speed705
Member
 
Registered: May 2009
Location: Ontario Canada
Distribution: debian
Posts: 56

Rep: Reputation: 17
I am more of a perl/cgi guy myself but if I had to guess sounds like something didnt take in the update for php5-apache check the apache config files for something like

AddHandler application/x-httpd-php .php .phtml
AddHandler x-httpd-php .php .phtml

If your files aren't .php or .phtml, add the extension(s) you're using to the lines.

Hope this helps
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 1.3 + PHP5 ISSUE marguelles Linux - Software 4 10-14-2008 05:59 PM
problems enabling id3 support in PHP5.2.1/Apache/2.0.54/Fedora Core 4 nightsurfer Fedora 0 03-16-2007 12:35 PM
trying to install suse 10.1 with rpm/package apache and php5/ssl problems?? wandering Linux - General 1 07-03-2006 01:20 PM
Apache and PHP5 Mogatu Linux - Software 3 06-17-2005 04:43 PM
Problems configuring apache for php5 Besnell Mandriva 3 12-28-2004 10:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration