store | blogs | forums | twitter | facebook | wiki | downloads | support portal
Atomic Secure Linux
It is currently Thu Oct 02, 2014 10:26 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: PHP 5.3 (curl) blank page "HTTP/0.9 200 OK" header
Unread postPosted: Thu Apr 14, 2011 5:30 am 
Offline
Forum Regular
Forum Regular

Joined: Thu May 07, 2009 12:46 pm
Posts: 290
Someone an idea what could cause a "HTTP/0.9 200 OK" header and white blank page in CURL connection with Plesk API?


Top
 Profile  
 
 Post subject: Re: PHP 5.3 (curl) blank page "HTTP/0.9 200 OK" header
Unread postPosted: Thu Apr 14, 2011 10:29 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
User avatar

Joined: Thu Feb 07, 2008 7:49 pm
Posts: 3638
Location: Chantilly, VA
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

Co-Author of Troubleshooting Linux Firewalls.


Top
 Profile  
 
 Post subject: Re: PHP 5.3 (curl) blank page "HTTP/0.9 200 OK" header
Unread postPosted: Tue Apr 19, 2011 5:08 am 
Offline
Forum Regular
Forum Regular

Joined: Thu May 07, 2009 12:46 pm
Posts: 290
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


Top
 Profile  
 
 Post subject: Re: PHP 5.3 (curl) blank page "HTTP/0.9 200 OK" header
Unread postPosted: Tue Apr 19, 2011 10:09 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
User avatar

Joined: Thu Feb 07, 2008 7:49 pm
Posts: 3638
Location: Chantilly, VA
Anything in your system or plesk logs?

_________________
Michael Shinn
Atomicorp - Security For Everyone

Co-Author of Troubleshooting Linux Firewalls.


Top
 Profile  
 
 Post subject: Re: PHP 5.3 (curl) blank page "HTTP/0.9 200 OK" header
Unread postPosted: Wed Apr 20, 2011 3:30 am 
Offline
Forum Regular
Forum Regular

Joined: Thu May 07, 2009 12:46 pm
Posts: 290
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.


Top
 Profile  
 
 Post subject: Re: PHP 5.3 (curl) blank page "HTTP/0.9 200 OK" header
Unread postPosted: Wed Apr 20, 2011 5:19 am 
Offline
Forum User
Forum User

Joined: Tue Apr 20, 2010 2:49 am
Posts: 75
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.


Top
 Profile  
 
 Post subject: Re: PHP 5.3 (curl) blank page "HTTP/0.9 200 OK" header
Unread postPosted: Wed Apr 20, 2011 5:33 am 
Offline
Forum Regular
Forum Regular

Joined: Thu May 07, 2009 12:46 pm
Posts: 290
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group