Koozali.org: home of the SME Server

Changing/edit PHP Configuration

kuyaz

Changing/edit PHP Configuration
« 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,

kuyaz

Changing/edit PHP Configuration
« Reply #1 on: July 26, 2005, 09:22:05 PM »
Can anyone help me out with this?

Thanks in advance...

Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
Changing/edit PHP Configuration
« Reply #2 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
If you think you know whats going on, you obviously have no idea whats going on!

kuyaz

Changing/edit PHP Configuration
« Reply #3 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

Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
Changing/edit PHP Configuration
« Reply #4 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
If you think you know whats going on, you obviously have no idea whats going on!

kuyaz

Changing/edit PHP Configuration
« Reply #5 on: August 11, 2005, 07:18:50 AM »
Bob,

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

Patrick

duncan

Changing/edit PHP Configuration
« Reply #6 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 that will do it per ibay.

Regards Duncan