IIS -> PHP -> Wordpress - ERR_CONNECTION_REFUSED - php

I'm trying to install Wordpress on IIS, but this annoying problem has been getting on my nerves.
The WP is installed on a Windows Server 2012 with IIS installed (other ASP.NET sites work on it).
There is no firewall enabled on Windows Server.
The login screen disappears if I set the user in IIS, but still giving problem ERR_CONNECTION_REFUSED to anyone who tries to access the blog externally to the server.
I have also tried:
Give folder access permission the user anonimous, but had no effect.
Activate SSL, which had no effect either.
Disable SSL on wordpress: define(‘FORCE_SSL_ADMIN’, false); define(‘FORCE_SSL_LOGIN’, false); on WP_Config.php
Disable php_openssl.dll on PHP Extensions
Follows a print (left the screen of an external user and right navigation screen from the server):
How to solve it?

I found the solution here: http://blog.pluralsight.com/installing-wordpress-on-iis7
I removed the mysql and installed the current version.
I changed the permissions to full control of phpsessions folder for users: IUSR; IIS_IUSRS; Network Service

Related

xampp does not recognize php file

I have downloaded magento from bitnami a month ago on my windows 8, now I wanted to install xampp to run my php files and test them I have some confusing issues
1:When I open my php file after installing xampp its not opening as a php file and I have to choose options to open it with notepad,php file is appearing same as nothing happens on installing xampp.
2.Magento has accessed the ports required so if i try to test xampp like this localhost/ it opens page for magento successful installation and not xampp.. I changed the port from 80 to 81 and accessed localhost like this correctly localhost:81/ but when I try to access phpmyadmin its not giving me access to the server with root and no password also I have changed AllowNoPassword true already.I have changed the port to 3310 now how to access phpmyadmin as if I write localhot:3310/phpmyadmin it force downoads a file saying "PACKETS ARE NOT IN ORDER"
I am feeling that there might be some thing conflict among the two installations the question is as I have installed magento already what is the best way t run and test my php file
Thanks in advance

IIS 404 error from Apache php wordpress blog

I have configured ApacheLounge on the localhost port 8282 on Windows 7 Ultimate SP1.
I have also installed PHP, MySQL & Wordpress blog to a test website in Apache Server.
The Apache website works fine on port http://localhost:8282/TestWebsite/index.php.
I have created a blog folder at the root folder of the website. I have unzipped wordpress 4.2.2 in the blog folder and configured it correctly with MySQL server.
All links work properly on the website except the blog link.
When I click on the blog link it redirects from localhost:8282/TestWebsite/blog/ to localhost/TestWebsite/blog/
Displaying a error page from IIS
which is as below
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
Detailed Error Information
1. Module IIS Web Core
2. Notification MapRequestHandler
3. Handler StaticFile
4. Error Code 0x80070002
5. Requested URL http://localhost:80/testwebsite/blog/
6. Physical Path C:\inetpub\wwwroot\testwebsite\blog\
7. Logon Method Anonymous
8. Logon User Anonymous
I dont understand why would it redirect to IIS port number 80 where it is not hosted at all.
Please anyone help.

Magento not working after migration server and change URL

I have moved a magento site rackspace windows cloud server to another windows server that have plesk installed.
After migration I have changed my base URL from core_config_data to plesk site preview link and deleted all files from cache folder, Now when I am trying see my site using plesk site preview link firefox giving The page isn't redirecting properly error, on Chrome giving This webpage has a redirect loop error.
I have checked my plesk preview link with other files and see link is working fine but only magento not opening.
Any one know how to fix this?
URL Rewriting depends on your .htaccess file, so there are a couple of things to check:
web/seo/use_rewrites in core_config_data should be true.
when you created your tarball, did it include . files in the root directory especially .htaccess?
If you used tar -cvf archive.tar * then it may have missed them. (Nice "feature" of *nix).
Check that your httpd.conf has AllowOverride All, otherwise your local .htaccess will be ignored.
Did you changed both of "web/unsecure/base_url" and "web/secure/base_url"? if you changed only one - it can be not working.

wordpress downloading php file instead of viewing the webpage

I installed wordpress on my local machine (backtrack) for experimenting. After I got everything setup I moved it to an Ubuntu Server so that everybody can access those pages at work. I followed the same instructions, I moved the wordpress folder into /var/www but I created a new database with the same username, password and hostname.
The problem is whenever I access the webpage #ubuntu it tries to download the file, if access the page #backtrack it goes to the dashboard and everything is fine.
I did not have an .htaccess file on either machine sop I created one just to see if it will fix the problem but it did not.
Apache works fine because I can get to some folders I have setup by going to
"http://ubuntuserver/folder name"
and the logs shows no errors because it is delivering the webpage to the client just fine but the client is downloading it instead.
Any Ideas why this is happening??
Sounds like you haven't installed the PHP module for Apache or enabled it to use PHP using AddType in the Apache config file.
It seems that your WebServer ( Apache here, i suppose ) is not configured to use PHP module and/or is missing some PHP configuration options.
See here for some basic configuration tutorial.

Creating custom site on IIS 7

I have IIS 7 running on Windows 7. Everything works fine with the default website. Now I am trying to create a new site with physical path C:\users\xxx\mysite.
I am following this tutorial.
The site is created but when I run it, I get the following error:
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
How do I fix the problem?
Ok I got this working!
There was nothing wrong in the configuration.
I was windows file permissions issue.
To fix this I did the following:
1) In IIS, click edit permissions (on the right side).
2) Go to Security tab.
3) Click Edit -> Add -> Advanced -> Find Now.
4) Select both IIS_IUSRS and IUSR.
5) Click OK>OK>OK... and exit
That's it!

Categories