You are not logged in.

#1 2007-06-14 16:14:55

LinuxPatsku
Member
Registered: 2007-05-27
Posts: 37

Strange problem with PHP

Hey!

I don't found same problem with search.

I have succesfully installed Apache and PHP.
Problem is this: I don't get my php weather script working. I tested it other server and works fine!

Php works when I test it with simple "Hello world" script.
Weather script code is valid. What i should do to get script working on my server?

ps. my english text is not valid. big_smile

Last edited by LinuxPatsku (2007-06-14 16:16:36)


ArchLinux with Xfce4.

Offline

#2 2007-06-14 17:36:56

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: Strange problem with PHP

A good start is allways to read the error message. (and post it here) ;-) By default PHP uses syslog instead of sending every error to the client.

Offline

#3 2007-06-27 14:06:25

LinuxPatsku
Member
Registered: 2007-05-27
Posts: 37

Re: Strange problem with PHP

Problem solved when I open /etc/php.ini and set "allow_url_fopen = On". smile


ArchLinux with Xfce4.

Offline

#4 2007-06-27 16:30:06

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: Strange problem with PHP

But don`t forget that this is a security risk. You should use something like curl instead.

Offline

Board footer

Powered by FluxBB