Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: kuyaz on July 24, 2005, 10:02:14 AM

Title: Changing/edit PHP Configuration
Post by: kuyaz on July 24, 2005, 10:02:14 AM
Hello,

I was wondering how to change/edit the php configuration? Also what is the different between master and local values?

Thanks,
Title: Changing/edit PHP Configuration
Post by: kuyaz on July 26, 2005, 09:22:05 PM
Can anyone help me out with this?

Thanks in advance...
Title: Changing/edit PHP Configuration
Post by: crazybob on July 27, 2005, 06:28:09 PM
kuyaz,

    I do not know very much about php, but the way some of it is tied into SME, some of the changes have to be made in the templates.

  It would be a helpful if you would explain what you need to modify, or what error messages or logfile messages you are receiving if you are trying to run a php file

Bob
Title: Changing/edit PHP Configuration
Post by: kuyaz on July 28, 2005, 07:11:12 AM
Bob,

What I want to do is to turn on "allow_url_fopen". I thought I had it fixed in the /etc/php.ini file, but when I rebooted the computer, the settings reverted. So obviously that was only a temporary fix.

If you could help or point me in a direction, I would appreciate it a lot.

Patrick
Title: Changing/edit PHP Configuration
Post by: crazybob on July 28, 2005, 07:36:39 AM
It just takes a little searching. This thread http://forums.contribs.org/index.php?topic=21539.msg91103#msg91103  tells you how. Read the last post in the string.

I needed to change a few things on my server to allow some website creating software to work, and found how to change php settings by searching and reading on this site

Bob
Title: Changing/edit PHP Configuration
Post by: kuyaz on August 11, 2005, 07:18:50 AM
Bob,

Thanks for the link! I got php to do what I want now.

Patrick
Title: Changing/edit PHP Configuration
Post by: duncan on August 11, 2005, 09:34:35 AM
Setting "allow_url_fopen" to on globally can be a security risk. I came up with another method here  (http://forums.contribs.org/index.php?topic=28444.0) that will do it per ibay.

Regards Duncan