PHP 5.3 (curl) blank page "HTTP/0.9 200 OK" header

Support/Development for PHP
DarkF@der
Forum Regular
Forum Regular
Posts: 313
Joined: Thu May 07, 2009 12:46 pm

PHP 5.3 (curl) blank page "HTTP/0.9 200 OK" header

Unread post by DarkF@der »

Someone an idea what could cause a "HTTP/0.9 200 OK" header and white blank page in CURL connection with Plesk API?
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4149
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: PHP 5.3 (curl) blank page "HTTP/0.9 200 OK" header

Unread post by mikeshinn »

Er, do you mean you connected to the Plesk API with curl, and the response you got was 0.9?
DarkF@der
Forum Regular
Forum Regular
Posts: 313
Joined: Thu May 07, 2009 12:46 pm

Re: PHP 5.3 (curl) blank page "HTTP/0.9 200 OK" header

Unread post by DarkF@der »

We use Wefact that's a program that make atomaticly makes accounts on plesk.

And yes when the programs make a account in plesk with plesk API and using curl then they get a blank page with HTTP/0.9 200 OK" header
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4149
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: PHP 5.3 (curl) blank page "HTTP/0.9 200 OK" header

Unread post by mikeshinn »

Anything in your system or plesk logs?
DarkF@der
Forum Regular
Forum Regular
Posts: 313
Joined: Thu May 07, 2009 12:46 pm

Re: PHP 5.3 (curl) blank page "HTTP/0.9 200 OK" header

Unread post by DarkF@der »

No error in plesk log or system logs and also no errors in the domain log.
The company has setup a vps with also php 5.3 somewhere else and test the program on it.
They say it's working on the test machine.
paulie
Forum User
Forum User
Posts: 76
Joined: Tue Apr 20, 2010 2:49 am

Re: PHP 5.3 (curl) blank page "HTTP/0.9 200 OK" header

Unread post by paulie »

Hi DarkF@der,

The PHP 5.3 is a massive red herring. Unless you've done something incredibly reckless (and probably quite hard) Plesk isn't using PHP 5.3 its using its installed PHP in /usr/local/psa/admin/bin/php which on my Plesk 10.2 is PHP 5.2.6 (going off on a tangent the php-cli in /usr/local/psa/bin is 5.1.6.. nice).

There probably won't be any errors since the page returned OK, is this being returned on all API calls? Has it ever worked? Whats happened between it working and it not working? Is this on Plesk 10? I've never used the Plesk API, so for all I know it might always return a HTTP/0.9 header, though that would be odd.

Paul.
DarkF@der
Forum Regular
Forum Regular
Posts: 313
Joined: Thu May 07, 2009 12:46 pm

Re: PHP 5.3 (curl) blank page "HTTP/0.9 200 OK" header

Unread post by DarkF@der »

It has worked on plesk 9.5 perfectly.
Since i have plesk 10 is hasn't worked anymore.
And they say the problem is on our side but after clean install on a other server we have the same issue.
They give me a account on a vps with php 5.3 nd it was working but like i said we did a clean install after that to test it and still not working maby the upgrade to centos 5.6 is the problem because the new curl version.
Post Reply