Setting Apache directives (php_admin_value)

Discussion in 'Installation/Configuration' started by infowan, Sep 1, 2009.

  1. infowan

    infowan New Member

    Hello,

    I followed the excellent tutorial to build my new server (windows independence here I come!) The Perfect Server - Ubuntu 9.04 [ISPConfig 3]. Things went great.

    I have set up sites using php_mod and I have only one more task before I put it into production. I wanted to define the following Apache directives:

    php_admin_value disable_functions “show_source system shell_exec passthru exec phpinfo popen proc_open”
    php_admin_flag allow_url_fopen Off
    php_admin_value session.save_path “/var/www/clients/client1/web1/tmp/”
    php_admin_value open_basedir “/var/www/clients/client1/web1/”

    I have pasted these into the Apache directives field (and modified them according to the site - web1, web2, web3, etc.), but when I check the phpinfo() none of the settings are applied. In fact I shouldn't even be allowed to run phpinfo(), correct?

    Am I missing something with the syntax of Apache directives? How do I apply these Apache directives?

    Thanks,

    Infowan
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please be aware that it takes some time until the changes are written to the config files. You can check it in the queue of the monitor module to see when your changes have been applied.
     

Share This Page