installazione script php

gozzilla71

Nuovo Utente
21 Ago 2008
4
0
0
salve a tutti mi sono appena iscritto a questo interessantissimo forum.
Spero di essere capitato nel posto giusto e volevo, se possibile, esporvi il mio problema.
Ho acquistato da un sito uno script scritto in php (con all'interno un database) e volevo installarlo in locale per poterlo vedere e studiare un pochino. Ho scaricato ed installato EasyPHP 1.8 solo che non riesco ad installare lo script perchè questo va prima configurato.
Io sinceramente ne so pochissimo di programmazione.
Credete di potermi dare una mano?
Vi ringrazio anticipatamente
Ciao
 
Sicuramente…….
Dal file “ReadMe” riporto parte di quello che mi si richiede di fare (requisiti, installazione, cron job) e precisamente:

Requirements :
--------------
1. A webserver with php 4.3 or higher (If you're curious about what version you have, run the phpinfo.php script which comes with this release)
2. CURL must be installed and be compiled into PHP
3. MySQL
4. You must have sendmail or Smtp installed

Notes :
-------
This script use a $_SESSION (session) for all parameters, so you need create a new session in your web browser or perform a logout for
any changes are lodaed.


Installation :
--------------
1. Download the script and unzip the file
2. Configure and set parameters in your config_inc.php
3. Upload the contents of the zip file to your server
4. Upload your license file (license_inc.php) to your script folder.
5. CHMOD "cron" folder and all files under it to 755 (0755 or r-x-r-x-r-x)
6. Direct your web browser to the install script (http://yourdomain.com/install.php) to create MySQL database and all tables
7. Login to Control Panel (http://yourdomain.com/admin/setting.php) and set all parameters
8. Delete the install.php from your website.


Cron Job :
----------
Run all scripts in your "cron" directory!
1. del_ads.php (to delete expiired ads in your classifieds) -> Run every day (once a day)
2. sendmails.php (to send auto follow up messages) -> Run every day (once a day)
3. set_exp.php (to set expired membership) -> Run every day (once a day)
 
Dato che suppongo che tu abbia già scompattato l'archivio zip, passiamo al file config_inc.php? quali setaggi sono richiesti?
 
il file config_inc è il seguente:

<?php
#-----------------------------------------------------------------------------#
#----------------------------- Script4Profit.com -----------------------------#
#------------------------- nXn Matrix AutoWithdrawal ------------------------#
#---------- http://www.Script4Profit.com - elwin@Script4Profit.com -----------#
#------------------- Copyright © 2007 Elwin HG - Indonesia ------------------#
#-----------------------------------------------------------------------------#
// This is the main configuration file. To get this script running
// and customize it to your needs, you will have to change some
// parameters here. Every parameter is explained with a comment,
// and you must ONLY change the values between the two " in every line!
//
// The first part are the parameters you definitely have to change to
// get things running so you can at least use the 'install.php' script

// -------------------- REQUIRED PARAMETERS --------------------

// Your MySQL server/host :
$conf['dbhost'] = "localhost";
// IMPORTANT: If you don't know what MySQL is or wether you have a
// MySQL server or not, then you have a problem - contact you server
// administrator.

// MySQL database name :
$conf['dbname'] = "nXn_autowithdraw";

// MySQL database username :
$conf['dbuser'] = "root";

// MySQL database password :
$conf['dbpass'] = "";

// Your website default language :
$conf['deflang'] = "en";

// Complete path to the templates directory (with trailing slash) :
$conf['tpldir'] = getenv("DOCUMENT_ROOT")."/theme/";

// Complete path to the languages directory (with trailing slash) :
$conf['langdir'] = getenv("DOCUMENT_ROOT")."/includes/lang/";

// Complete path to the files directory (with trailing slash) :
$conf['files_directory'] = getenv("DOCUMENT_ROOT")."/files/";

// -------------------- END OF CONFIGURATION --------------------
?>
 

Discussioni simili