• I have windows XP and i am running both IIS and Wamp Server. I am running WAMP Server 2.0 having Apache 2.2.8.

    As i have both IIS and Apache so i change my apache port from 80 to 90 in httpd.conf for apache so i become able to browser apache server on http://localhost:90 but wordpress is not installing.

    When i give localhost:90 in mysql hostname at the time of installation it says unable to find host or if i give manually in wp-config.php like following

    define('DB_HOST', 'localhost:90');

    it still not connecting.

    I want to know how can i tell wordpress to connect on any specified port.

    Any help is highly appreciable.

    Thansk & Regards
    Junaid Hassan

Viewing 1 replies (of 1 total)
  • DB_HOST is for your MySQL database, not for Apache. MySQL normally runs on port 3306. Unless MySQL is on a non-standard port you shouldn’t need to specify a port for that. I believe that what you want to change are these two:

    define('WP_HOME','http://localhost:90');
    define('WP_SITEURL','http://localhost:90');
Viewing 1 replies (of 1 total)
  • The topic ‘wordpress is not working after changing apache port’ is closed to new replies.