In this tutorial you will learn to increase your server. This server will be composed of Apache 1.3.5, PHP 4.2.0 and MySQL 3.23.49. This guide will take care of the basic server settings for your computer. This means that the removal of hassles to deal with a company that is running on the remote Web server. It 'easy to modify. You can add anything you want, be it CGI / Perl, Zope, Roxen, etc, everything yourself. You have unlimited disk space and at least as large as the hard drive is =) Now that you know the benefits, it is time for me to tell you what I used, and what you need.
What I used
* Windows 2000 - Note that if you use 2k, you will need administrator privileges. If not done in some way =) If you are 95, 98, NT, XP, ME, I
* Apache 1.3.6 - I tried to use 2.0, but I could not make it work. I also think that 1.3.6 is tried and true, so why mess with greatness.
* MySQL 3.23.49 - The new version of MySQL when I set up my server. MySQL is also better database supported PHP, PHP and a good lover, we have not.
* PHP 4.2.1 - the best and the release of PHP. -NT
What you need
* Apache 2 - Link: h ** p: / / www.apache.org/dist/
* MySQL 3.23.49 - Link: h ** p: / / www.mysql.com/downloads/mysql-3.23.html
* PHP 4.2.0 - Link: h ** p: / / www.php.net / downloads.php
* Windows - This tutorial is written only in new versions of Windows.
Once you have downloaded all the software you are ready to continue.
1. Installing Apache
Installing Apache
The first step is to download Apache for Windows. Before installing any software to make sure that another server is removed. Remove all through control panel.On
After clicking on the executable file, the screen should look like this, even COM. Go ahead and click Next
user posted image
Of course, you're going to have to respect the license agreement, click Agree .... and click Next.
user posted image
Do you really need to read this, but if you prefer, you can. Read it if you want to know the date. When you are ready click on Next.
user posted image
And 'where the actual installation of Apache is started. For a network domain to put localhost as the server name you want is to be localhost because the server is running locally on your computer. No matter what your e-mail address, put your. No one does it for you.
user posted image
For simplicity, this tutorial is best left alone, because after the tutorial I will show you how to start the server with a single mouse click, and ease, it is easier for you to follow along. You can change if you want, but you have to figure out what to replace it. For me, the root drive is E: but probably C:
user posted image
Once you have all the jazz set up, it's time to install the server. If you're on W2K or XP, make sure you have administrative permissions, or you get an error midway through the economies of installation can not access msvrt32.dll or something. If you get this error when you restart the administrator rights. When you are ready, click Install.
user posted image
If all went well, you just see a screen similar to this. Now it's time to test the installation of Apache. Click Start> Programs> Apache HTTP Server and start looking Start Apache in the console. Click on this link. When he says XXXXX Apache running, press Windows + R and write-http: / / localhost /. If the installation works, you should see a page saying that it works. If everything is set and finished, go to the next step.
user posted image
______________________________________________________________________
2nd Install PHP
Once you have clicked on the executable file, the screen should appear that looks like this. Go ahead and click Next.
user posted image
Of course, you intend to comply with the license agreement, click Agree .... and click Next.
user posted image
To obtain this information, we want the standard installation simple. Chances are that if you read this tutorial, you probably do not even want to talk about art =)
user posted image
This is the email setup, just type localhost, and me@localhost.com. It is not important because you, the administrator, the only person who will use the server, and you will be handling the error.
user posted image
We want this to work is the installation of Apache, so click on Apache, and move on.
user posted image
Once you have all the jazz set-up, it's time to install the server. If you have W2K or XP, make sure you have permission to administration, or you get an error halfway through the install saving can not msvrt32.dll or something. If you receive this error, try again when you have administrator rights. When you are ready click on install.
user posted image
After installation is complete, you should get something that says you have to manually configure Apache to use PHP. Assuming you have a working Apache server installed, make sure it is not running. Go to C: \ Program Files \ Apache Group \ Apache \ conf \ httpd.conf open. Note that you can also access the httpd.conf on the menu. Home> Archive> Apache HTTP Server Program> Configure Apache Server> Edit the Apache httpd.conf configuration file and configuration window will open in Notepad. Then press Ctrl + End, if you see something like this, you can skip this step. If you can not see the code, copy it. This code will only work if you use the default installation folder during the installation of PHP. If you do, copy and paste this code at the end of the file. Select the right code and click Ctrl + C, then go to the httpd.conf file and press Ctrl + v and save the file.
ScriptAlias / php / "c: / php /"
AddType application / x-httpd-php. Php. Phtml
Action application / x-httpd-php "/ php / php.exe"
Now we have installed PHP, it's time to prove it. Open Notepad and enter the code of law. Save it as phpinfo.php. Do not forget to set it as all files in the dropdown menu, or the file is a text file. Save in the folder C: \ Program Files \ Apache Group \ Apache \ htdocs. htdocs is the directory where all files. You can create endless dir and navigate. For example, E: \ Program Files \ Apache Group \ Apache \ htdocs \ mydir \ http://localhost/mydir/myfile.php myfile.php is available. Once you have this file saved. You will have to start the server. Click: File Start> Programs> Apache HTTP Server> and look for something and start apache at the console. Once found, the release. You should get a window saying that Apache is running. Now go to Start> Run> and type-http: / / localhost / phpinfo.php. If you do not see anything, PHP is not installed correctly. If PHP is installed correctly, you will see some large tables, which shows the configuration of PHP. Now it is half done!
______________________________________________________________________
Installing MySQL 3rd
Once you have clicked on the executable file, a screen should com up that looks like this. Go ahead and click Next.
user posted image
Of course, you decided to answer the license agreement and click I Agree .... and click Next.
As before, let alone the default dir, you will be able to keep up with me when I show you how you can start and stop all aspects of the server.
Stay typical installation. As before, if you do not have administrator privileges, the installation is defective. When you click Next, the installation will start. Once the installation is complete, proceed to the next step.
Now you must create the root account. The root account is the administrator of the absolute system, the highest possible. Click Start> Run and type cmd to open command prompt. You have to navigate to where MySQL is installed. Type C:> Enter> cd mysql> Enter> cd bin> Enter. Now that you have to say to the root configuration settings. Type the password mysqladmin-uroot insert your password here and then press ENTER.
To see a picture of the screen,-h ** p: / / www.webmasterstop.com/tutorials/images/doscreen1.gif
What is the point database, if you can not easily handle! There phpMyAdmin comes into play. phpMyAdmin is a free software written in PHP, which makes the MySQL database management, or many others with ease. To download (h ** p: / / prdownloads.sourceforge.net/phpmyadmin/phpMyAdmin-2.2.6-php.zip Downloadrelease_id = 85,832), the latest version. Save it in the htdocs folder. When it is finished downloading, right click and select> Extract here. Once this is done you should end up in the htdocs directory called phpMyAdmin-2.2.6 To facilitate the use, rename it in phpMyAdmin. After naming it, click it and try to open a file called config.inc. Here you set the configuration of phpMyAdmin. When you open it should look like the picture on your side. There are some things that you would be missing. E $ $ CfgPmaAbsoulteUrl cfgservers [$ i] ['password'].
You must fill in quotation marks. $ cfgPmaAbsoulteUrl of in-http: / / localhost / phpMyAdmin / if you followed my instructions to the letter. If you do not rename or taken from another folder, put it there. For $ cfgServers [$ i] ['password'] enter the password you entered when you were setting MySQL in the series above. You can refer to the image to get help. After putting the right things in the backup file.
To see a picture of the screen,-h ** p: / / www.webmasterstop.com/tutorials/images/phpmyadminscreen1.gif
Now let's test the installation of MySQL, PHP, phpMyAdmin and Apache all at once. Start apache in console like we did before. Now you'll need to start mysql. For my part, I created a file that would start MySQL for me. Open Notepad and type: start c: \ mysql \ bin \ mysqld-nt.exe - standalone and save it as your home page MySQL.bat. Once you have saved, click it. A window should open and close. MySQL is now installed on your computer. After MySQL and Apache are starting to go racing again and type-http: / / localhost / phpMyAdmin / index.php and phpmyadmin if everything is installed properly should in place. You're almost there! Now we have the easy part =)
4. Complete all
Wow! We mad the whole process. Now we want to simplify the process control server. I made a toolbar with all the things I needed. I made a new folder on my desk and called the file server, and I'll put everything there. I made a new shortcut and gave a value of-http: / / localhost / is a shortcut to the page in the PHP documentation. Another shortcut to my editor for PHP, which is no longer available. The shortcut is in phpMyAdmin-http: / / localhost / phpMyAdmin / index.php. I made another shortcut htdocs. I moved the Start Apache in console program that was in the back of the menu and moves to the folder on the server. You can take the MySQL startup file did on the last page and move to the new folder. After putting all the things you want in this folder, right-click an empty space on the taskbar menu statistics (in the setup boxes) and select Toolbars- New Toolbar and go to the folder.
Now simply click on the Start Apache in Console, start mysql, and launch the browser tongue.gif.
What I used
* Windows 2000 - Note that if you use 2k, you will need administrator privileges. If not done in some way =) If you are 95, 98, NT, XP, ME, I
* Apache 1.3.6 - I tried to use 2.0, but I could not make it work. I also think that 1.3.6 is tried and true, so why mess with greatness.
* MySQL 3.23.49 - The new version of MySQL when I set up my server. MySQL is also better database supported PHP, PHP and a good lover, we have not.
* PHP 4.2.1 - the best and the release of PHP. -NT
What you need
* Apache 2 - Link: h ** p: / / www.apache.org/dist/
* MySQL 3.23.49 - Link: h ** p: / / www.mysql.com/downloads/mysql-3.23.html
* PHP 4.2.0 - Link: h ** p: / / www.php.net / downloads.php
* Windows - This tutorial is written only in new versions of Windows.
Once you have downloaded all the software you are ready to continue.
1. Installing Apache
Installing Apache
The first step is to download Apache for Windows. Before installing any software to make sure that another server is removed. Remove all through control panel.On
After clicking on the executable file, the screen should look like this, even COM. Go ahead and click Next
user posted image
Of course, you're going to have to respect the license agreement, click Agree .... and click Next.
user posted image
Do you really need to read this, but if you prefer, you can. Read it if you want to know the date. When you are ready click on Next.
user posted image
And 'where the actual installation of Apache is started. For a network domain to put localhost as the server name you want is to be localhost because the server is running locally on your computer. No matter what your e-mail address, put your. No one does it for you.
user posted image
For simplicity, this tutorial is best left alone, because after the tutorial I will show you how to start the server with a single mouse click, and ease, it is easier for you to follow along. You can change if you want, but you have to figure out what to replace it. For me, the root drive is E: but probably C:
user posted image
Once you have all the jazz set up, it's time to install the server. If you're on W2K or XP, make sure you have administrative permissions, or you get an error midway through the economies of installation can not access msvrt32.dll or something. If you get this error when you restart the administrator rights. When you are ready, click Install.
user posted image
If all went well, you just see a screen similar to this. Now it's time to test the installation of Apache. Click Start> Programs> Apache HTTP Server and start looking Start Apache in the console. Click on this link. When he says XXXXX Apache running, press Windows + R and write-http: / / localhost /. If the installation works, you should see a page saying that it works. If everything is set and finished, go to the next step.
user posted image
______________________________________________________________________
2nd Install PHP
Once you have clicked on the executable file, the screen should appear that looks like this. Go ahead and click Next.
user posted image
Of course, you intend to comply with the license agreement, click Agree .... and click Next.
user posted image
To obtain this information, we want the standard installation simple. Chances are that if you read this tutorial, you probably do not even want to talk about art =)
user posted image
This is the email setup, just type localhost, and me@localhost.com. It is not important because you, the administrator, the only person who will use the server, and you will be handling the error.
user posted image
We want this to work is the installation of Apache, so click on Apache, and move on.
user posted image
Once you have all the jazz set-up, it's time to install the server. If you have W2K or XP, make sure you have permission to administration, or you get an error halfway through the install saving can not msvrt32.dll or something. If you receive this error, try again when you have administrator rights. When you are ready click on install.
user posted image
After installation is complete, you should get something that says you have to manually configure Apache to use PHP. Assuming you have a working Apache server installed, make sure it is not running. Go to C: \ Program Files \ Apache Group \ Apache \ conf \ httpd.conf open. Note that you can also access the httpd.conf on the menu. Home> Archive> Apache HTTP Server Program> Configure Apache Server> Edit the Apache httpd.conf configuration file and configuration window will open in Notepad. Then press Ctrl + End, if you see something like this, you can skip this step. If you can not see the code, copy it. This code will only work if you use the default installation folder during the installation of PHP. If you do, copy and paste this code at the end of the file. Select the right code and click Ctrl + C, then go to the httpd.conf file and press Ctrl + v and save the file.
ScriptAlias / php / "c: / php /"
AddType application / x-httpd-php. Php. Phtml
Action application / x-httpd-php "/ php / php.exe"
Now we have installed PHP, it's time to prove it. Open Notepad and enter the code of law. Save it as phpinfo.php. Do not forget to set it as all files in the dropdown menu, or the file is a text file. Save in the folder C: \ Program Files \ Apache Group \ Apache \ htdocs. htdocs is the directory where all files. You can create endless dir and navigate. For example, E: \ Program Files \ Apache Group \ Apache \ htdocs \ mydir \ http://localhost/mydir/myfile.php myfile.php is available. Once you have this file saved. You will have to start the server. Click: File Start> Programs> Apache HTTP Server> and look for something and start apache at the console. Once found, the release. You should get a window saying that Apache is running. Now go to Start> Run> and type-http: / / localhost / phpinfo.php. If you do not see anything, PHP is not installed correctly. If PHP is installed correctly, you will see some large tables, which shows the configuration of PHP. Now it is half done!
______________________________________________________________________
Installing MySQL 3rd
Once you have clicked on the executable file, a screen should com up that looks like this. Go ahead and click Next.
user posted image
Of course, you decided to answer the license agreement and click I Agree .... and click Next.
As before, let alone the default dir, you will be able to keep up with me when I show you how you can start and stop all aspects of the server.
Stay typical installation. As before, if you do not have administrator privileges, the installation is defective. When you click Next, the installation will start. Once the installation is complete, proceed to the next step.
Now you must create the root account. The root account is the administrator of the absolute system, the highest possible. Click Start> Run and type cmd to open command prompt. You have to navigate to where MySQL is installed. Type C:> Enter> cd mysql> Enter> cd bin> Enter. Now that you have to say to the root configuration settings. Type the password mysqladmin-uroot insert your password here and then press ENTER.
To see a picture of the screen,-h ** p: / / www.webmasterstop.com/tutorials/images/doscreen1.gif
What is the point database, if you can not easily handle! There phpMyAdmin comes into play. phpMyAdmin is a free software written in PHP, which makes the MySQL database management, or many others with ease. To download (h ** p: / / prdownloads.sourceforge.net/phpmyadmin/phpMyAdmin-2.2.6-php.zip Downloadrelease_id = 85,832), the latest version. Save it in the htdocs folder. When it is finished downloading, right click and select> Extract here. Once this is done you should end up in the htdocs directory called phpMyAdmin-2.2.6 To facilitate the use, rename it in phpMyAdmin. After naming it, click it and try to open a file called config.inc. Here you set the configuration of phpMyAdmin. When you open it should look like the picture on your side. There are some things that you would be missing. E $ $ CfgPmaAbsoulteUrl cfgservers [$ i] ['password'].
You must fill in quotation marks. $ cfgPmaAbsoulteUrl of in-http: / / localhost / phpMyAdmin / if you followed my instructions to the letter. If you do not rename or taken from another folder, put it there. For $ cfgServers [$ i] ['password'] enter the password you entered when you were setting MySQL in the series above. You can refer to the image to get help. After putting the right things in the backup file.
To see a picture of the screen,-h ** p: / / www.webmasterstop.com/tutorials/images/phpmyadminscreen1.gif
Now let's test the installation of MySQL, PHP, phpMyAdmin and Apache all at once. Start apache in console like we did before. Now you'll need to start mysql. For my part, I created a file that would start MySQL for me. Open Notepad and type: start c: \ mysql \ bin \ mysqld-nt.exe - standalone and save it as your home page MySQL.bat. Once you have saved, click it. A window should open and close. MySQL is now installed on your computer. After MySQL and Apache are starting to go racing again and type-http: / / localhost / phpMyAdmin / index.php and phpmyadmin if everything is installed properly should in place. You're almost there! Now we have the easy part =)
4. Complete all
Wow! We mad the whole process. Now we want to simplify the process control server. I made a toolbar with all the things I needed. I made a new folder on my desk and called the file server, and I'll put everything there. I made a new shortcut and gave a value of-http: / / localhost / is a shortcut to the page in the PHP documentation. Another shortcut to my editor for PHP, which is no longer available. The shortcut is in phpMyAdmin-http: / / localhost / phpMyAdmin / index.php. I made another shortcut htdocs. I moved the Start Apache in console program that was in the back of the menu and moves to the folder on the server. You can take the MySQL startup file did on the last page and move to the new folder. After putting all the things you want in this folder, right-click an empty space on the taskbar menu statistics (in the setup boxes) and select Toolbars- New Toolbar and go to the folder.
Now simply click on the Start Apache in Console, start mysql, and launch the browser tongue.gif.
No comments:
Post a Comment