<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MDS BLOG &#187; MYSQL</title>
	<atom:link href="http://www.mdsnig.com/News/archives/tag/mysql/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mdsnig.com/News</link>
	<description>Company Updates, Web Tutorials and General</description>
	<lastBuildDate>Fri, 10 Sep 2010 18:57:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>INSTALLING A PHP SCRIPT TO A CPANEL SERVER PLATFORM</title>
		<link>http://www.mdsnig.com/News/archives/5</link>
		<comments>http://www.mdsnig.com/News/archives/5#comments</comments>
		<pubDate>Mon, 10 Nov 2008 20:12:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP SCRIPT INSTALLATION AND CUSTOMISATION]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[customise php]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[ftp commander]]></category>
		<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php script installation]]></category>

		<guid isPermaLink="false">http://www.mdsnig.com/News/?p=5</guid>
		<description><![CDATA[PHP is a server side programming language and runs mostly on all platforms. The server just needs to have a php interpreter installed that can interprete all php scripts installed in it. PHP also interacts with databases like MYSQL. Most servers have MYSQL because its free and open source.
Okay lets take you down the road [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.php.net/" target="_blank">PHP</a> is a server side programming language and runs mostly on all platforms. The server just needs to have a php interpreter installed that can interprete all php scripts installed in it. PHP also interacts with databases like <a href="http://www.mysql.com" target="_blank">MYSQL. </a>Most servers have <a href="http://www.mysql.com/" target="_blank">MYSQL</a> because its free and open source.</p>
<p>Okay lets take you down the road straight away but before we do that let us talk about the things you will need in order to go through this tutorial very smoothly. I will base this tutorial using a server with a <a href="http://www.cpanel.net/index.html" target="_blank">CPANEL</a> platform. I think you will need the following  my freinds.</p>
<ul>
<li><strong>A php script of your choice depending on the program you want to run .ie forum script, dating site script etc .</strong></li>
<li><strong>An ftp program in which to upload your files your server and an ftp access to your server.</strong></li>
<li><strong>A server running on any platform but preferably a Cpanel platform</strong></li>
<li><strong>A MYSQL database access directly through your server or through the MYSQL site itself.</strong></li>
<li><strong>A good documentation of the installation process you want to run , this can be found in the READ ME .txt file of the script you want to install or through the script vendor home page .</strong></li>
</ul>
<p>Alright thats about it, take a cup of tea and lets get down to business:</p>
<p>Now open your  folder containing the php script you want to install and take a look at the file structure, after that you can close it or leave it open if you want.</p>
<p>If you already have an <a href="http://filezilla-project.org" target="_blank">FTP</a> (file transfer protocol) program, then you can connect to your server using your ftp program. Please contact me if you do not understand these or search more in our blog database for how to use an ftp tutorial. They are all basically the same procedure but some interface differ and may confuse you.</p>
<p>Lets assume you already know how to use an FTP program, then the next step to take is to quietly log into your server using your ftp and then upload all the files in the php script folder on your computer to the folder you want to install it in your web server.  It is either in the &#8220;public_html&#8221; folder  ( /root/) which is the root directory in your server or any other  sub folder ( /root/your sub folder/  ) within the root that you would like to install the script.</p>
<p>After you have finished doing that then lets log into your cpanel.</p>
<p><strong>NOW WE ARE INSIDE YOUR CPANEL</strong></p>
<p>Okay the first thing we are going to do is embark on creating a MYSQL database for your new php script. please take note that not all php scripts needs a database but we are assuming that this one is a database driven php script.</p>
<p>In your CPANEL please find the icon that says &#8220;MYSQL, mysql databases&#8221; and then click on it to create your database for the php script you want to install. In the new window that opened do the following</p>
<ul>
<li><strong>Create a database ( that can be any name you like but relate it to your script if you like)</strong></li>
<li><strong>Create a username and password </strong></li>
<li><strong>Assign the username and password to the database created</strong></li>
<li><strong>Assign &#8220;ALL PRIVILEDGES&#8221; to the user </strong></li>
</ul>
<p>NOTE: <span style="color: #0000ff;"><em>Your database can also be managed through PHPMYADMIN ( we will get to that in the following lessons but let us install your script now. Please remember to write down or take note of your database name , user and password. you will need that for the installation process.</em></span></p>
<p><strong>LET US INSTALL</strong></p>
<p>Different php scripts have different installation process, most of the scripts will take you through an installation wizard but some will require you to manually do the installation and that will involve mainly manually creating tables and inserting values into tables created  but dont worry about that , you will get to learn how to do that when we treat the MYSQL database section.</p>
<p>Also take note that some php scripts will either come with a folder named &#8220;INSTALL&#8221; or a single file called &#8220;install.php&#8221;. If it comes in a folder, you wil usually find the &#8220;install.php&#8221; file in the &#8220;INSTALL&#8221; folder. So its either (/root/install.php) or (/root/INSTALL FOLDER/install.php) .</p>
<p><span style="color: #0000ff;">NOTE: Please consult the script documentation for full instructions on how to install as it might differ from this tutorial.<br />
</span></p>
<p><span style="text-decoration: underline;">TO GET YOUR SITE UP AND RUNNING LET US DO THESE:</span></p>
<ul>
<li><strong>Find the install.php file and point your mouse to it or simply type (http://www.yoursite.com/install.php or http://www.yoursite.com/INSTALL/install.php) to the browser just as it applies to the file structure in your web server.</strong></li>
<li><strong>After you have done that usually an installation wizard will appear asking for your database name, username, password.</strong></li>
</ul>
<p><em><span style="color: #0000ff;">Note: Please use this format if you are using a CPANEL server platform. when you create your database, user and password in the cpanel, it will usually look like this yourcpanelusername_databasename. Use this format to fil up your info. it goes like this;</span></em></p>
<p><em><span style="color: #0000ff;"> DatabaseName = yourcpanelusername_databasename</span></em></p>
<p><span style="color: #0000ff;"><em>DatabaseUsername = yourcpanelusername_username</em></span></p>
<p><span style="color: #0000ff;"><em>DatabasePassword = your data base password</em></span></p>
<p><span style="color: #0000ff;"><em>DatabaseHost = localhost</em></span></p>
<p>Once you have filled up all these informations and clicked on install button , it will be checked by the system and a form will appear to fill up your site administration information(informations used to administer your site please remember these)</p>
<p>Follow up all the procedures and then your site should be available to you. it wouldnt take more than 10 mins to do all these if you have a fast computer and have followed all the necessary installation procedures.</p>
<p>We will cover how to install manually in the next tutorial. (COMING SOON)</p>
<p>meanwhile have a nice time and enjoy your new php script. If you need further tutorial or help with your installation please let me know by using our <a href="http://www.mdsnig.com/Contact.html" target="_blank">contact </a>information.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mdsnig.com/News/archives/5/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
