Menu

No PHP configuration files were found

Webmin
Joseph
2009-08-29
2013-05-21
  • Joseph

    Joseph - 2009-08-29

    OS: Ubuntu 9.04, installed desktop and then installed the LAMP package.
    Webmin 1.480

    When I go to the Others section, and click on PHP Configuration, I get the following message:
    No PHP configuration files were found Adjust the module configuration to set the correct path to the global PHP config file.

    Is the "module configuration" the same as the config file in /etc/webmin? and if so, what should I add to it?

     
    • rj elleray

      rj elleray - 2009-08-29

      Joseph,
      hi.

      Now whenever webmin asks for a configuration file it is looking for the software programs config file (which it will then store in its config files ). It tries the default locations, but some installs put it in desktop locations rather than a server based one.

      by default it looks for php4 and the entries contain
      /etc/php4/apache/php.ini=Configuration for mod_php
      /etc/php4/cgi/php.ini=Configuration for scripts run via CGI
      /etc/php4/cli/php.ini=Configuration for command-line scripts

      you probably have php5 so chnage it for to php5 like
      /etc/php5/apache/php.ini=Configuration for mod_php
      /etc/php5/cgi/php.ini=Configuration for scripts run via CGI
      /etc/php5/cli/php.ini=Configuration for command-line scripts

      if not then use the webmin other > command line utility and type php -i
      there you will see entry like
      Configuration File (php.ini) Path => /etc/php5/cli

      For other software install config file locations try listing the files found in the system > software page after searching for the software.

      d

       
    • Joseph

      Joseph - 2009-08-29

      Thank you. My question is this: which file do I add this information to? Is it the /etc/webmin/config file? Do I create a new file, write this information to, and then add to /etc/webmin as config.php?

       
      • rj elleray

        rj elleray - 2009-08-29

        in webmin php config JUST click on its module config and you will see.

        dick

         
    • rj elleray

      rj elleray - 2009-08-29

      with webmin NO editing of config files is required (unless you are doing something special)
      d

       

Log in to post a comment.

MongoDB Logo MongoDB