Results 1 to 11 of 11
Thread: php and mysql download
-
04-17-2004, 02:26 AM #1Junior Guru Wannabe
- Join Date
- Apr 2004
- Posts
- 38
php and mysql download
Um i'm really confused as to which file i should download. Um, i use a window so...
Should i download the PHP 4.3.6 zip package or PHP 4.3.6 installer ?
And Windows 95/98/NT/2000/XP/2003 (x86) or Without installer (unzip in C:\) for mysql?
Or... HELP!!
-
04-17-2004, 02:40 AM #2Junior Guru Wannabe
- Join Date
- Apr 2004
- Posts
- 38
And where do i download perl for windows?
-
04-17-2004, 02:45 AM #3Web Hosting Master
- Join Date
- Mar 2004
- Posts
- 1,303
I setup apache on my windows XP, so I downloaded the PHP 4.3.6 zip package
-
04-17-2004, 02:47 AM #4Web Hosting Master
- Join Date
- Mar 2004
- Posts
- 1,303
...
I setup a server for practicing purpose, and here the list of files i downloaded. You may find it usefull
1 --- apache version : 1.3.29
http://www.apache.org/dist/httpd/binaries/win32/
file:
apache_1.3.29-win32-x86-no_src.exe
2--- mysql version: 4.0.18 standard
http://dev.mysql.com/downloads/mysql/4.0.html
Windows 95/98/NT/2000/XP/2003 (x86)
3 -- php version: 4.3.5
http://www.php.net/get/php-4.3.5-Win.../from/a/mirror
file:
php-4.3.5-Win32.zip
4 -- phpmyadmin version: 2.5.6
http://www.phpmyadmin.net/home_page/
file: Latest stable version: 2.5.6 [zip]
5-- Pearl 5.8.3
http://aspn.activestate.com/ASPN/Dow...ivePerl/Source
file: http://downloads.activestate.com/Act...809_source.zip
-
04-17-2004, 02:57 AM #5Junior Guru Wannabe
- Join Date
- Apr 2004
- Posts
- 38
o THANKS SO MUCH!!
-
04-17-2004, 03:04 AM #6Web Hosting Master
- Join Date
- Mar 2004
- Posts
- 1,303
you are very welcome!
A friend of mine also told me about this program called "EasyPHP"
What it does is to install the bundle of php, mysql, phpmyadmin, apache for you.
http://www.easyphp.org/telechargemen...p?F=easyphp1-7
This is the direct link to the latest version of easyPHP.Last edited by orbitz; 04-17-2004 at 03:11 AM.
-
04-17-2004, 03:25 AM #7Web Hosting Master
- Join Date
- Jul 2003
- Location
- Kuwait
- Posts
- 5,104
This listing of steps should get you started. First, you will need to get a webserver. I would recommend apache. You can download the latest version of Apache from this mirror. If that link is busy or times out, you can choose a different mirror. The file that you are after is apache_2.0.49-win32-x86-no_ssl.msi.
Once you get the file downloaded, simply double click on it to start the Apache installation. You can accept the default values for now. Once the install script has finished, you can verify your apache install is working by pointing your browser to http://localhost or http://127.0.0.1
If everything went well, you will see the default apache start page.
Next step would be to download php. Since you are using Apache, I would recommend the .zip file (the link to which was provided by orbitz).
Once this file has downloaded, unzip it. Rename the resulting folder to php and move it to your c:\ drive. In that php folder, there is a file called php4ts.dll (it may be hidden on your system. You can enable the viewing of hidden files by going to Tools --> Folder Options, then clicking on the View tab, and selecting "Show hidden files and folders"). Once you find it, move it to c:\windows\system
There is a file called php.ini-recommended. Rename it to php.ini and also move it to c:\windows
Next, find the file called httpd.conf in your Apache install directory. If you chose the default install path, Apache is installed in C:\Program Files\Apache Group\Apache2 ... you will find httpd.conf in the conf subdirectory.
Open this file up in any text editor, then add the following lines :
Code:AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps LoadModule php4_module "c:/php/sapi/php4apache2.dll"
You can verify your PHP install by creating a simple php file with the following line
PHP Code:<?php phpinfo(); ?>
The final (and easiest) step is to install MySQL.
Download the MySQL binary for Windows (link number 2 provided by orbitz).
Double click the file to start the installation, choose default options. Once the installation has finished, to to Start --> Run, type c:\mysql\bin\winmysqladmin.exe and hit enter. Since this is the first time you are running MySQL, you will be prompted to enter a login name and password. This will be your admin credentials for MySQL, so do not forget it
Once you have entered the information, you will see an application with details about you MySQL server. There will also be a traffic light icon in your task bar (the area next to your clock). If it is green, your MySQL server is running. To stop your MySQL server, you can right click on the traffic light icon and stop it from there.
Hopefully, this should get you started.
-
04-17-2004, 01:37 PM #8Junior Guru Wannabe
- Join Date
- Apr 2004
- Posts
- 38
Next, find the file called httpd.conf in your Apache install directory. If you chose the default install path, Apache is installed in C:\Program Files\Apache Group\Apache2 ... you will find httpd.conf in the conf subdirectory.
Open this file up in any text editor, then add the following lines :
code:--------------------------------------------------------------------------------
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
LoadModule php4_module "c:/php/sapi/php4apache2.dll"
--------------------------------------------------------------------------------
Save this file, and restart Apache.
and do i add that in the end or begginingLast edited by randomizatio; 04-17-2004 at 01:41 PM.
-
04-17-2004, 01:56 PM #9Junior Guru Wannabe
- Join Date
- Apr 2004
- Posts
- 38
ohh... n installation for mysql doesnt work
-
04-17-2004, 04:04 PM #10Junior Guru Wannabe
- Join Date
- Apr 2004
- Posts
- 38
o well, ill use the easyphp one lol
-
04-18-2004, 03:39 AM #11Web Hosting Master
- Join Date
- Nov 2003
- Location
- Online
- Posts
- 1,217
hay, not forgot phperl. I am using it from six month and full recommend it.
please check for detail.
http://phperl2.sourceforge.net/