ID: 39318 Updated by: [EMAIL PROTECTED] Reported By: RQuadling at GMail dot com -Status: Open +Status: Feedback Bug Type: Documentation problem Operating System: Windows XP SP2 PHP Version: Irrelevant New Comment:
So in order to use Sambar+PHP you have to configure Sambar to use "non localsystem account"? I'm sorry. I just don't see how this is relevant. Explain to me again why this should be documented in the PHP manual rather then Sambar (having in mind that the PHP docs will never cover every (any?) 3rd party software out there)? Previous Comments: ------------------------------------------------------------------------ [2006-10-31 11:32:53] RQuadling at GMail dot com Because, the default account used by installing Sambar Server as a service has no impact upon the normal use or operation of Sambar Server. When you add PHP to Sambar, the default account is fine for all locally stored files. You are not getting anything other than local files. But accessing the remote files is being performed by PHP and NOT Sambar Server. Sambar in effect "launches" PHP and therefore this is a PHP issue affecting the Sambar Server Service. ------------------------------------------------------------------------ [2006-10-31 11:27:48] [EMAIL PROTECTED] And why do you think this is a PHP documentation issue? ------------------------------------------------------------------------ [2006-10-31 11:00:43] RQuadling at GMail dot com Description: ------------ What started as a quick upgrade to a script which works via CLI mode to be also accessible via a web interface has taken me WAY too long (about 2 days). So, I'm officially dim today. Anyway. If you are using Sambar Server as a service (C:\Program Files\Sambar Server\bin\ntserver -i) AND you want your scripts to access files which are NOT held locally (using a \\SERVER\SHARE\DIRECTORY\FILE mechanism), then you need to use a NON LocalSystem account. You can configure the account to a particular named user via the Services applet in the Control Panel. You will need to supply a password for the account. If you do not do this, you will not be able to use PHP commands like fopen, file_exists, etc to access remote files. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39318&edit=1
