Too many questions in one single Email, all different subjects.  Some of
what you ask are PHP-specific or Apache-specific and are not related to
suphp.

1) We use suphp with phpmyadmin (running under an SSL-enabled vhost),
and do not have any problems.  No custom php.ini variables were needed
to make phpmyadmin work.  phpmyadmin is installed system-wide on our box
in /usr/local/www/phpmyadmin.  What is the problem you're having?

2) Disable PHP safe mode entirely, as it gives a false sense of
security.  Safe mode will be going away in future versions of PHP
anyways, from what I've read.  Use of suphp by itself should be
sufficient enough.

suphp is not responsible for issues you encounter with safe mode enabled
in PHP.

3) PHP sessions can be configured in numerous ways; one of those
methods, which is the default, is to keep the session states stored on
the server.  The best way to manage this is to make a system-wide
directory for PHP sessions (we use /var/tmp/php_sessions) and set the
sticky-bit on the directory (chmod 1777 /var/tmp/php_sessions).  Make
sure the directory is owned by root:wheel or root:root.

suphp is not responsible (nor should it be) for this.

4) I don't understand your ".htaccess entries so that .htm and html are
addhandler'd by the user and not in httpd.conf" statement, because it's
not formulated as a question.  What do .htm and .html files have to do
with suphp?  This really sounds like an Apache question.

-- 
| Jeremy Chadwick                                    jdc at parodius.com |
| Parodius Networking                           http://www.parodius.com/ |
| UNIX Systems Administrator                      Mountain View, CA, USA |
| Making life hard for others since 1977.                  PGP: 4BD6C0CB |

On Wed, Nov 14, 2007 at 11:52:51PM -0800, Gregg Lain wrote:
> Hello,
> 
> I have suphp running ok on one server and for the a Xen with SELinux enabled
> but permissive.  Hope to eventually run enforcing..
> 
> I cannot get phpmyadmin and squirrelmail working in say /usr/share because of
> open_base_dir and safemode, suphp.conf restrictions etc.  Moved these
> directories to a user (/home/webmail) but that was not working either...
> 
> Will anyone share what they have setup so that:
> 1. squirrelmail and phpmyadmin are central installs for anyone on the server
> to use - is this possible or is it per user?
> 2. php.ini and suphp.conf configs that works with this
> 3. session stuff - /tmp does not seem so secure..  What is best with suphp?
> 4. .htaccess entries so that .htm and html are addhandler'd/type'd are set by
> the user and not in httpd.conf
> 
> suphp is great and am looking for server zen with Xen.
> 
> Thanks
> 
> -- 
> Gregg Lain
> mochabomb.com - web hosting and open-source solutions
> --
> 
> 
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> 
> _______________________________________________
> suPHP mailing list
> [email protected]
> http://lists.marsching.biz/mailman/listinfo/suphp

_______________________________________________
suPHP mailing list
[email protected]
http://lists.marsching.biz/mailman/listinfo/suphp

Reply via email to