Projects / mod_myvhost


mod_myvhost is an Apache module for dynamically configured name-based mass virtual hosting with PHP. Virtual host configurations and PHP settings are stored in a MySQL database. There is no need to have every vhost in apache's configuration file, or to restart apache after a configuration change. It is able to change PHP settings dynamically for any vhost. By default, it sets open_basedir as the vhost's rootdir, but you can change almost any parameter that exists in php.ini. For example, you can turn on safe_mode or register_globals for a particular vhost.

Operating Systems

Recent releases

  •  21 Mar 2012 11:56

    Release Notes: Now the client is allowed to set safe_mode and open_basedir. This release will set upload_tmp_dir and session.save_path to $DocRoot/.tmp if it exists.

    •  23 Mar 2010 15:01

      Release Notes: upload_tmp_dir is set to $DocRoot/.tmp if it exists. At least version 1.3.x of APR-Utils libraries is required. The DBD version is heavily based on mod_vhost_dbd.

      •  24 Feb 2010 10:53

        Release Notes: Vhosts that are defined in the Apache configuration and created on the fly now work together.

        •  16 Feb 2010 10:49

          Release Notes: This is a beta version for the Apache 2.x branch.

          •  05 Dec 2006 08:10

            Release Notes: libc's snprintf function is now used instead of ap_psprintf, as it allows the use of more complicated directives like %1$s. The ability to configure a UID and GID for suexec was added.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.