phpAdsNew Tutorial and Installation How To
-
Mini-Me
- $6.95 /month
- 5 GB Storage
- 1 FTP Account
- 25 Subdomains
- 15 GB Bandwidth
- 50 E-mail Boxes
- 25 MySQL DBs
This tutorial describes how to use the phpAdsNew ad management software with your NEXCESS.NET web hosting account. NEXCESS.NET specializes in hosting phpAdsNew software and this tutorial is meant to help you quickly setup your site with our web hosting service.
phpAdsNew is open source, meaning that you can use, distribute and change it as long as you don't remove the original author's copyright information.
For the sake of this tutorial we'll assume that you own the domain 'johnsmith.com' and are setting up phpAdsNew at http://johnsmith.com/phpadsnew/.
Follow these steps to complete the tutorial:
- The first thing to do is to run through
the SiteWorx MySQL tutorial and
create a database for phpAdsNew to use to store the information it
needs.
Create a database called 'phpadsnew' with a user named 'phpadsnew'. When you do this SiteWorx will prefix the database and user names with some text resembling your domain name.
With our example domain of 'johnsmith.com' the database name is 'johnsmit_phpadsnew' and the username is the same 'johnsmit_phpadsnew'. - Download the latest version of Phorum from the phpAdsNew website and unzip the contents of the zip file to your desktop using http://winzip.com. You should now have a folder which contains all the files and folders you need to install and run phpAdsNew. Rename the 'phpAdsNew-2.0' folder to 'phpadsnew'.
- Once you've changed the values, upload the 'phpadsnew' folder to your web hosting account. You should do this using an FTP Program. If you need help with FTPing files, you can check out the FTP tutorials on our tutorials page.
- Now we can access the phpAdsNew installer.
In this example, we'll point to 'http://www.johnsmith.com/phpadsnew/'.
Your screen should look like this:

Click the 'Proceed' button to begin the installation. The page that follows displays the GNU General Public License for which phpAdsNew is licensed under. You can read it if you'd like but it basically states that this script is free to use and distribute and even change as long as you don't remove the authors copyrights. Your screen should look like this:

Click the 'Proceed' button to go to the next step. You should new receive an error message saying that your 'config.inc.php' file is not writeable. Your screen should look like this:

You need to change the permissions on this file before you can continue with your installation. You should be able to do this with the CHMOD function of your FTP program. If you don't know how to do this, check out the FTP tutorials on our tutorials page. CHMOD the 'config.inc.php' file to 666 and click refresh to continue. You should now be on the administrator account page. Your screen should look like this:

Fill out the fields using information you would like for your admin account. You will be using this account to manage your phpAdsNew management system. The URL prefix can stay as it is. Click the 'Proceed' button to continue. You should now be on the MySQL Database page. Fill in these fields according to the information you created for your database in step #1. In this example, you would fill out the fields as follows:
- Database hostname: localhost - Stays the same.
- Database port number: 3306 - Stays the same.
- Database username: johnsmit_phpadsnew
- Database password: mypassword
- Database name: johnsmit_phpadsnew
The 'Table prefix' and 'Table type' can stay the same. Your screen should look like this:

Click the 'Proceed' button to continue. If you receive any error messages, go back and make sure you entered the correct values for your database. If everything went well, your screen should look like this:

Your installation is now complete. Click on the 'Proceed' button to continue. You will now be taken to the login page. Enter the username and password you created for your admin account. Your screen should look like this:

Click the 'Login' button to login to the admin control panel. From here you can change all the settings for your phpAdsNew system according to your preferences. Once you've made all the necessary changes in the control panel, you should CHMOD your 'config.inc.php' file back to 644 so that the important features of the config file are not accessible to anyone. The phpAdsNew tutorial is now complete. Your control panel screen should look like this:
For more information on how to use phpAdsNew once it's installed, check out the phpAdsNew Documentation.