• Resolved pst1985

    (@pst1985)


    Hi, I have previously installed WordPress using IIS7 on my Windows 7 machine with no problems. I am now doing a separate installation using XAMPP and I got stuck during the installation process of WordPress when using a different port number for Apache, using XAMPP.

    I modified the default port number for Apache from listening to port 80 to port 1234, as I am aware that IIS uses port 80. After editing the httpd.conf file to use ‘Listen 1234’ and ‘ServerName localhost:1234’, loading XAMPP and starting Apache and MySQL services works fine. I can load the /localhost:1234/ on my browser and can see that XAMPP’s installed, and can even access phpMyAdmin to create a new database called ‘wordpress’.

    The obstacle I encountered is that when I run /wordpress/index.html and then click the link to start the 5-minute installation, atfer keying all my details and setting DB_HOST as localhost:1234, the installation step 2 timed out. There was just a blank white screen with no message dumped.

    I am not sure if installation of WordPress specifically requires only port 80 and not any other port numbers. I’ve Googled on similar topics, but all point to editing the httpd.conf file, which I already did but I’m not making advances in installation. All help is appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • setting DB_HOST as localhost:1234

    No – that’s your site url – not the hostname for your database. Try just using localhost.

    Thread Starter pst1985

    (@pst1985)

    Ok, in the installation steps, I used localhost instead of localhost:1234 in the DB_HOST, and the installation can proceed. Thank you. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Installing WP using XAMPP on different port no. for Apache’ is closed to new replies.