check http://www.php.net/manual/en/features.safe-mode.php  I suspect that
the problem is that the files you are trying to run are not owned by the
same user as the webserver user... that page should give you details on
this.

Good luck,
Ben

On Tue, 24 Jul 2001 [EMAIL PROTECTED] wrote:

> Hello all,
>
> I'm discovering the joys of PHP as supplied by RH on their 7.1 release.
> Actually, everything about it is SO much nicer than ASP or pure Perl.  (Not
> to take anything away from either--PHP's just a LOT easier to get hold of!)
>
> I'm running PHP as an Apache module (default RedHat installation) but I did
> turn Safe Mode on.  None of the execution functions work at all, though.
> The Safe Mode directory is set to /usr/local/bin and the script I want to
> run is (also) in that directory.  No matter how I approach it, the system()
> or passthru() functions apparently execute nothing and return nothing.  Not
> even an error message or warning of any kind.  (Backticks give a decidedly
> pointed message in Safe Mode, though:  "No can do" as I would expect).
>
> How DO I step out of a PHP page and execute a script or command?  And would
> that method be safe to give to "regular" users?  There is no mention in the
> manual (to which I constantly refer) nor in any place on the php.net site to
> tell me how this should "REALLY" work.
>
> Any advice would be appreciated.  This is the last stumbling block to
> converting my web-portal 100% to PHP.
>
> Best regards,
> Bill
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to