#1  
Old 28th December 2010, 20:22
Captain Captain is offline
Senior Member
 
Join Date: Feb 2009
Posts: 285
Thanks: 79
Thanked 7 Times in 6 Posts
Question suPHP install

Hello!

I want to install suPHP by this thread: http://www.howtoforge.com/suphp_debian_etch_ispconfig

Want to know about this: "Now remove all the phpadmin entries within the original Vhosts_ispconfig.conf file."

my Vhosts is:

Code:
<VirtualHost 192.168.123.116:80>
<IfModule mod_php5.c>
    php_admin_value open_basedir "/var/www/web1/:/tmp/"
</IfModule>
SuexecUserGroup itex1_r web1
ServerName www.domain.com:80
ServerAdmin webmaster@domain.com
DocumentRoot /var/www/web1/web
ServerAlias domain.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ErrorLog /var/www/web1/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_flag safe_mode Off
Alias /stats "/var/www/web1/web/webalizer"
Alias /error/ "/var/www/web1/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 ^/~([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3
<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
  RewriteRule .* - [F]
</IfModule>
</VirtualHost>
I need to remove line:
php_admin_flag safe_mode Off
<IfModule mod_php5.c>
php_admin_value open_basedir "/var/www/web1/:/tmp/"
</IfModule>

from my Vhosts file? And after suPHP instalation I can use this directive:
<IfModule mod_php5.c>
php_admin_value open_basedir "/var/www/web1/:/tmp/"
</IfModule>
in my vhosts?

Thnks.
Reply With Quote
Sponsored Links
  #2  
Old 28th December 2010, 22:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,389 Times in 4,234 Posts
Default

Quote:
from my Vhosts file? And after suPHP instalation I can use this directive:
<IfModule mod_php5.c>
php_admin_value open_basedir "/var/www/web1/:/tmp/"
</IfModule>
in my vhosts?
No. phpadmin and phpflag are functions of mod_php which are not available in suphp. In suphp you can specify a custom php.ini instead:

http://www.faqforge.com/linux/contro...ni-with-suphp/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 29th December 2010, 09:54
Captain Captain is offline
Senior Member
 
Join Date: Feb 2009
Posts: 285
Thanks: 79
Thanked 7 Times in 6 Posts
 
Default

Thank you Till for reply!

But what about my first question?

I need to remove this lines from my Vhosts_ispconfig.conf file, before I install suPHP? (because in thread: Now remove all the phpadmin entries within the original Vhosts_ispconfig.conf file. Restart Apache

Code:
php_admin_flag safe_mode Off

<IfModule mod_php5.c>
php_admin_value open_basedir "/var/www/web1/:/tmp/"
</IfModule>
Thnks.
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
Maia MailGuard in ISPC3 warlock Tips/Tricks/Mods 7 23rd December 2010 05:51
Companion Script #2 for The Perfect Server - Fedora 13 x86_64 [ISPConfig 3]" MrCompTech Tips/Tricks/Mods 0 10th July 2010 05:11
Maia Mailguard with ISPconfig seangee Installation/Configuration 4 24th June 2010 09:08
How to install OpenOficeOrg 3.0.0 in Ubuntu 8.04 ernesthagger HOWTO-Related Questions 43 23rd December 2008 14:42
ISPConfig install issues... flyingaggie Installation/Configuration 2 18th July 2008 10:46


All times are GMT +2. The time now is 06:50.


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