Advertisement:

Author Topic: Server configuration and SMF  (Read 1404 times)

Soms

  • Guest
Server configuration and SMF
« on: February 06, 2010, 11:14:33 AM »
I have a personal server to host my websites. Unfortunately the way it is configured at the moment is really very restrictive. For example, if I want to install a third-party mod to my SMF, it refuses to allow overwrite of the necessary files and directories. My questions therefore are these:

What is the proper way to configure a server to make it SMF mod friendly?
Is it true that I need to be looking for the necessary changes in the php.ini and/or the httpd.conf files?
If yes what do I need to change?

Thanks in advance.

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 17,068
  • 戦場ヶ原、蕩れ!
    • srvrguy on GitHub
    • @motokochan on Twitter
    • Nekomusume Moe
Re: Server configuration and SMF
« Reply #1 on: February 06, 2010, 12:06:29 PM »
That's a permission issue. The files need to be writable by the user the webserver is running as. This can involve changing ownership of the files, or changing permissions on the files to give the website user the right access. Determining which method is better depends on the setup of the server.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Soms

  • Guest
Re: Server configuration and SMF
« Reply #2 on: February 06, 2010, 12:36:17 PM »
That's a permission issue. The files need to be writable by the user the webserver is running as. This can involve changing ownership of the files, or changing permissions on the files to give the website user the right access. Determining which method is better depends on the setup of the server.

Thanks Motoko-chan. There are other websites (and users) on the server. I have checked that the owners of the files are the users of the particular files on their own website.