How to stop certain functions in PHP ?

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
Pakcik_Kantin
Forum Newbie
Posts: 19
Joined: Mon Jan 13, 2003 8:23 pm
Location: Kuala Lumpur

How to stop certain functions in PHP ?

Post by Pakcik_Kantin »

My machine will be parked in my datacenter at my host company. I'd like to stop certain functions in my PHP such as phpinfo() and others. How can i do that

TQ
User avatar
Elmseeker
Forum Contributor
Posts: 132
Joined: Sun Dec 22, 2002 5:48 am
Location: Worcester, MA

Post by Elmseeker »

look for this in your php.ini

disable_functions =


Here is it's description:

; 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.
Pakcik_Kantin
Forum Newbie
Posts: 19
Joined: Mon Jan 13, 2003 8:23 pm
Location: Kuala Lumpur

Ok tq

Post by Pakcik_Kantin »

Thanks found it
Post Reply