Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2004
    Location
    Prague, Czech Republic (EU)
    Posts
    64

    disable_function, need enable for me

    Hi, i have disabled functions like exec, passthru, etc. by default in my php.ini file. But I need enable this functions for my web. I just edited virtual config in apache and changed php_admin_value disabled_functions "dl", but nothing hasn`t changed.

    Can anybody help me ? Thanks
    [[email protected]:~]#

  2. #2
    Join Date
    Feb 2004
    Posts
    1,226

    Re: disable_function, need enable for me

    Originally posted by lachtan
    Hi, i have disabled functions like exec, passthru, etc. by default in my php.ini file. But I need enable this functions for my web. I just edited virtual config in apache and changed php_admin_value disabled_functions "dl", but nothing hasn`t changed.

    Can anybody help me ? Thanks
    do a search on PHP running as CGI

  3. #3
    Join Date
    May 2002
    Location
    Moscow
    Posts
    1,490
    is is not possible if you using php as module and one apache server. for realize this you may compile php as cgi binary and run it as cgi from your virtualhosts cgi-bin directory.
    Rustelekom LLC Dedicated server since 2002, RIPE NCC member, LIR, AS51168

  4. #4

    hello

    if you run safe mode in your server it would be easy to disable safe mode for one site

    see my lesson about this topic
    http://www.webhostgear.com/166.html

    try to search in php.net you will find something suit your need

    bye

  5. #5
    Join Date
    May 2002
    Location
    Moscow
    Posts
    1,490
    disabling safe_mode can't help in this case, because disabled_function may set only in php.ini
    Rustelekom LLC Dedicated server since 2002, RIPE NCC member, LIR, AS51168

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •