Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd September 2009, 20:55
Leftblank Leftblank is offline
Junior Member
 
Join Date: Apr 2007
Posts: 20
Thanks: 3
Thanked 0 Times in 0 Posts
Default ISPConfig trouble, mod_php not working

I suppose these two issues are connected; I noticed that after following the server guide for ISPConfig on Ubuntu 9.04 PHP works fine as long as I'm not using mod_php for the sites. In case I do pick mod_php, the following is generated:

Code:
[Thu Sep 03 19:30:03 2009] [error] [client 82.168.xx.xx] SoftException in Application.cpp:217: File "/var/www/clients/client2/web2//web/index.php" is not in document root of Vhost "/var/www/test.leftblank.nl/web"
[Thu Sep 03 19:30:03 2009] [error] [client 82.168.xx.xx] Premature end of script headers: index.php
When I try to run a PHP file dropped in my /var/www folder, (such as phpinfo() I receive the following similar, but not equal errors;
Code:
[Thu Sep 03 19:41:55 2009] [error] [client 82.168.xx.xx] SoftException in Application.cpp:296: UID of script "/var/www/index.php" is smaller than min_uid
[Thu Sep 03 19:41:55 2009] [error] [client 82.168.xx.xx] Premature end of script headers: index.php
In addition to this, phpMyAdmin is nonfunctional, when clicking the link a funky 'download file' dialog is opened with an empty input, so apparently Apache is not delivering that one either. The problem here is though that I'm unable to find records of this anywhere; the requests do show up in the access.log, but no errors are written in any of the errorlogs. My guess is that this is related to the mod_php not working.
Reply With Quote
Sponsored Links
  #2  
Old 3rd September 2009, 20:59
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,022
Thanks: 840
Thanked 5,653 Times in 4,462 Posts
Default

Please update to the latest ISPConfig 3.0.1.4 release, change a setting in the website like quota and click on save, then wait a few minutes and test again.

The info.php file in /var/www does not work because it belongs to the wrong user, chown it to www-data user and group.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 3rd September 2009, 22:44
Leftblank Leftblank is offline
Junior Member
 
Join Date: Apr 2007
Posts: 20
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Please update to the latest ISPConfig 3.0.1.4 release, change a setting in the website like quota and click on save, then wait a few minutes and test again.

The info.php file in /var/www does not work because it belongs to the wrong user, chown it to www-data user and group.
Thanks, I updated to the last version right now, though the same errors happen. Chowning the php file in the root dir didnt help sadly, and for my testpage the following shows up again:
Code:
[Thu Sep 03 21:44:29 2009] [error] [client 82.168.x] SoftException in Application.cpp:217: File "/var/www/clients/client1/web2//web/index.php" is not in document root of Vhost "/var/www/test.leftblank.nl/web"
[Thu Sep 03 21:44:29 2009] [error] [client 82.168.x] Premature end of script headers: index.php

Last edited by Leftblank; 3rd September 2009 at 22:46.
Reply With Quote
  #4  
Old 3rd September 2009, 23:38
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,022
Thanks: 840
Thanked 5,653 Times in 4,462 Posts
Default

Which exact settings do you have enabled for the site?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 3rd September 2009, 23:46
Leftblank Leftblank is offline
Junior Member
 
Join Date: Apr 2007
Posts: 20
Thanks: 3
Thanked 0 Times in 0 Posts
Default

No custom settings, everything disabled except for a big enough quota, mod_php and 'active'.
Reply With Quote
  #6  
Old 3rd September 2009, 23:50
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,022
Thanks: 840
Thanked 5,653 Times in 4,462 Posts
Default

Which Linux distribution and which exact ispconfig version.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Tags
mod_php

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
SPF not working on IspConfig 3 bern Installation/Configuration 18 28th January 2013 21:48
IspConfig login trouble scenic2 Installation/Configuration 9 28th January 2009 12:24
E-mail domain not working with ISPConfig fdsg72-lux Installation/Configuration 6 14th November 2008 03:57
ISPConfig Roadmap till Developers' Forum 26 10th June 2007 23:38
ISPConfig configuration or ipcop firewall being the cuase of trouble? AZMel Installation/Configuration 6 15th March 2006 01:20


All times are GMT +2. The time now is 18:04.


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