ubuntu - phpmyadmin.conf and apache.conf missing -
when trying start apache with
sudo /etc/init.d/apache2 restart
i error
apache2: syntax error on line 260 of /etc/apache2/apache2.conf: not open configuration file /etc/apache2/conf.d/phpmyadmin.conf: no such file or directory action 'configtest' failed. apache error log may have more information. ...fail!
what should do? when reading on internet should have file called apache.conf in /etc/phpmyadmin don't.
just ran issue on debian 7, installer , dpkg-reconfigure phpmyadmin create broken link "/etc/apache2/conf.d/phpmyadmin.conf" points missing file "../../phpmyadmin/apache.conf". had pull copy off older installation, posting below. piotr, comments not useful, don't pollute.
phpmyadmin default apache configuration
alias /phpmyadmin /usr/share/phpmyadmin <directory /usr/share/phpmyadmin> options indexes followsymlinks directoryindex index.php <ifmodule mod_php5.c> addtype application/x-httpd-php .php php_flag magic_quotes_gpc off php_flag track_vars on php_flag register_globals off php_value include_path . </ifmodule> </directory> # authorize setup <directory /usr/share/phpmyadmin/setup> <ifmodule mod_authn_file.c> authtype basic authname "phpmyadmin setup" authuserfile /etc/phpmyadmin/htpasswd.setup </ifmodule> require valid-user </directory> # disallow web access directories don't need <directory /usr/share/phpmyadmin/libraries> order deny,allow deny </directory> <directory /usr/share/phpmyadmin/setup/lib> order deny,allow deny </directory>
Comments
Post a Comment