WordPress.org

Ready to get started?Download WordPress

Forums

wordpress on debian with virtualHost on NFS (2 posts)

  1. ganeshv
    Member
    Posted 1 year ago #

    I'm having issues trying to install a wordpress blog on debian squeeze with wordpress 3.3.2.

    Making sure virtual hosts works with apache2

    I would like the blog to be at "blog.hostname.edu" with the files hosted at /some/path that is NFS mounted. So I first made sure that virtual hosts would work with apache, added a line to etc/hosts and put a dummy index.php there. That works. I should mention that root does NOT have write access to this folder /some/path.

    Installing wordpress
    I created a database following instructions here. http://codex.wordpress.org/Installing_WordPress#Using_the_MySQL_Client.
    I tested the database using the testconnection.php file here
    http://www.wpbeginner.com/wp-tutorials/how-to-fix-the-error-establishing-a-database-connection-in-wordpress/

    I then added a configuation file to /etc/apache2/conf.d using the example given in /usr/share/doc/wordpress/examples. I linked the wordpress installation to my folder at /some/path. I threw out the old wp-config.php and used the wp-config-sample.php to create one tailored to my database info. But I keep getting a "error connecting to database" at the end. Anything I've missed?

    ganesh

  2. ganeshv
    Member
    Posted 1 year ago #

    I've also tried enabling the WP_ALLOW_REPAIR in the wp-config.php. It gives me nothing different. I keep getting the same error at blog.hostname.edu/wp-admin/maint/repair.php

Topic Closed

This topic has been closed to new replies.

About this Topic