Jump to content
php.lv forumi

Kā Izslēgt Phpinfo ?


Recommended Posts

Vēlētos uzzināt kā avr bloķēt komandu phpinfo kā tas ir uz eclub.lv server:

Warning: phpinfo() has been disabled for security reasons in /opt/webadrese.eclub.lv/info.php on line 1

Ceru uz drīzu atbildi :)

Link to comment
Share on other sites

hmm .. varbūt mazliet stulbs pretjautājums .. kā tas apdraud servera drošību? vienkārši slinkums updates instalēt vai arī tam ir kādi citi, man nezināmi iemesli?

Link to comment
Share on other sites

ups, aizmirsu atbildi pielikt ..

 

php.ini failā ir tāds parametrs

<code><font color="#000000">

; This directive allows you to disable certain functions for security reasons.
; It receives a comma-delimited list of function names.  This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
disable_functions =
</font>
</code>

 

tad nu to arī izmanto ;)

Link to comment
Share on other sites

×
×
  • Create New...