General Community > Site Comments, Issues and Concerns
Install: ftp mandatory?
digit:
I chmodded the files, but when I pull up install.php, it asks me for my ftp info (not the MySQL database username, etc) Is there a way to bypass this?
David:
FTP access is only used by the installer if needed files are not already made writable when you uploaded them and PHP does not have access to change them to be.
digit:
ok, I did this, what else do I need to do?
Thanks.
chmod 666 Settings.php
chmod 666 Settings_bak.php
chmod 777 Themes
chmod 777 Packages
chmod 777 attachments
Owdy:
http://www.simplemachines.org/community/index.php?topic=6765.0
digit:
I was working from that page -
From that page -
Once all the files are uploaded, if you are using a *nix server, which is likely the case, you will need to change the permissions [chmod] on a few of the files and directories. The procedure to do this varies between different FTP programs, but generally you right click on the file or directory whose permissions you wish to change and select properties and enter a number in the permissions field. If you are unsure, consult the help file of the ftp program you are using.
The files you need to change the permissions for are Settings.php and Setting_bak.php. The permissions for these two files should be set to 666.
The directories you need to change the permissions for are attachments, Packages and Themes. The permissions for these three directories should be set to 777.
Installing SMF
Assuming the previous steps went well, you should now have the SMF source files on your server and their relevant permissions set, all that is needed now is to run the install.php file to configure your MySQL database, settings and your admin account.
Open up your favourite web browser and browse to http://www.yourdomain.tld/smf/install.php (where smf is the directory name you chose earlier). Provided you set the permissions correctly on Settings.php and Setting_bak.php you should see a form asking for various settings. Fill these in as follows:
orum Name: This will be the name of your forum. It starts as "My Community" but you should probably change it.
Forum URL: This is the url your forum will be located at, the SMF installer should have worked this out for itself so in most cases you can leave this setting at its default value.
MySQL server name: This is where we specify the server that the MySQL database resides on. 99% of the time this will be localhost.
MySQL username: This is the username for your MySQL database, often you will have to set this up in your web hosts control panel, if in doubt, consult your host.
MySQL password: This is the password for your MySQL database, often you will have to set this up in your webhosts control panel, if in doubt, consult your host.
MySQL Database name: This is the name of your MySQL database, often you will have to set this up in your webhosts control panel, if in doubt, consult your host.
MySQL Database prefix: This is a prefixed to the table names in your database, it enables you to run more than one application on a single MySQL database, you should generally leave it as smf_, unless you are installing a second copy of SMF on the same database.
problem is, after setting the prermissions as shown above, I still get a page asking me for my ftp info (not the mySQL server info)
Navigation
[0] Message Index
[#] Next page
Go to full version