tags 571653 + moreinfo
thanks

Hello.

I was upgrading today system (lenny -> squeeze) and suPHP stopped
working. But it is difficult to consider as bug:

- /etc/suphp.conf syntax changed a bit in new version - you need to
  install new configure file and change it accordingly to your previous
  configuration
- suphp.conf (apache2 module config file) doesn't need to be replaced
  with new version
- important thing is that php5.conf apache module configuration
  changed. Now it uses 
                       <FilesMatch "\.ph(p3?|tml)$">
                           SetHandler application/x-httpd-php
                       </FilesMatch>
  previous version used AddType application/x-httpd-php .php.

According to php5 module configuration changes I found it necessary to
change my VirtualHosts configuration using suPHP from directive AddType
application/x-httpd-suphp to SetHandler application/x-httpd-suphp
(along with <Directory > directive that limits this setting to
specified directory).

After this tweaks libapache2-mod-suphp seems to work for me, so whether
this bug is invalid or you have problem somewhere else (please provide
more information). 

Nevertheless lenny->squeeze upgrade for this package was quite
time-consuming because of libapache2-mod-php5 changes in php5.conf.

One additional think - when you test this module (I was using
system('id')) don't use relative path. It took me some time to
realise that after dist-upgrade you need to provide full path now - use
system('/usr/bin/id'). I suppose it is connected to bash->dash switch
for /bin/sh symlink.

I hope this will save some time for people doing dist-upgrade from
lenny to squeeze.

Best regards,
 Grzegorz Bizon

-- 
 ntsn.pl software development http://ntsn.pl/en



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to