Nock Nock anyone? :PP

---

I belive mine isn't working, and i can't see a way to put it working.


cat id.php
<?php
system('id');
?>

[Fri Jun 22 20:47:54 2007] [error] [client 1.2.3.4] terminate called after
throwing an instance of 'suPHP::LookupException'
[Fri Jun 22 20:47:54 2007] [error] [client 1.2.3.4] Premature end of script
headers: id.php

Any idea?




----- Original Message ----- 
From: "Cian Davis" <[EMAIL PROTECTED]>
To: "Simón" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Thursday, June 14, 2007 12:40 AM
Subject: Re: [suPHP] How to test if suphp is working?


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Simon,
The best and simplest way I have found to test it is to have a PHP
script executing the "id" command:

<?php
system('id');
?>

Granted, it assumes Linux and that the whoami command is installed but
it should work. If it doesn't come back with the username of the
script owner, it isn't working (in the simplest case).

Regards,
Cian

Simón wrote:
> Hi there,
>
> I installed suphp reading the docs on the tar, and all seems to work
> fine, but I don´t know how to test if it´s doing it´s job.
>
> Is there any way of testing it?
>
> Kind regards, Simon.
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGcIB12yUma7R/3b8RAt7qAKC6sIvMT+QgdgBNrMEgiSNAZ0LfIgCglLLz
q9DWtJbeZvEsIKV+F8p47aA=
=bsl7
-----END PGP SIGNATURE-----


_______________________________________________
suPHP mailing list
[email protected]
http://lists.marsching.biz/mailman/listinfo/suphp


_______________________________________________
suPHP mailing list
[email protected]
http://lists.marsching.biz/mailman/listinfo/suphp


_______________________________________________
suPHP mailing list
[email protected]
http://lists.marsching.biz/mailman/listinfo/suphp

Reply via email to