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
  #11  
Old 30th April 2007, 12:46
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,768
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

The above error occurs when the mod_php module ins not loaded or activated in your apache configuration. If you do not want to use PHP with mod_php, you will have to enable e.g. suPHP in the file /home/admispconfig/ispconfig/lib/config.inc.php
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
Wolfgang (30th April 2007)
Sponsored Links
  #12  
Old 30th April 2007, 13:18
Wolfgang Wolfgang is offline
Junior Member
 
Join Date: Apr 2007
Posts: 9
Thanks: 1
Thanked 1 Time in 1 Post
Default

Thank you Till.
Like i said, it worked before with ispconfig 2.2.9. Here an excerpt from config.inc.php:
Code:
mail:/home/admispconfig/ispconfig/lib# grep -i php config.inc.php
$go_info["server"]["apache2_php"] = 'both'; // 'filter' = set PHP filters, 'addtype' = Set PHP addtype or 'both' = Set Filter + Addtype, suphp = SuPHP wrapper enabled, 'addhandler' = Set PHP AddHandler (nescessary for SuSE 10.2)
mail:/home/admispconfig/ispconfig/lib#
There is no other line refering to php.
What else should i enable?

Regards

Wolfgang
Reply With Quote
  #13  
Old 30th April 2007, 15:46
Wolfgang Wolfgang is offline
Junior Member
 
Join Date: Apr 2007
Posts: 9
Thanks: 1
Thanked 1 Time in 1 Post
Default [solved]

Thanks Till, - I found it.
Change
Code:
$go_info["server"]["apache2_php"] = 'both';
to
Code:
$go_info["server"]["apache2_php"] = 'suphp';
and it works.

Basically i thought this line would refer to addtype etc., so i missunderstood the advise given.

What i still do not understand is how to use the possible options though:
Code:
'filter' = set PHP filters, 
'addtype' = Set PHP addtype 
'both' = Set Filter + Addtype, 
suphp = SuPHP wrapper enabled, 
'addhandler' = Set PHP AddHandler (nescessary for SuSE 10.2)
So in my case i use suphp. But what if i want 'suphp' and 'addhandler'?

Regards

Wolfgang

Last edited by Wolfgang; 30th April 2007 at 15:53.
Reply With Quote
The Following User Says Thank You to Wolfgang For This Useful Post:
lubos (21st August 2008)
  #14  
Old 21st August 2008, 16:27
lubos lubos is offline
Member
 
Join Date: Oct 2007
Location: Belfast, UK - NI
Posts: 59
Thanks: 29
Thanked 17 Times in 13 Posts
Default

Thanks to all who helped with this problem. I had /Vhosts_ispconfig.conf empty and lots of backup files over there. Now it is working. Thanks again
__________________
Safe computer? Only when unplugged.
Reply With Quote
  #15  
Old 29th September 2008, 21:54
meth meth is offline
Junior Member
 
Join Date: Jun 2008
Posts: 21
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I have the same problem, i have tried to fix, but stil continues that error.
Reply With Quote
  #16  
Old 30th September 2008, 01:18
kuckus kuckus is offline
Junior Member
 
Join Date: Oct 2006
Location: Berlin
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts
Default

What errors does Apache report if you replace Vhosts_ispconfig.conf with one of the backup files and do a manual `apache2ctl restart`? (be sure to backup your working Vhosts_ispconfig.conf before moving one of the others into its place)

There should be something in the error messages that gives a clue as to where things are going wrong... please give us some details.
Reply With Quote
  #17  
Old 3rd October 2008, 08:37
meth meth is offline
Junior Member
 
Join Date: Jun 2008
Posts: 21
Thanks: 1
Thanked 0 Times in 0 Posts
Default

When i execute
Code:
php /root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php
I get the error:
Code:
PHP Warning:  Module 'json' already loaded in Unknown on line 0

Parse error: syntax error, unexpected '=' in /root/ispconfig/php/bin/php on line 1146
Beacuse when i run
Code:
httpd -t
i get sintax ok.
Reply With Quote
  #18  
Old 3rd October 2008, 12:29
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,768
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

You use the wrong php version. ISPConfig can not be run with the php on your system. You must run instead:

/root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php

and not the line you used above.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #19  
Old 3rd October 2008, 13:40
meth meth is offline
Junior Member
 
Join Date: Jun 2008
Posts: 21
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Yes, but when i try to add a domain in my vhost_ispconfig.conf doesnt write the configuration automatically.
Reply With Quote
  #20  
Old 3rd October 2008, 13:49
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,768
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
 
Default

http://www.howtoforge.com/forums/showthread.php?t=7719
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
[error] an unkown filter was not added: PHP Arien Installation/Configuration 12 7th October 2006 14:17
"unknown filter" growing apache log. wwparrish Installation/Configuration 6 1st September 2006 18:40
php script injections Grizzly General 21 18th July 2006 08:55
perfect setup suse 10 - phpmyadmin & mysql question reddog Server Operation 7 17th June 2006 12:59
printing to a network printer ojs Installation/Configuration 4 24th February 2006 11:05


All times are GMT +2. The time now is 09:46.


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