LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-07-2007, 09:05 AM   #1
hsrthe4th
LQ Newbie
 
Registered: Sep 2004
Location: Georgia, USA
Distribution: Slackware
Posts: 10

Rep: Reputation: 0
PHP 5.2.3 http wrapper issue in current


The http wrapper class in php has stopped working after the last round of updates.

I am using Slacker current, php-5.2.3-i486-1, httpd-2.2.4-i486-3

The exact error I get is
Quote:
Unable to find the wrapper http - did you forget to enable it when you configured PHP?
I have allow_url_fopen = On in php.ini.

An example that generates the error:
PHP Code:
$file fopen ("http://www.php.net/""r"); 
If i use fopen on a local file it works fine.


I have rolled php back to php-5.2.2-i486-2 with and that fixed the problem.

Last edited by hsrthe4th; 06-07-2007 at 09:59 AM.
 
Old 07-01-2007, 12:00 PM   #2
hsrthe4th
LQ Newbie
 
Registered: Sep 2004
Location: Georgia, USA
Distribution: Slackware
Posts: 10

Original Poster
Rep: Reputation: 0
I am having the same issue with php-5.2.3-i486-2
While running 5.2.2 when i run php -i I get:
Code:
Registered PHP Streams => php, file, data, http, ftp
After the upgrade to 5.2.3:
Code:
Registered PHP Streams => php, file, data
Is there a way to register the other two streams (http or ftp) either as a compile option or in the ini?
 
Old 08-15-2008, 07:28 AM   #3
conandor
LQ Newbie
 
Registered: Mar 2008
Posts: 11

Rep: Reputation: 0
Quote:
Originally Posted by hsrthe4th View Post
I am having the same issue with php-5.2.3-i486-2
While running 5.2.2 when i run php -i I get:
Code:
Registered PHP Streams => php, file, data, http, ftp
After the upgrade to 5.2.3:
Code:
Registered PHP Streams => php, file, data
Is there a way to register the other two streams (http or ftp) either as a compile option or in the ini?
i've similar problem. does someone ve solution for this?
 
Old 08-15-2008, 08:40 AM   #4
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
What is your slackware current version ?
I use slackware 12.1 stable version and:
Code:
php -v
PHP 5.2.6 (cli) (built: May  7 2008 16:16:20) 
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
It is php 5.2.6 here and fopen() works with URLs, I just checked it
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTPS/HTTP Authentication Issue win32sux LQ Suggestions & Feedback 4 03-05-2007 11:45 PM
You have chosen to open index.php which is a : PHP Script from: http://localhost cucolin@ Linux - Software 3 01-30-2007 04:58 PM
HTTP server set-up issue Ukee Linux - Networking 2 09-19-2004 01:52 PM
Updating php 4.3.1 from tar and keeping current php configuration with mandrake 9.1 mrjeep Linux - General 0 04-02-2003 08:50 AM
Strange HTTP issue cyberkatis Linux - Networking 2 02-07-2002 11:35 AM


All times are GMT -5. The time now is 08:39 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration