I have this script from socialengine.net and followed their instruction on how to install. But I'm stuck to instruction number 2 and number 4.
Here's the instruction:
INSTALLATION INSTRUCTIONS
1. Create a directory on your server where SocialEngine will be placed (e.g. "/socialnetwork"). Or, if you wish, you can simply use your existing HTTP root directory (e.g. "/httpdocs").
2. Upload all of the files and folders contained in the "/files" directory in this zip to your server. Do not upload install.html, license.html, upgrade.html, changelog.html, or the contents of the "/upgrade" directory.
- Upload the "/images" and "/include" directories in BINARY mode.
- Upload everything else in ASCII mode.
Remember, a file named "index.php" is included with SocialEngine. If you already have a homepage with this name, you can choose to not upload this file. SocialEngine also comes with an example portal page, "home.php", which you can use if desired.
3. Upload the files install.php and installsql.php to your server. These files can be found in the "/install" directory in this zip.
4. Set full permissions (CHMOD 777) on the "/include" directory
Set full permissions (CHMOD 777) on the "/uploads_user" directory
Set full permissions (CHMOD 777) on the "/uploads_admin" directory
Set full permissions (CHMOD 777) on the "/uploads_admin/ads" directory
Set full permissions (CHMOD 777) on the "/include/smarty/templates_c" directory
Set full permissions (CHMOD 777) on every file inside the "/templates" directory
5. Point your browser to where you uploaded install.php, for example:
http://www.yourdomain.com/socialnetwork/install.php
6. Follow the instructions and input your MySQL database information. Once this has completed successfully, a password will be randomly generated for you. Use this information to login to your admin panel. You can change your username/password on the "View Admins" page.
7. Remember to delete "install.php" and "installsql.php" after your installation has completed successfully. Leaving these files intact poses a serious security risk!