Http server error on windows azure platform - php

I have bunch of websites running on windows azure in same region (North Central US). The problem is only with one website. Sometimes it gives me HTTP Server Error (503). Is there anything to do with application side or it's server issue?
I have same website running on development server without any kind of error.
What could be the possible solutions regarding this?
How to check which error are there in my PHP application OR error logs?
The Error I am getting in PHP is this:
PHP Fatal error: Failure in Wincache[5784] free_memory: Block 0x3d8188c not in use
in D:\home\site\wwwroot\system\libraries\Log.php on line 44

Related

I have an issue with the website after moving files to sub domain

Hi Guys I would really appreciate your help for this issue. Can you tell me what are the possible problems and ways to solve them on this kind of issue.
sample
Thank you so much for those who will answer.
HTTP Error 500 Internal server error
Introduction
The Web server (running the Web Site) encountered an unexpected condition that prevented it from fulfilling the request by the client (e.g. your Web browser or our CheckUpDown robot) for access to the requested URL.
This is a 'catch-all' error generated by the Web server. Basically something has gone wrong, but the server can not be more specific about the error condition in its response to the client. In addition to the 500 error notified back to the client, the Web server should generate some kind of internal error log which gives more details of what went wrong. It is up to the operators of the Web server site to locate and analyse these logs.
Fixing 500 errors - general
This error can only be resolved by fixes to the Web server software. It is not a client-side problem. It is up to the operators of the Web server site to locate and analyse the logs which should give further information about the error.

cURL cannot resolve valid AWS host in Vagrant

I am using the AWS PHP SDK to interface with a CloudSearch instance and it appears to work fine on my production and staging servers, but I am continually getting Guzzle/cURL errors in my local environment (using VVV of local WordPress development in vagrant).
For each request I see this error
Uncaught exception 'Guzzle\Http\Exception\CurlException' with message
'[curl] 6: Could not resolve host: search-localalumnispacesv2-ytnhdpo4wvr56v66sfdkwmk5lu.us-east-1.cloudsearch.amazonaws.com
When I error log $e->getMessage(), I can see the url it is using to call the AWS APIs and testing that url via the browser directly, through HTTP test apps or with cURL directly in command line (on my host machine), I'm able to get a response without any problem. This leads me to believe that the actual request is fine and the host is valid.
I can reproduce the problem when I ssh into the virtual vagrant box and do a cURL command for the url, leading me to believe that the issue is isolated to requests made from within my vagrant box.
Any ideas for what might be causing it not to resolve within vagrant?

PDO Exception: The server requested authentication method unknown to the client

I have a running LARAVEL based website on a shared hosting (Business Plan) with Hostgator India. Ee decided to migrate it to a recently purchased dedicated server. The content transfer/migration was successful, however, when I try to LOGIN/REGISTER using the default laravel methods on the dedicated server I get following exception:
PDO Exception: The server requested authentication method unknown to the client
After, researching a lot on Google / StackOverflow I discovered that there could be a mismatch in the server mysql version. However, I am not able to understand how to get it fixed. I am currently using a PHP 5.5 (Also tried PHP 5.4 with no success). Downgrading it to PHP 5.3 would work, with its own sweet problems for "syntax errors" and requires quite a lot of the change in the code. The code works absolutely fine on the business plan and my local MAMP server. I am sure I am missing something very small here and would be really thankful if someone could point me in right direction.
Edit 1: MySql information on Server
Server type: MySQL
Server version: 5.5.37-cll - MySQL Community Server (GPL)

HTTP Error 500 on phpinfo.php

I just installed MySQL on Windows Server 2008 R2.
I followed the instructions on: [Install and Configure MySQL for PHP Applications on IIS7][1]
And when i was gonna check phpinfo.php, i get error 500. Here is a ScreenShot that i took when using RDP to our Windows 2008 R2 server. http://i.stack.imgur.com/hW7qG.png
I have no idea what causes this error. And i have absolutley no idea how to fix this.
Here is the error log that IIS made for today: http://s000.tinyupload.com/?file_id=11719906829973224437
i've searched around using google, and there was no solution for my problem.
I have PHP Manager, and it does not show any message that would indicate there is a problem with the PHP configuration.
Any idea how i can fix this, so that i can continue on developing the website for my company?

Error message if IIS 5.1 is stopped?

Is there a way to show any error message if IIS(5.1) is stopped or not working? We have got few websites on server 2000 and we want to show some message to end user if IIS doesn't respond due to any reasons.
I have tested this scenario on the test server, i just stopped the IIS and then try to access one of the website to see if i get any error message from IIS but i didn't get any IIS error message (IE: Internet Explorer cannot display the webpage)
Since IIS is the web server that receives HTTP requests and responds to them, you'd need to run another web server that does the same thing instead of IIS. If you're running a web server that can respond to HTTP requests with an error message though, you may as well use it to run your website. In short, unless you have another system sitting in front of your actual web server that can detect when the web server is down (say, a load balancer)... it's kind of an unrealistic proposal.

Categories