Wie kann man beim PHP kompilieren die Infos über das System unterdrücken oder verändern?
Bei Aufruf einer info.php Datei steht in der ersten Zeile:
System Linux FQDN Kernel #1 SMP Fri Jul 1 01:60:01 CEST 2008 x86_64
Hier möchte ich zumindest die Kernelinfo verändern.
php kompilieren - systeminfo verändern
-
- Posts: 212
- Joined: 2006-05-08 23:20
- Location: Berlin
-
- Project Manager
- Posts: 11183
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: php kompilieren - systeminfo verändern
Dafür musst Du mindestens den Kernel entsprechend neu kompilieren...
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
-
- Posts: 212
- Joined: 2006-05-08 23:20
- Location: Berlin
Re: php kompilieren - systeminfo verändern
Weisst Du wo im Kernel? Dieses Config_Localversion unter "General setup" ist bei mir leer (="") und "Extraversion" hängt doch nur hintendran m.E.
-
- Project Manager
- Posts: 11183
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: php kompilieren - systeminfo verändern
Wenn die Optionen nicht ausreichen, musst Du den Kernel patchen...
Wozu willst Du überhaupt die Kernelversion verheimlichen?
Wozu willst Du überhaupt die Kernelversion verheimlichen?
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
-
- Posts: 212
- Joined: 2006-05-08 23:20
- Location: Berlin
Re: php kompilieren - systeminfo verändern
Ich würde den Namen gerne auf den Standard beschränken auf gewissen Servern. Wenn Änderungen im Makefile, Localversion und Extraversion sttattfinden, dürfte es ja auch mit den Modulabhängigkeiten klappen.
-
- Posts: 5923
- Joined: 2004-05-23 12:53
Re: php kompilieren - systeminfo verändern
Code: Select all
man 2 uname