2 Replies - 3012 Views - Last Post: 13 January 2013 - 11:46 AM

#1 stevegtdbz  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 33
  • Joined: 04-August 12

PHP SERVERS

Posted 12 January 2013 - 11:50 AM

Hello to everyone!
I just make a new site with (PHP, JS, HTML..) and i run it on localhost XAMPP server to create it, all worked fine.
I found a server which support PHP Ver 5.2.12 and promblems appear on some pages.

1)Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in...
2)[function.fopen]: failed to open stream: no suitable wrapper could be found in...
- WHAT THAT MEANS ????? Is not supported by the server ??? Or what ???
Thanks please help me...Sorry about my bad english.

Is This A Good Question/Topic? 0
  • +

Replies To: PHP SERVERS

#2 Atli  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 3719
  • View blog
  • Posts: 5,991
  • Joined: 08-June 10

Re: PHP SERVERS

Posted 12 January 2013 - 12:24 PM

Read the error message more closely. This part, in particular:

Quote

URL file-access is disabled in the server configuration

This refers to the allow_url_fopen configuration directive being off.

If you want to open remote files via the file IO functions, this must be turned on.

Quote

I found a server which support PHP Ver 5.2.12

Why on earth would you be setting up such an outdated server? The 5.2 branch was officially ended two ears ago, and that release was released more than a year before that.

I highly recommend you use a more modern version for your server.
Was This Post Helpful? 0
  • +
  • -

#3 stevegtdbz  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 33
  • Joined: 04-August 12

Re: PHP SERVERS

Posted 13 January 2013 - 11:46 AM

Thank you
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1