#1  
Old 9th January 2007, 22:21
planet_fox planet_fox is offline
Senior Member
 
Join Date: Jun 2006
Location: Munic
Posts: 308
Thanks: 14
Thanked 8 Times in 6 Posts
Send a message via Skype™ to planet_fox
Default suPHP_Config

How can I do this with Ispconfig ?

http://www.rootforum.de/forum/viewtopic.php?p=95479

I want this in my Vhost

Code:
suPHP_Config /www/conf/user01/php.ini
Reply With Quote
Sponsored Links
  #2  
Old 9th January 2007, 23:27
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,478
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

I guess it should work if you add this line in the apache directives field of the website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 10th January 2007, 13:14
planet_fox planet_fox is offline
Senior Member
 
Join Date: Jun 2006
Location: Munic
Posts: 308
Thanks: 14
Thanked 8 Times in 6 Posts
Send a message via Skype™ to planet_fox
Default

When I do this config manual in the Vhost, what is when Isp config makes reload ?
Reply With Quote
  #4  
Old 10th January 2007, 13:30
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,478
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Quote:
Originally Posted by planet_fox
When I do this config manual in the Vhost, what is when Isp config makes reload ?
You must put this in the apache directives field and not in the vhost, otherwise it will be overwritten.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 10th January 2007, 18:27
planet_fox planet_fox is offline
Senior Member
 
Join Date: Jun 2006
Location: Munic
Posts: 308
Thanks: 14
Thanked 8 Times in 6 Posts
Send a message via Skype™ to planet_fox
Default

How I can than a php.ini exclusiv for some Webs of ISP Config
Reply With Quote
  #6  
Old 10th January 2007, 18:48
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,478
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

The apache directives field is always exlusive for one website. Every website has its own apache directives field and everything you enter in this field is parsed into the vhost configuartion for just this one website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 10th January 2007, 22:50
planet_fox planet_fox is offline
Senior Member
 
Join Date: Jun 2006
Location: Munic
Posts: 308
Thanks: 14
Thanked 8 Times in 6 Posts
Send a message via Skype™ to planet_fox
Default

I become this error on restart apache

Code:
Invalid command 'suPHP_Config', perhaps mis-spelled or defined by a module not included in the server configuration
my Vhost

HTML Code:
<VirtualHost 192.168.1.1>
ServerName www.my.de:80
ServerAdmin webmaster@my.de
DocumentRoot /home/ww/web40/web
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm $
ScriptAlias  /cgi-bin/ /home/ww/web40/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /home/times/web40/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
suPHP_Engine on
suPHP_Config /home/ww/web40/phptmp/php.ini 
suPHP_UserGroup web40_ftp web40
AddHandler x-httpd-php .php .php3 .php4 .php5
suPHP_AddHandler x-httpd-php
Alias /error/ "/home/ww/web40/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /home/ww/web40/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/ww/web40/user/$1/web/$3
RewriteEngine on

</VirtualHost>
Reply With Quote
  #8  
Old 11th January 2007, 08:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,478
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
 
Default

Please try this instead:

suPHP_ConfigPath /www/conf/user01

Where /www/conf/user01 is the directory where you have put the php.ini file.
__________________
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


All times are GMT +2. The time now is 05:41.


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