|
Posted by Brendan Gillatt on 10/03/07 19:38
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Erwin Moller wrote:
> Fred wrote:
>
>> Thanks so much Mr. Gillatt! That sounds like what I would need.
>> Just one question - Does a setup such as this allow for the execution
>> of the script on the local machine?
>
> Yes.
>
> After a succesfull install you can simply use:
> http://localhost/
>
> or from commandline:
> php <somescript>
>
> If you are going to play around with files, be sure you understand
> filepermission.
> PHP runs as a user (of course), often www-data or apache or nobody
> (maybe more, I saw only these 3).
In windows (as my netserver is set up) it runs as SERVICE. I don't care
about this from a security standpoint - I only run it localy - not even
accesible from LAN. I suggest the OP does the same if they're just
starting out on setting up servers. Ultimately, I would set up a local
user with very limited permissions and run the apache service under that.
> Regards,
> Erwin Moller
>
>>
>> Fred
>>
- --
Brendan Gillatt
brendan {at} brendangillatt {dot} co {dot} uk
http://www.brendangillatt.co.uk
PGP Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBACD7433
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
iD8DBQFHA++bkA9dCbrNdDMRAnOsAJ0cLtw/y+QcOXXdxBdq6NFK/3bpHQCfcAVT
qpl64jW9KQ0g3TJtVZ1TXsE=
=YPR5
-----END PGP SIGNATURE-----
Navigation:
[Reply to this message]
|