Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd November 2008, 22:02
zalo zalo is offline
Member
 
Join Date: Jan 2006
Posts: 33
Thanks: 7
Thanked 0 Times in 0 Posts
Default I have a problem with all of my sites

All my sites suddenly stopped working. They suddenly started showing the code instead of the desired PHP content.

Example
removed link

It seems to be a PHP problem, but I’m not sure. Does anyone know what could cause this kind of problem?

Need to fix this as soon as possible, Thanks

Thanks
Zalo

Last edited by zalo; 25th November 2008 at 18:35.
Reply With Quote
Sponsored Links
  #2  
Old 24th November 2008, 01:58
mlz mlz is offline
Senior Member
 
Join Date: Dec 2006
Posts: 189
Thanks: 16
Thanked 9 Times in 9 Posts
Default

You have PHP turned on for the sites? The only thing I can think of is that for some reason mod_php isn't being loaded, check your error.log for apache and ensure it's not bombing. Till or Falko probably could tell you right off the bat what it is tho.
Reply With Quote
  #3  
Old 24th November 2008, 07:05
zalo zalo is offline
Member
 
Join Date: Jan 2006
Posts: 33
Thanks: 7
Thanked 0 Times in 0 Posts
Default

Thanks for the reply!

PHP is activated on all websites trough the webmin interface. All my sites have worked for at least a year with PHP, but it suddenly stopped working this weekend.

How do i check if the mod_php is loaded?

The error log seems to be ok?

Error.log:
[Sun Nov 23 21:23:19 2008] [error] an unknown filter was not added: PHP
[Sun Nov 23 21:23:19 2008] [error] an unknown filter was not added: PHP
[Sun Nov 23 21:23:19 2008] [error] an unknown filter was not added: PHP
[Sun Nov 23 21:23:19 2008] [error] an unknown filter was not added: PHP
[Sun Nov 23 21:23:19 2008] [error] an unknown filter was not added: PHP
[Sun Nov 23 21:33:49 2008] [notice] caught SIGTERM, shutting down
[Sun Nov 23 21:33:49 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Sun Nov 23 21:33:50 2008] [notice] Apache/2.2.4 (Linux/SUSE) mod_ssl/2.2.4 OpenSSL/0.9.8e PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations
[Sun Nov 23 21:33:55 2008] [error] [client 81.167.0.236] File does not exist: /var/www/sharedip/favicon.ico, referer: http://www.website.no/
[Sun Nov 23 21:37:03 2008] [notice] caught SIGTERM, shutting down
[Sun Nov 23 21:37:04 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Sun Nov 23 21:37:04 2008] [notice] Apache/2.2.4 (Linux/SUSE) mod_ssl/2.2.4 OpenSSL/0.9.8e PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations
[Sun Nov 23 21:44:47 2008] [notice] caught SIGTERM, shutting down
[Sun Nov 23 21:44:48 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Sun Nov 23 21:44:48 2008] [notice] Apache/2.2.4 (Linux/SUSE) mod_ssl/2.2.4 OpenSSL/0.9.8e PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations
[Sun Nov 23 21:48:17 2008] [notice] caught SIGTERM, shutting down
[Sun Nov 23 21:48:18 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Sun Nov 23 21:48:18 2008] [notice] Apache/2.2.4 (Linux/SUSE) mod_ssl/2.2.4 OpenSSL/0.9.8e PHP/5.2.7RC4 with Suhosin-Patch configured -- resuming normal operations
[Sun Nov 23 21:49:32 2008] [notice] caught SIGTERM, shutting down
[Sun Nov 23 21:49:33 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Sun Nov 23 21:49:33 2008] [notice] Apache/2.2.4 (Linux/SUSE) mod_ssl/2.2.4 OpenSSL/0.9.8e PHP/5.2.7RC4 with Suhosin-Patch configured -- resuming normal operations
[Sun Nov 23 21:51:22 2008] [notice] caught SIGTERM, shutting down
[Sun Nov 23 21:51:23 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Sun Nov 23 21:51:23 2008] [notice] Apache/2.2.4 (Linux/SUSE) mod_ssl/2.2.4 OpenSSL/0.9.8e PHP/5.2.7RC4 with Suhosin-Patch configured -- resuming normal operations
[Sun Nov 23 22:39:55 2008] [notice] caught SIGTERM, shutting down
[Sun Nov 23 22:49:44 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Sun Nov 23 22:49:54 2008] [notice] Apache/2.2.4 (Linux/SUSE) mod_ssl/2.2.4 OpenSSL/0.9.8e PHP/5.2.7RC4 with Suhosin-Patch configured -- resuming normal operations

Regards
Salomon
Reply With Quote
  #4  
Old 24th November 2008, 13:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Your site's working for me, so I guess you got it fixed?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 25th November 2008, 11:01
zalo zalo is offline
Member
 
Join Date: Jan 2006
Posts: 33
Thanks: 7
Thanked 0 Times in 0 Posts
 
Default

Sorry about the late reply.

I found the problem yesterday. The PHP lines was missing in the Vhosts file, Disabling and enabling PHP within ISPconfig fixed the problem.

Thanks for the quick reply from everyone; you all set me on the right track.

ISPconfig is a great product.

Regards
Zalo
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
ISPCONFIG 3 - Multiple Sites on the same IP? astewart Developers' Forum 3 28th October 2008 15:32
Web Site Problem TinkerAllison Installation/Configuration 3 1st April 2007 19:25
all sites are getting "Index of /" page instead of the domain directory jagnag1 Installation/Configuration 3 17th December 2006 12:18
problem for accessing created sites ericli Server Operation 1 26th November 2005 09:47


All times are GMT +2. The time now is 20:44.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.