[TYPO3] Switched Servers... UNIX/CGI problem??

Heiner Lamprecht heiner at heiner-lamprecht.net
Wed Apr 5 20:59:45 CEST 2006


On Wednesday 05 April 2006 15:11, Tim Riemenschneider wrote:
> Heiner Lamprecht schrieb:
> >
> > If you are running IIS or an old version of PHP with Apache on
> > Windows, than you need the cgi stuff.  Therefore it's also
> > available on Unix, but not used in real live.
>
> I don't think so.
> PHP is often used as CGI, at least with shared-hosting.
> The problem is that with PHP as Apache-Module, it is run as the
> webserver-user (probably "nobody", "apache", "www-run" or the
> like), so all files created by php (typotemp/*, uploaded files
> fileadmin/* ...) are owned by this user. This results in not
> being able to delete/edit this files as ftp/shell-access user.
> PHP as CGI can be run as the user owning the php-files (SUEXEC in
> Apache), so the files are owned by the correct user.

Well. Using PHP as CGI is a major problem when it comes to 
performance.

Deleting files which are created by the webserver shouldn't be a 
problem, if the system is set up correctly.  Deleting depends not 
on the accessrights of the file, but on those of the directory they 
are located in.

Editing therefore is no big problem, too.


    Heiner

-- 
    heiner at heiner-lamprecht dot net    GnuPG - Key: 9859E373
  Fingerprint:  3770 7947 F917 94EF 8717 BADB 0139 7554 9859 E373



More information about the TYPO3-english mailing list