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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th July 2006, 16:56
virtualweb virtualweb is offline
Junior Member
 
Join Date: Jul 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Some issues after Update to 2.2.5

Hi,

after the update i figured out some issues:

1) in "Management - Server - Services - Monitoring" some items are listed twice (web:80).

2) how does suPHP work within ISPConfig? do we have to install suPHP separately, are there any settings in ISPConfig? Haven't found something about this.

in case of the cms "joomla" all files are owned by webx_office : webx. those files must be writable by www-data. when changing the permissions to www-data, the user can't edit the files via ftp anymore. when the user installs new components in joomla the files are owned by www-data.

Are there any Manuels or Tipps about suPHP for usage with ISPConfig?

Regards,
Alfons

Last edited by virtualweb; 18th July 2006 at 17:24.
Reply With Quote
Sponsored Links
  #2  
Old 18th July 2006, 18:26
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,972
Thanks: 825
Thanked 5,367 Times in 4,214 Posts
Default

Quote:
Originally Posted by virtualweb
1) in "Management - Server - Services - Monitoring" some items are listed twice (web:80).
Well check that.

Quote:
2) how does suPHP work within ISPConfig? do we have to install suPHP separately, are there any settings in ISPConfig? Haven't found something about this.

in case of the cms "joomla" all files are owned by webx_office : webx. those files must be writable by www-data. when changing the permissions to www-data, the user can't edit the files via ftp anymore. when the user installs new components in joomla the files are owned by www-data.

Are there any Manuels or Tipps about suPHP for usage with ISPConfig?
There are no manuals yet.

1) You will have to install suphp on your server, for exampla as described here:

http://www.howtoforge.com/apache2_suphp_php4_php5

2) Enable SuPHP by changing the line:
Code:
$go_info["server"]["apache2_php"] = 'filter,addtype,engine'; // one string of one or more comma seperated options: 'filter' = set PHP filters, 'addtype' = Set PHP addtype, 'both' = Set Filter + Addtype, 'engine' = Use "php_admin_flag engine on/off", suphp = SuPHP wrapper enabled

to:
Code:
$go_info["server"]["apache2_php"] = 'suphp'; // one string of one or more comma seperated options: 'filter' = set PHP filters, 'addtype' = Set PHP addtype, 'both' = Set Filter + Addtype, 'engine' = Use "php_admin_flag engine on/off", suphp = SuPHP wrapper enabled
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
  #3  
Old 19th July 2006, 10:43
virtualweb virtualweb is offline
Junior Member
 
Join Date: Jul 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank your for the quick reply.

I followed the documentation you suggested, but am not sure, if it is the correct way:

after installing suPHP and restarting the webserver says:
Quote:
Starting web server: Apache2Syntax error on line 46 of /etc/apache2/vhosts/Vhosts_ispconfig.conf:
Invalid command 'php_admin_value', perhaps mis-spelled or defined by a module not included in the server configuration
All commands which contains "php" are marked as an error, i found following reason for it:

Code:
suphp doesn't support the php_flag, php_value, php_admin_value, and 
php_admin_flag directives.  Primarily because mod_php is no longer 
loaded after suphp is installed.  Use suPHP_ConfigPath in each vHost 
and setup individual php.ini files.
As far as i know those directives are generated and used by ISPConfig, so do i really have to setup individual php.ini's for each vhost?
Reply With Quote
  #4  
Old 19th July 2006, 10:50
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,972
Thanks: 825
Thanked 5,367 Times in 4,214 Posts
Default

Quote:
Originally Posted by virtualweb
As far as i know those directives are generated and used by ISPConfig, so do i really have to setup individual php.ini's for each vhost?
No.

Have you changed the line in config.inc.php?

After you switched your server to suphp, edit one of your websites (change e.g. quota or something else) and hit save so you Vhost_ispconfig.conf gets rewritten with the SuPHP setup.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 19th July 2006, 12:05
virtualweb virtualweb is offline
Junior Member
 
Join Date: Jul 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

OK that works, as you described it.

Thanks very much!
Reply With Quote
  #6  
Old 19th July 2006, 12:08
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
 
Default

But don't forget that suPHP needs more ressources on your server in cases of heavy access than mod_php
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
Cant get mail after applying the update 2.1.2 mphayesuk Installation/Configuration 2 31st December 2008 14:48
Update ok! sa-update error ? lyndros Installation/Configuration 2 19th March 2008 20:05
How to build packages that can be installed with the ISPConfig update function. till Tips/Tricks/Mods 3 18th February 2008 13:10
How and when to update server aps? edge Server Operation 3 27th May 2006 21:18
Update to 2.2.0 question brianetilley Installation/Configuration 10 4th March 2006 17:02


All times are GMT +2. The time now is 11:58.


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