LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-27-2010, 08:24 AM   #1
godeny
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Rep: Reputation: 0
Apache server not processing PHP


I am running the Linux server ( debian etch ) on a virtual machine since more than a year. About a week ago the mail server ( exim4 ) stopped working. I've started aptitude and made something i cannot remember exactly ( said o.k. to an action aptitude proposed me solving some inconsistencies, but aptitude itself crashed several time with "cannot fork" and "SIGSEGV" ) - since then apache2 does not handle the PHP pages, delivers the php source to the browser.

I've tried reinstalling PHP5, but no success so far
- php5 is installed, also the libapache2-mod-php5
- The php5 module is activeted ( the symbolic links stay in mods-enabled. If i remove / rename the /usr/lib/apache2/modules/libphp5.so file, i get an error message when i restart apache2 - it seems me, the PHP5 module is loaded into apache2.

The apache2 configuration file 000-default contains my virtual hosts, among them for example:

<VirtualHost *:80>
ServerName bahnschranke.pxtr.de
DocumentRoot /home/laffin/index_bahnschranke
<Directory "/home/laffin">
AddHandler application/x-httpd-php .php
Options FollowSymlinks
</Directory>
</VirtualHost>


When i try to load a page from this virtual host into my browser, i get the php source code (opened by a texteditor), and no log line is written, neither into error.log, nor into access.log

How could i find the problem ? What should i check to see, what is happening ?

As i said, the system worked correctly for monthes, it is not a new installation, but something went wrong in the last days.

Thank you in advance
Zoltan
 
Old 12-27-2010, 08:45 AM   #2
godeny
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Sorry guys, Mozilla made me thinking it is not running - even if i've pushed the "reload" button several times, it delivered the old state, the source code. When i manually cleared the cache, suddenly it worked - it means, it worked already.
 
  


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
Please help with Apache Web Server / Apache Tomcat / PHP / Java / PHP-Java Bridge jpmad4it Linux - Server 2 01-05-2009 06:07 AM
Apache not processing PHP files jwolter0 Linux - Server 2 09-05-2007 09:22 PM
PHP & Apache - php files not processing aolong Linux - General 1 12-17-2006 03:09 AM
setting up a slack, apache server with php and a sql server. caged Slackware 1 10-25-2004 04:45 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 - Server

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