<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><< </FONT><FONT face=Arial size=2>14-06
21:29 by Martin-Pierre Frenette, </FONT><A
href="javascript:linkTo_UnCryptMailto('pdlowr=w|sr6Ciuhqhwwh1tf1fd');"><FONT
face=Arial size=2>typo3(AT)frenette.qc.ca</FONT></A><FONT face=Arial size=2>
</FONT></DIV>
<DIV><FONT face=Arial size=2>Please note that only the zipfile version will work
with PHPSuexec, since symlinks are not supported. </FONT><FONT face=Arial
size=2>>></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm still trying to make Typo3 work under
PHPsuexec, but I found out that while it won't run symlinks, it will run
hardlinks.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Maybe a shell script to delete symlinks and replace
them with hardlinks would be useful.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><< PHPSuexec reports that the php_sapi_name
is 'cgi' YET, 'PATH_TRANSLATED' is not defined and SCRIPT_FILENAME needs
to be used.<BR><BR>As such, I simply modified the =='cgi' with =='xcgi' in all
the occurances, and it works well. >></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Really, (1) php_sapi_name is 'cgi' and (2)
SCRIPT_FILENAME needs to be used because 'PATH_TRANSLATED' is
blank.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I think the best solution would be to rewrite this
check:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>define('PATH_thisScript',str_replace('//','/',
str_replace('\\','/',
<BR>php_sapi_name()=='cgi'||php_sapi_name()=='isapi'||php_sapi_name()=='cgi-fcgi'
<BR>?
<BR>$HTTP_SERVER_VARS['PATH_TRANSLATED']:$HTTP_SERVER_VARS['SCRIPT_FILENAME'])));<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>And also to put it in a subroutine so it would not
be repeated in so many source files.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Just my opinion.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Fernando Correia</FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT></BODY></HTML>