PHP 5.3 (curl) blank page "HTTP/0.9 200 OK" header
PHP 5.3 (curl) blank page "HTTP/0.9 200 OK" header
Someone an idea what could cause a "HTTP/0.9 200 OK" header and white blank page in CURL connection with Plesk API?
- mikeshinn
- 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
Er, do you mean you connected to the Plesk API with curl, and the response you got was 0.9?
Michael Shinn
Atomicorp - Security For Everyone
Atomicorp - Security For Everyone
Re: PHP 5.3 (curl) blank page "HTTP/0.9 200 OK" header
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
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
- mikeshinn
- 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
Anything in your system or plesk logs?
Michael Shinn
Atomicorp - Security For Everyone
Atomicorp - Security For Everyone
Re: PHP 5.3 (curl) blank page "HTTP/0.9 200 OK" header
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.
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.
Re: PHP 5.3 (curl) blank page "HTTP/0.9 200 OK" header
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.
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.
Re: PHP 5.3 (curl) blank page "HTTP/0.9 200 OK" header
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.
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.