How to: Install Apache, PHP, PEAR, MySQL & phpMyAdmin for Windows XP

I’ve had lots of people ask my in the past, how to install PHP, MySQL and Apache for Windows XP. I recently formated my computer, and since I was going to do it, I thought I’d write out how to do this, for anyone who wants to know. My computer has SP2 installed.

Apache Web Server

Download Apache HTTP Server. I downloaded the current stable release, in this case: Apache 2.0.54. So download the Win32 Binary (MSI Installer), double click it, let it install.

PHP Run-time

Download PHP. I downloaded PHP 4.4.0. I could have downloaded PHP 5.0, but as long as PHP < 5.0 gives me what I need, I won’t change. PHP 5 is the way to go. The tutorial below is pretty much the same, see the comments if you have problems. Unzip the contents, and put it all in the folder C:\php.
Copy the following files into your Apache2 installation directory. In my case it was C:\Program Files\Apache Group\Apache2.

Code:
php4ts.dll
php4apache2.dll
php.ini-recommended

Rename php.ini-recommened to php.ini. Open the php.ini in your favorite editor. Mine is EditPlus.

Search for ‘doc_root’ until you find the line:

Code:
doc_root =

Change this line to (in my case):

Code:
doc_root = C:\\Program Files\\Apache Group\\Apache2\\htdocs

Go to the directory: C:\Program Files\Apache Group\Apache2\conf\;
Add the following lines to the end of the file httpd.conf:

Code:
LoadModule php4_module php4apache2.dll
AddType application/x-httpd-php .php

In the same file, add index.php to DirectoryIndex — this will make sure index.php will be picked up by the server automatically:

Code:
DirectoryIndex index.html index.html.var index.php

PEAR Extension

PEAR is an extension for PHP. These days PEAR is included with PHP, but you need to install it yourself. I use PEAR on all my PHP developments.

Ok.. Installing PEAR isn’t bad, here is what you do:

Open a command line window (i.e. Start->Run->cmd)
Go to the PHP directory, in my case C:\php. Type go-pear.bat. Follow the instructions.
The PEAR extension get installed in C:\php\PEAR directory.
Once PEAR is installed, go to the php.ini file in your Apache2 directory. Find the

Code:
;include_path = ".;c:\\php\\includes"

Remove the semi-colon (to un-comment it), and then add C:\php\PEAR to it

Code:
include_path = ".;c:\\php\\includes;C:\\php\\PEAR"

MySQL DataBase

Download MySQL (runtime) and MySQL Administrator (Admin program). I used MySQL 4.1 Generally Available (GA) release. Download, unzip, and install both.

Testing it all – you really don’t need to, but before testing, restart your computer.

Test Apache Web Server

Once Apache is installed, you should be able to go to your favorite browser, type the following URL: http://localhost/ and have a test page load.

Test PHP

Go to the htdocs folder in Apache2 folder
Create a file called index.php, inside of that file put (be sure to remove the space between the < and the ?php):

Code:
<?php
echo "php installed ok";
?>

Go to your browser, type the following URL: http://localhost/index.php
If everything worked OK, “php installed ok” will appear on the screen.

Test MySQL and PHP using phpMyAdmin

Download phpMyAdmin.
This is the best web based MySQL Administration Tool (vital, trust me).
Unzip the contents into a folder phpMyAdmin in your htdocs folder.
Were going to use phpMyAdmin to control MySQL instead of the command line.
In the phpMyAdmin folder open the config.inc.php and type in the your root password for MySQL:

Code:
$cfg['Servers'][$i]['password'] = 'xxxxx';

Try and run phpMyAdmin in your browser: http://localhost/phpMyAdmin/
You’ll most likely get the error:

Client does not support authentication protocol requested by server; consider upgrading MySQL client

To fix this, do the following:

  1. Start the MySql Administrator, select “Startup Variables” from the menu, select the “Security” Tab. Check ‘Use old passwords’.
  2. Select “User Administration” from the menu, select the root user account and change the password for root user (other than null)
  3. Select “Service Control” from the menu, press “Stop Service” button and then press “Restart Service”.

Go back to config.inc.php and type in the your new root password for MySQL:

Code:
$cfg['Servers'][$i]['password'] = 'yyyyyy';

Try and run phpMyAdmin: http://localhost/phpMyAdmin/ — this should work now.

Test PEAR

Using phpMyAdmin to create a database
In your htdocs folder create a file called testpear.php, in the file put the following (be sure to remove the space between the < and the ?php):

Code:
<?php

require_once 'DB.php';
PEAR::setErrorHandling(PEAR_ERROR_DIE);

$db_host = 'localhost';
$db_user = 'root';
$db_pass = 'password';
$db_name = 'dataBase_name';
$dsn = "mysql://$db_user:$db_pass@unix+$db_host/$db_name";

$db = DB::connect($dsn);
$db->setFetchMode(DB_FETCHMODE_OBJECT);

?>

This will use the PEAR DB Extension to create a connection to your database. Before running this file make sure your database details are correct (i.e. name, user, password). Run this file in your browser, if no errors are listed, then your good to go.

————————

Sources

http://forums.mysql.com/read.php?11,6400,38314#msg-38314

http://www.devarticles.com/c/a/Apache/Installing-PHP-under-Windows/

Related Articles:

187 Responsesto “How to: Install Apache, PHP, PEAR, MySQL & phpMyAdmin for Windows XP”

  1. Paul Denlinger says:

    Thank you for publishing the instructions; very useful. I have had trouble when I get to installation of the PEAR extension using the command line. When I get to the instruction to type “go-pear.bat”, I get a response that’ “go-pear.bat” is not recognized as an internal or external command, operable program or batch file.’

  2. George says:

    Hi Paul,

    Thanks for the kind words. I just re-downloaded php-4.4.0-Win32 and php-5.0.5-Win32 and both had the go-pear.bat file. Be sure to check that you tried to run go-pear.bat in the PHP directory you unzipped.
    Give me a bit more details if it still doesn’t work..

    Here is the go-pear.bat file:

    @ECHO OFF
    set PHP_BIN=cli\php.exe
    %PHP_BIN% -d output_buffering=0 PEAR\go-pear.php %1
    pause

    Good luck,
    George

  3. Zeb Mina says:

    Do you have any cheat sheets that will help me if I wish to run under Tomcat 5? Any pointers greatly appreciated. Thanks.

  4. George A. Papayiannis says:

    Hi,

    I’ve never done this before, but you can try this link — it explains how to install PHP 5 on Windows using Tomcat 4.x or 5.x

    Good luck,
    George

  5. Nate says:

    I have pretty much installed everything. but i dont know how i get the server to show up on my DNS IP. how do i do that? so like when i got to type into my browser my computers IP xxx.xxx.xxx.xxx that it brings up the same test page? help!

  6. George A. Papayiannis says:

    Hi Nate,

    All you have to do, is go into your routers configuration and forward port 80 and 8080 to your computer router ip. So when use your IP URL in FireFox, your router will forward the HTTP requests for port 80 and 8080 to your local router IP. Reply back or Google it if your having any trouble.

    Good luck,
    George

  7. Steve Young says:

    Hi, what if I want to use python instead of php, how should I set that up? Thanks.

  8. George A. Papayiannis says:

    Sorry Steve, never tried.
    I’ll probably give it a try over the holidays, but as of now, can’t help.

    George

  9. justin says:

    Thanks a lot for the intructions u provided, george. much appreciated. but i’ve some problems here..hope you can provide some solutions.

    - if my test.php includes header.php and footer.php, why the browser doesnt load header.php and footer.php when i load test.php?

  10. George A. Papayiannis says:

    Hi Justin,

    No problem — I’m not sure exactly why the include isn’t working, but here is an example I made quickly: include example — Run the test.php.

    All the best,
    George

  11. Dave says:

    George,

    Thanks for these instructions.

    Only place I got stuck for a while was in phpMyAdmin.
    The file config.inc.php didn’t exist. The phpMyAdmin web site talks about a script (scripts/setup.php) to create it, but that script wasn’t present in my download either.

    Finally after looking at config.default.php (which was present), I just created my own config.inc.php and put in the password line.

    All is working well.

    I also use Eclipse with the PHPEclipse plugin so as a further step I made the Apache DocumentRoot point to my Eclipse workspace (and I imported phpMyAdmin into the workspace).

    So now I can edit in Eclipse and either hit save, and load the file via my browser, or I can right-click the file within Eclipse an see the results in an Eclipse window (using the PHPEclipse integrated browser).

    My next step is to figure out how to use PHP debugger from within Eclipse (but I understand from the PHPEclipse site that there may be an issue right now with PHP 4.4.1, so this may have to wait some).

    Anyway, thanks again.

  12. George A. Papayiannis says:

    Hi Dave,

    Good to hear things are going well in your PHP development. Its good your finding a development environment that you enjoy. I’ve only tried PHPEclipse once while at IBM last summer, it seemed good. I use EditPlus now, I’ve associated PHP files with that program, and it starts within a couple seconds. In any case, all the matters is what works for you. Good luck with your developments!

    George

  13. Ubuntu-Server quick comments says:

    [...] I’m blown away how simple it is to get Apache/PHP/MySQL up and going. In Windows I wrote a fairly extensive tutorial on getting started. Using the Debian apt-get command in Ubuntu, I literally had the server running in less than 5 minutes. [...]

  14. Shaun Aneiros says:

    Hi George,

    First, thank you for taking the time to set this site up. Second, I am a Noobie. I am completely lost, I have no idea how to set up a file in Apache. Since I cant seem to make it past PHP, I have no idea how easy it will go from there but any help you could give would be greatly appreciated.

    Thanks In Advance,

    Shaun

  15. Shaun Aneiros says:

    Sorry to bother you again…

    I must really be a Noob but I really need things spelled out for me. My Apache promt screen show an error when I run a test… and I not sure how to get to the directory files that you speek of:
    Copy the following files into your Apache2 installation directory. In my case it was C:\Program Files\Apache Group\Apache2.

    C:\php\php4ts.dll
    C:\php\sapi\php4apache2.dll
    C:\php\php.ini-recommended

    Where is the c:\programfiles\apache group\apache2… are we talking about in the “black box” or are they located in read me files…

    I am so sorry but I really am a Noobie at this, I just learned to write HTML a few days ago…

    Perhaps you could give me more descriptive directions via email?

    Again Thanks In Advance,

    Shaun

  16. Gen says:

    Hey George,

    Thanks a lot for your clear instructions. Got everything up and running, except phpMyAdmin.

    I got stuck in the same place as Dave.
    The file config.inc.php didn’t exist. The file config.default.php said in one of it’s first lines not to edit it, but to edit config.inc.php instead.
    So I copied config.default.php, renamed it to config.inc.php, and put in the password for the root account.

    I kept getting the same error:
    phpMyAdmin – Error
    Cannot load mysql extension. Please check your PHP configuration. – Documentation

    Then I thought that maybe the file config.default.php might be conflicting, so I put it in a temp folder.
    First I got a page full of warnings, amongst which warnings that the config.default.php could not be found. I put the file back and experimented some more, but I can’t get it to work.

    I’m using:
    MySQL 5.0.18
    PHP 5.1.2
    phpMyAdmin 2.7.0pl2

    Any advice?

    Thanks,

    Gen

  17. Gen says:

    Oops,

    I left the wrong e-mailaddress

    Gen

  18. George A. Papayiannis says:

    Hi everyone,

    I’ll try my best to reply back in the comments or email you back in time. Sorry if it takes longer than most would like. Consider posting a question at DevShed Forums or PHPBuilder forums. Both these sites have helped me out in the past.

    Good luck,
    George

  19. Rogel Ramiterre says:

    How to install PEAR on Windows 2000 Pro?
    What version of Apache, MySQL, PHP and PEAR is compatible for windows 2000 pro?

  20. eirc says:

    @gen
    i have the exact same versions of mysql,php and phpmyadmin
    i had the ‘Cannot load mysql extension’ prob too
    to fix it, in your php.ini file uncomment the line: extension=php_mysql.dll
    and also be sure to copy the dll (it’s in php\ext) to a folder where it will be included.
    for me it was the apache2 folder (C:\Program Files\Apache Group\Apache2)
    hope that helps :)

    as for my problem.. i installed pear but “require_once ‘DB.php’;” doesn’t work
    because the file cannot be found. i search my whole hard drive(!) and it doesn’t exist..
    could it be because of php 5? is there any way to get around it?

  21. George A. Papayiannis says:

    Hi Eric,

    Thanks for the reply, thats the exact same thing I emailedd Gen last week.
    As for your problem, you need to install the package.
    You have 2 options:

    1) Go to c:\php
    2) type: pear install db

    If that doesn’t work, then go to pear.php.net and download the package.

    Good luck,
    George

  22. AnTu says:

    … or use Apachefriends.

  23. Chanchal says:

    Hi George,
    Thanks for the instruction that’s were very useful but in your insturction you don’t instruct that how to configure iis.
    I want to learn php programming for develop Dynamic web pages, so I need your help. My computer configuration
    is Windowns XP sp2 and I use IIS (Internet Information Services). My friend told me that go to http://www.php.net downloads it but
    I don’t find which link. In the following link which link should I go. How to configure my iis

    ** PHP 5.1.2
    Complete Source Code

    1 PHP 5.1.2 (tar.bz2) [6,172Kb] – 12 Jan 2006
    md5: 79cee17e9db85be878000a2a4198378e
    2 PHP 5.1.2 (tar.gz) [7,875Kb] – 12 Jan 2006
    md5: b5b6564e8c6a0d5bc1d2b4787480d792

    Windows Binaries

    1 PHP 5.1.2 zip package [8,926Kb] – 12 Jan 2006
    md5: d2c3440e40c697e62a0b6f23514d03dc

    2 Collection of PECL modules for PHP 5.1.2 [1,669Kb] – 12 Jan 2006
    md5: 09571722fd44bec411a64eca8ca383ae

    3 PHP 5.1.2 installer [2,585Kb] – 12 Jan 2006
    (CGI only, packaged as Windows installer to install and configure PHP, and automatically configure IIS,
    PWS and Xitami, with manual configuration for other servers. N.B. no external extensions included)
    md5: f4e47bda69ddc081fb44068cd9237b85

    We have a PHP 5 / Zend Engine 2 page explaining the language level changes introduced in PHP 5.
    The PHP 5 ChangeLog details all the other changes.

    In the case of Mysql which link should i go.

    Mysql 5.0.18

    1. Windows Essentials (x86) 5.0.18 16.9M Download
    2. Windows (x86) 5.0.18 34.9M Download
    3. Without installer (unzip in C:\) 5.0.18 36.6M Download

    Buy!!

  24. Gen says:

    Hi George,

    Thanks a lot for your reply, also by e-mail. (and thanks Eric, for your reply as well)

    Sorry it took a while for me to answer back. I have been quite busy, and it took me a while to test different configs and installs of php and MySQL.
    Unfortunately uncommenting extension=php_mysql.dll didn’t solve the problem with phpmyadmin. Also I put the dll in every dir I could think of where it might be picked up, as well as configuring the extension dir in the PHP.ini file.
    The strange thing is that I could get Mambo up and running fine (should be needing a MySQL connection as well), but CMSmadesimple gives me a connection failure for the database, just like phpmyadmin.
    I tried the PHP 4 install, because it’s supposed to come with MySQL already configured in, as opposed to PHP 5, but it gave me the same connection error in phpmyadmin. I think the fault might be somewhere else, but I’ve checked quite some information sources and helpfiles, and haven’t found the solution yet.

    I’ll keep checking the forums as well, and keep trying to see if I can find it. (it’ll probably end up being something very silly…;-)
    If I find the answer, I’ll definitely let you know.

    Gen

  25. Raghu says:

    Have you folks tried out XAMPP from apachefriends?

    It makes a W/LAMP installation a 5 minute affair and php, perl, py are ready to go in no time. There are a few security things you need to fix but that’s easy too

  26. corexian says:

    You don’t have to copy the PHP dlls to make this all work on windows, in fact, it will cause headaches when you upgrade php. Just follow the PHP documentation for your server and OS and be sure and add your PHP directory in the Windows path. You’ll be adding the MySQL directory in the path as well. The rest of the directory changes can be made in the configuration files and ini files.

  27. Steven says:

    Thanks very much for the tutorial. I have book marked this for future use.

    I do have one question regarding adding and verifying packages to PEAR. I am using the CLI and when I type c:\ \pear list, I get a list of the installed packages. However when I try to run :c:\pear package-validate on say DB it says that it cannot be found even though I can see it in the list.

    any light you could shed would be much appreciated..

  28. George A. Papayiannis says:

    @ Steve

    package-validate is used to validate downloaded packages (not installed ones). So in linux I could do the following:
    ——————————————————————————————————-
    root@server0:/tmp/test# wget http://pear.php.net/get/DB-1.7.6.tgz
    –01:12:03– http://pear.php.net/get/DB-1.7.6.tgz
    => `DB-1.7.6.tgz’
    Resolving pear.php.net… 216.92.131.66
    Connecting to pear.php.net|216.92.131.66|:80… connected.
    HTTP request sent, awaiting response… 200 OK
    Length: 124,807 (122K) [application/octet-stream]

    100%[=================================================================================>] 124,807 294.10K/s

    01:12:08 (293.45 KB/s) – `DB-1.7.6.tgz’ saved [124807/124807]

    root@server0:/tmp/test# ls
    DB-1.7.6.tgz
    root@server0:/tmp/test# pear package-validate DB-1.7.6.tgz
    Validation: 0 error(s), 0 warning(s)

    root@server0:/tmp/test#
    ———————————————————————————————–

    As you can see, I validated the DB package. Good luck with your projects.

    @ Anyone who loves Apachefriends

    If your looking for a quick install, etc. then I hear that Apachefriends is the way to go. Personally though, I prefer to go through the installation. You learn more by fighting through problems then getting a quick fix.

    On a side note, I know people that compile everything from source. That a bit too hardcore, but its what they like. I would definitly recommend people to fight through the installation of PHP, Apache, etc. rather than using Apachefriends. You’ll learn in the process, and have a somewhat better understanding how things work together.

    @ Chanchal

    Sorry I’ve never installed PHP with IIS. Happy Googl’ing…

    @ corexian

    I’m not sure how it would give you headaches upgrading, but whatever you like.

    @ Rogel

    I’ve never installed PHP with Windows 2000, but I imagine it should work all the same. Just check the download packes for the respective binaries. Download the most recent release that supports your OS.

  29. Matt says:

    @ Gen,
    I’m having the same problem as you – any fix yet?
    Matt

  30. Sully says:

    When I try to run testpear.php in my browser, I get this :

    Parse error: syntax error, unexpected ‘:’ in C:\wamp\www\testpear.php on line 9

    Also was wondering what I should put in the place of “unix” if I’m running windows. Would it be “win”?

    Thanks, Sully

    George, I really like your tutorial.

  31. Marty Owens says:

    Thanks for your excellent and informative site.

  32. Lee says:

    I’m planning to install just PHP and MYSQL so that i can build an web database application but im kinda confuse which version of PHP to download. I dont which windows binaries to install. im using windows xp, can u give me some advice?

    Thanks!

  33. George A. Papayiannis says:

    @Sully
    The example above is made for windows..

    @Lee
    We’ll follow the full tutorial above. It will tell you which binaries to install. I’ve moved to PHP5 now in Ubuntu, but PHP 4.x is still good though. Everything you’ll need for your project is above. Use PEAR.

  34. Matt says:

    Okay, enabled mysql extension (extension=/ext/php_mysql.dll) in php.ini and all’s working perfectly, including phpMyAdmin.

    @ George: What does PEAR do that can’t be done with either phpMyAdmin or a php script from a web page? Like, I can do all the usual stuff with the database now, so am I missing anything by not installing PEAR? What does PEAR do?

    Matt

  35. » Why to use PEAR says:

    [...] A comment was posted on a tutorial I wrote How to: Install Apache, PHP, PEAR, MySQL & phpMyAdmin for Windows XP.  The comment said: [...]

  36. George A. Papayiannis says:

    @ Matt

    Thats a good question and hard to answer. I posted this: http://www.sematopia.com/?p=64

    Good luck,
    George

  37. Matt says:

    @ George:
    Cheers George, very informative. Will investigate further :cD

    All the best,

    Matt

  38. Raymond says:

    George –

    Great site. I’m a newbie… struggling with ‘include_path’ with PHP. Is there a way to dynamically add the path for subdirectories? As the structure changes over time, it’s painful to have to go back and update hardcoded paths, and maintaining a ‘path’ file is tedious also.

    Thanks for the great site!
    R

  39. Tony Southwood says:

    Hi, Interesting notes here.
    I’m running WinXP Pro, I have IIS installed on my local machine and do most of my development work under IIS using ASP server side scripting.

    I’d like to get into PHP and MySQL, but with a single machine, need to keek IIS as a webserver for my ASP applications.

    Your instructions do seem to be clear and concise but, I’m not whether PHP/MySQL and IIS/ASP are mutually exlusive. Can I install PHP/MySQL on my system in ADDITION to IIS/ASP? Or, is definitely a case of one or the other?

    Regards
    TS

  40. ape says:

    When I download php 4.4.2 and extract på zip file, there is no such file as:

    C:\php\php4ts.dll
    and
    C:\php\sapi\php4apache2.dll

    What did I do wrong?

  41. Ro says:

    I love you!
    I have been trying to set this up for 2 days solid. And finally I have cracked it with your walkthrough. Thank you.
    I too had trouble as mentioned earlier with the config.inc.php file being missing. But a default version is to be found under the libraries folder in myadmin that can saved with the required name.
    Cheers

  42. Tony Southwood says:

    Hi,

    I’m New to PHP. You all seem to know what your talking about so hope this is an appropriate place for this query.

    I’m using Win XP Pro and IIS 5 and have successfully installed MySQL 5.x and PHP 5.x, and they work. However, I installed PHP using the recommended windows installer package, which was fine. After installation, I also downloaded the corresponding .zip file as this contains a large number of classes/extensions not included in the windows installer.

    My Question is… How do I make use of all these extras? Is it a case of just copying them, maintaining directory structure, to my PHP installation folder, c:\php, or is their some other installation step needed? In particular, I was looking to install PEAR classes, not included in the windows PHP installer, but are in the PHP .zip download – Instructions I’ve found on the web about installing PEAR on XP/IIS refer to a batch file go-pear.bat, which was not installed by original windows installer, but is in the .zip

    Any advice would be helpful
    Regards
    TS

  43. Greg Hagopian says:

    Thanks for your wonderful clear and concise web site. My configuration: Apache2 on Windows 2000 sp 2, MySQL, PHP 5 and Pear. Everything works except PEAR:Mail. PEAR:DB works fine.

    I have checked the install and the Mail, Net_SMTP packages are installed. I have checked the PHP.ini file. I have even checked my firewall to make sure that port 25 is open. I have checked the host, the username and password and everything is correct.

    The following program will not execute, will not give any errors, and gets hung up at the require_once “Mail.php”. I have overwritten certain data fields for security reasons.

    Please Help, I am stuck.

    Thanks
    Greg

    “;
    $to = “yyyyyy “;
    $subject = “Hi!”;
    $body = “Hi,\n\nThis is a test?”;

    $host = “smtp.xxxx.com”;
    $username = “———–”;
    $password = “——–”;

    $headers = array (‘From’ => $from,
    ‘To’ => $to,
    ‘Subject’ => $subject);
    $smtp = Mail::factory(‘smtp’,
    array (‘host’ => $host,
    ‘auth’ => true,
    ‘username’ => $username,
    ‘password’ => $password));

    $mail = $smtp->send($to, $headers, $body);

    if (PEAR::isError($mail)) {
    echo(“” . $mail->getMessage() . “”);
    } else {
    echo(“Message successfully sent!”);
    }
    ?>

  44. Saumitra P says:

    i am using php 4.1 and mysql 3.23 and phpmyadmin 2.7 my pc is having windows xp and when i type in my url localhost/phpmyadmin/index.php it gives the following error
    Apache.exe has encountered a problem and needs to close. We are sorry for the inconvenience.
    I want to create new database, give password to them etc through phpmyadmin
    please help me out
    my email address is [email protected]

    Thanks
    saumitra p

  45. ArleyM says:

    Thanks so much for a simple and comprehensive tutorial! I find that so much of this PHP and MySQL stuff requires a high level of education just to start (looking at the apache and php websites is terrifyingly confusing for a non codey like me). Thanks for bringing it down to the level that a mere designer can understand.

    ~Arley

  46. Bits says:

    PEAR not working….need help
    tried everything…..(go-pear.bat and also i tried c:\php\>php pear\go-pear.php)…. pear installation works fine….
    everything got installed….no warning….looks fine

    but when i tried ur DB connect sample
    it says -
    Fatal error: Class db_common: Cannot inherit from undefined class pear in C:\php\PEAR\DB\common.php on line 48

    what to do…….situation is frustrated
    if possible….please mail me at [email protected]

  47. Maggie says:

    i would to upload to mySQL files to the web server, how? i am using Cpanel (Linux). i can easily upload my php and html files using “File Manager” and http://FTP.. but i was not able to upload existing mySQL files.. Please help dilemma

  48. Robert says:

    Hi!
    I have installed apache2.2, php5.1.4, MySQL – 3.23.58-nt, (phpMyAdmin – 2.8.1) on a Win2003 server. I’m using it as a local web server and everything is working fine except for PEAR. I have installed it and thought it worked (didn’t get anny errors). But when I started to set up the invetory and resource manager, hinventory (php), I got a notice that i didn’t have PEAR, neither anny of the required packages (DB, DB_Pager, Config….). Anny idea of what this may depend on? I’m stuck and have searched for half a week for a solution.
    Best regards //Robban

  49. Colin says:

    Hi,
    your info is most helpfull…
    When I run go-pear.bat on winxpsp2 with php/apache running (is that safe?) I get…
    ***START
    C:\PHP5>go-pear

    Are you installing a system-wide PEAR or a local copy?
    (system|local) [system] :

    Below is a suggested file layout for your new PEAR installation. To
    change individual locations, type the number in front of the
    directory. Type ‘all’ to change all of them or simply press Enter to
    accept these locations.

    1. Installation base ($prefix) : C:\PHP5
    2. Binaries directory : C:\PHP5
    3. PHP code directory ($php_dir) : C:\PHP5\pear
    4. Documentation directory : C:\PHP5\pear\docs
    5. Data directory : C:\PHP5\pear\data
    6. Tests directory : C:\PHP5\pear\tests
    7. Name of configuration file : C:\PHP5\pear.ini
    8. Path to CLI php.exe : C:\PHP5\.

    1-8, ‘all’ or Enter to continue:
    Beginning install…
    PHP Notice: unserialize(): Error at offset 88 of 332 bytes in phar://go-pear.ph
    ar/PEAR/Config.php on line 971
    PHP Fatal error: Call to undefined method PEAR_Error::set() in phar://go-pear.p
    har/PEAR/Start.php on line 263
    Press any key to continue . . .
    ***END
    … it just ends like that no ‘its complete….’ or anything.
    Thus its failed?
    I try the testpear.php (from your source above) and get no error and no message… just a boring old blank screen (IE of course!) …
    Any idea(s) on what I am doing wrong..?

    thanks
    Colin

  50. Gilbert says:

    why does the phpinfo file comes up after installing PHP 5.0 on Apache 2.0 .58 instead of te PHP menu list. I have been struggling with this for three weeks, I followed the installation instructions as closely as possible, however, the apache server fails to show the PHP menu list , instead I have the phpinfo file created in notepad displayed on the screen. What could I do to change this result.

    System used: Windows Xp Service Pack 2
    Apache 2.0.58
    PHP 5.1.4

  51. Bm says:

    I am not able to install go-pear.bat, can u explain how to Install ?

    I am doing this:

    in CMD

    CD C:\php\pear
    C:\php\pear go-pear.bat (press enter)

    Nothing ???

  52. Lee says:

    Thanks, everything is up and working with php. Although i can’t get my perl scripts to run on apache but once again

    cheers

  53. Imran says:

    I have Installed Apache 2.2.2 and PHP 5.1.4 in WindowsXP SP2.
    I copied three files to apache root directory- php5ts.dll,php5apache2.dll,php.ini

    To configure I added the following lines to httpd.conf at apache:

    LoadModule php5_module php5apache2.dll
    AddType application/x-httpd-php .php

    But adding the line “LoadModule php5_module php5apache2.dll” makes Apache out of service(service do not start anymore).

    Kindly help pls….anyone???

  54. wax says:

    Download php5apache2_2.dll, put it in your php root
    and hange the load module
    LoadModule php5_module PHP/php5apache2_2.dll

    Apache will start up now :)

  55. newbie says:

    Sully says:

    March 4th, 2006 at 12:38 am
    When I try to run testpear.php in my browser, I get this :

    Parse error: syntax error, unexpected ‘:’ in C:\wamp\www\testpear.php on line 9

    Also was wondering what I should put in the place of “unix” if I’m running windows. Would it be “win”?

    Thanks, Sully

    George, I really like your tutorial.

    =============

    I also faced the same problem but I have solved it. What I did is to retype the syntax ” and ‘ … tq for this tutorial ;)

  56. Add on to the tutorial says:

    Thanks for the tutorial, it helped a lot. But I also found it’s not complete in the section on intalling Pear DB. Below is what I did when installing Php5.1.4 + Apache 2.0.59 + mySQL5.0.

    1. Install Apache 2.0.59 (cause PHP5.1.* not compatible with latest Apache 2.2.3)
    2. INstall PHP5.1.4
    configure PHP
    – add c:\php to path
    – copy php.ini-recommended to php.ini

    3. configure apache

    # For PHP 5 do something like this:
    LoadModule php5_module “c:/php/php5apache2.dll”
    AddType application/x-httpd-php .php

    # configure the path to php.ini
    PHPIniDir “C:/php”

    4. install pear: (refer to http://pear.php.net)
    – run gopear.bat under c:\php
    – run pearenv.reg (to register the path)
    – download the DB***.tgz from http://pear.php.net
    – run shell command: pear install .tgz

    – change the line as below in php.ini
    include_path = “.;c:\php\includes;c:\php\PEAR”

    5. enable mysql extension in php.ini by adding 2 lines below, (or uncomment them if already existing)

    extension_dir = “./ext”
    extension=php_mysql.dll

  57. Yibeltal says:

    Hi ppl, It is really a site where active ppl are involving.
    I am still with the problem. I tried to install phpMyadmin, I spent 2 solid days, but no solution. I tried all the sugestions given here and on other sites, the same message is annoying me:Cannot load mysql extension. Please check your PHP configuration. – Documentation
    can any body say something pls
    thanks
    My email is [email protected]

  58. Patrick says:

    I’ve been having the same problem as Yibeltal. I’ve read everything I can find on the applicable configuration issues, but I cannot get the MySQL or MySQLi extensions to load. The DBase extension loads with no problem. I thought it was a problem with the LibMySQL.dll, but…

    Please send any tips to [email protected]. Thanks!

  59. Amrita says:

    Hello,
    I have only one machine.But I have to develop my PHP,MYSQL application immediately. Can you help me how can I do that. Its Urgent.I do not have server. I have internet connection and I also have a web database wich I cannot be able to connect though PHPMyAdmin. Can you help me?
    Thanks
    Amrita

  60. wolfie says:

    The MySQL Problem will be resolved when you copy libmysql.dll to \system32

    wolfie

  61. wolfie says:

    PEAR package install under Windows XP

    How is this done?

    The instruccions found so far are specific for Linux.

    Please help.

    wolfie

  62. Amrita says:

    Hello,
    I have another problem. I have to use PDF function in my PHP.But I cannot able to configure PDFlib in my winXP . I could not understand how I compile PDFlib in PHP. Can you help me?

  63. Ben says:

    Good day,

    I’m having this error when I tried to run the service of Apache! “The Apache2.2 service terminated with service-specific error 1 (0×1)”. I’m using Windows XP SP2 as OS.

  64. Doug says:

    Very good tutorial. I recommend using the 32bit install file for the apache server. However i have some changes to include.

    Check out this site for your errors when installing the PHP extension as 4.4 and 5.1 are not applicalbly working with 2.2 apache as noted in this forum.
    The fixes are listed there and when done, the test of config does work. Thanks.

    http://forums.devside.net/viewtopic.php?t=1013

    http://minitutorials.com/apache/php_52_2.shtml

  65. Yenten Jamtsho says:

    My pear(HTML_Template_IT) seems not working . At c:\php>pear.bat list It gives
    PEAR 1.4.6 stable . Does that mean that pear is installed successfully ?

    when I run my file over mozilla browser, it give require_once(HTML/Template/IT.php) fail to open stream, can anyone answer this error ?

    Other error are fail to open HTML/Template/IT.php (include_path=’.;c:\php\PEAR’) . anyone have idea about this error ?

    require_once “HTML/Template/IT.php” . what does this file does and where IT.php is localted ?

    I would be grateful if any php guru can solve my problem.

    Yenten

  66. Henry says:

    If you think windows xp is easy for setting up Apache. Try Mac OS X 10.4 – All you have to do is click one button and it is done – in other words, enable it and done

    Windows is a long ways away from that kind of built in ability.

  67. Vinicius says:

    Hello George,
    Finally I found a website that show, in details, how do install pear in windows enviroments.
    But, tell me, it´s normal a php5 directory be created automatically?? When I run go-pear.bat I note that, in fact, the directory pear is created and populated into the php directory. But only outside, I mean, inside the php5 directory (my main installation php directory is C:\php), is all the classes that I can use.
    I don´t know why I can not use directely the packages. If I use include(“C:\php5\pear\nameofpackage.php”), that´s ok…
    Can you sugest any modification, or procedure to follow besides that ones describe above??
    Congratulations for you tutorial. Although it´s completely clear, I was unable to install, yet, correctly the pear.
    Thank you in advance.
    Best regards.

  68. wamp says:

    Try downloading wamp = windows + apache + mysql + php

    from http://www.wampserver.com/

  69. Snowby Dave says:

    I have successfully install PHP 5.2.0 in C:\PHP. Required setting done in PHP.ini.

    I want to install PEAR & PECL. I have tried lot, but unsuccess. I am using WinXP, IIS 5.

    Is anybody guide me step by step to do this task? I am heartly thankful to them.

    Snowby Dave

  70. Agus says:

    George, thank you so much for posting this tutorial. I was looking for a way to add PEAR into my PHP installation and your tutorial is placed is the first place by Google.

    The PEAR installation works. Tested fine.

  71. Christina says:

    Just wanted to say thank you to Eric and George – I have been getting this error “Cannot load mysql extension’ ” after trying to run phpmyadmin and it was driving me absolutley nuts!!

  72. Ken PLumb says:

    Hi,

    I have been trying to install pear and getting an error when I run the batch file.

    Cannot use a scalar value as an array in phar://go-pear.phar/pear/command.php

    Any suggestions?

  73. Stu Ducklow says:

    This is fine if your computer is your server but the majority of web developers rent their space on a remote server. Try as I might I can’t get plain language instructions for installing PEAR on a remote server. The one article I found that addressed this issue had incorrect code in a couple of places.

    Can you publish similar instructions for the rest of us?

  74. Alex says:

    Hi,
    I need to install a PECL package for some work I’m doing. I have spent like a week trying to install PEAR and I just can’t do it. I’m really new with this stuff, and I have researched a lot but still, it isn’t working. I installed WAMP with PHP 5. I ran the go-pear.bat and it seems to work, but somehow it isn’t because everytime I try to use the pear command (pear install, and all that stuff) it says that pear is not recognized as an internal or external command. I defined the envirommental variables and ran the PEAR_ENV.reg and still nothing. I guess that I just don’t get how to do this. I also tried to install PHP and Apache without WAMP, but still it doesn’t work. I can’t use the pear command in the shell. Oh, I’m working on Windows, by the way. So, I’m really stuck here, and I would appreciate a lot if anyone could help me and tell me how to do it.
    Thanks,
    Alex

  75. Peter says:

    Having extreme issues installing/proving PEAR on locally installed PHP / Apache server on fully patched Win XP SP2. Needed to get PEAR HTML_Template_IT module to work through various exercises in a textbook. Results today were similar to Ken Plumb on Jan 28th. Downloaded 19MB 5.2.0 windows .msi package – did not work properly after install – God knows why. Went back to windows binaries for php (10MB) and pecl (3MB) (5.2.0). Now have control and have successfully managed to prove php is working OK, Apache server is OK, MYSQl is OK, but am unable to conclusively prove PEAR is OK via a php script loaded through localhost. Have successfully added HTML_Template_IT and DB modules from online via the command line, so pear is installed to that point. Your tutorial has been great to help me get to this point.

    Is there some sort of PEAR::List; or PEAR::Info; command I can stick into a php script (just like I can test and prove PHP and the webserver with phpinfo(); in a script) to prove PEAR? I tried the script George gave further up the page which tried to talk to mysql through a PEAR::DB command, but I cannot get this to work. I would like a command that would say listed the status of PEAR without initially having to talk to a third layer of potential coding trouble such as through DB.

    Is there somewhere where practical PEAR commands that might be used in a php script are listed with examples? Particularly with a Windows influence, rather than Linux. I have found the PEAR docs very technical without practical examples. Am I missing something here?

    Ultimately, if I can get this PEAR template thing to work as the textbook suggests (written with strong UNIX flavour), I would like to try it out on a live publically hosted server, but I suspect my host does not have PEAR installed. Is there someway I can under my top-level htdocs directory on the public site, install/access the PEAR HTML_Template_IT in my subdomain without having to get the host service provider specially install PEAR. Maybe this is not technically possible, if so I wasting my time with PEAR.

  76. KJ says:

    Will this run properly on WinXP/IIS/Oracle? If so doesn’t anyone know of any good guides out there? So far I get “No input file specified.” when I try to navigate to the site in my browser.

    I have installed PHP and think I have the PEAR stuff right. Running WinXP and IIS and have an Oracle schema ready to go. Just can’t get started. Anyone have any ideas?

    Thanks in advance.

  77. George A. Papayiannis says:

    For anyone who wants to use PEAR on a shared host, remember that PEAR is just PHP scripts.
    More here: Using PEAR on a shared host

  78. George A. Papayiannis says:

    The example above for PEAR uses the DB package, this has been merged into MDB2.
    It can probably still be downloaded, but you’ll want to start using MDB2.

  79. Jason says:

    @Gen

    Do the following

    1)Control Panel > System > Advanced > Environment Variables

    2)Under the system variables, Look for “Path”

    3)Click edit and put your php folder path at the end of ;
    e.g. ;C:\PHP

  80. Fred says:

    Hey, this is a great site with loads of involvement and info, it’s fantastic. But this PhpMyAdmin was giving me headaches… I used to have Mac OSX with MAMP and everything was so simple, now had to go back to my old PC (damn them burglars) and trying to get a working apache/PHP/MySQL server with PhpMyAdmin was a nightmare. Eventually thanks to this site and a pinch of luck it’s all working fine, at least for now!

    Cheers!

  81. Jean says:

    Well I think I must be stupid I have wamp up and running got the pear batch file running but got lost on what I am suppose to be altering.

    Pear is in c:\wamp\php\pear

    so is that the line I put into all the 1-8 prompts for pear to show it where to go and what is this $prefix for?

    I have read most post but I am still comfused.

    I use windows vista ultimate on a quad core machine.

    Hope you can help me

    Thank you

  82. madan says:

    excellent tutorial one of the best to learn how to install PHP as a beginer

  83. Kostas says:

    Hi I’ve installed php, mysql, and phpmyadmin.
    The problem is that when I type in my browser localhost/phpmyadmin it asks me to login, I give username and password as they are in file config.inc.php but it gets me to the same login screen again..I have enabled cookies as it requires but nothing…
    any help would be really appreceated please

  84. stuart says:

    …. or you can just download wamp all-in-one installer from http://www.wampserver.com, have it installed in seconds with a system tray menu to turn modules on and off etc.!

  85. ads says:

    I have problem with phpmyadmin during configuration it shows this:

    Could not load either mysql or mysqli extension, you might not be able to use phpMyAdmin! Check your PHP configuration.

    what I must configure in php can someone tell me please..

  86. Carlton says:

    @Ads….open your php.ini file in textpad or something and check the ‘Windows Extensions’ section…and make sure the lines

    extension=php_mysql.dll
    extension=php_mysqli.dll

    do not have a semi-colon before them (this means they have been commented out and are not loaded)…

    MAKE SURE that you then restart your web server.

    Then if you create a phpinfo page

    You should have a section called mysql and mysqli now…good luck!

  87. ads says:

    thankyou Carlton the ***ing problem was solved :D
    Regards

  88. Joe says:

    Hi everyone :)

    Cool Forum. I’m trying to install Apache, MySQL, PHP and phpmyadmin so that I can install MediaWiki on my windows xp machine. I used this tutorial ( http://www.wikihow.com/Install-phpMyAdmin-on-Your-Windows-PC )and installed Apache, MySQL & PHP successfully. The test PHP showed up under… http://localhost/phpinfo.php

    When I got to the phpmyadmin install I noticed that under c:\server\ there was not a folder for apache2 but that the htdocs folder was there. So I unzipped phpmyadmin to the phpmyadmin folder (that I created) and tried to go to “http://localhost/phpmyadmin/index.php” but it did not appear (in firefox or explorer).

    So… I followed on and changed the “config.inc.php” according the tutorials specs but http://localhost/phpmyadmin/index.php just was a white page. No errors or page can not be displayed. Anyone out there have any advice?

    Thanks!

  89. Clayton says:

    Hi there. Great info here. I have had my server running for quite some time, but when I went to install squirrel mail, I found that I needed to have pear. I followed the instructions above to install pear, but cannot find a DB.PHP file anywhere. Don’t know if perhaps I’ve missed something, but pear config seemed to go fine. Any thoughts?

  90. ramgopal says:

    Installation problem. I saved my php program in htdocs. After I run the program, the complete code is displayed , including php tags.
    for example , this is my code:

    And output is also the same , the complete code above.
    Cud any one help me out.

  91. Heba says:

    HI

    thank u for the useful info, but i got that error when i’m using phpMyAdmin (i just write a simple SQL statement)

    import.php: Missing parameter: import_type
    import.php: Missing parameter: format

    any help

  92. Anders says:

    Hey there. First of i wanna say thank you for the fine torturial like everybody else.

    Second of, It seems like i got a problem.

    I did everything as instructed everything was working fine. So i got to the testing, and i tested the phplocal host and the server appeard and said: Install php etc. now?.
    After that i tried to run the Apache in the localhost, it appeared just like it should and said that Apache was installed correctly on this PC, now i did all of these things without restarting my pc, so i did my restart after and now i can’t get anything to work the sites just display as: ”Site cannot be found” And aslo my Apache icon which is shown in the buttom of the screen appears now in red, (Before it was green and working) now when i try to open it and start it, it replies: -”The requested operation has failed!”.

    Anyway Thanks in advanced and i really hope someone can help me with this. Greetings.

  93. Adrian says:

    I can install everything here except PEAR DB on windows.

    If any one would like to install all of this, the apress line of books is a great place to get information.
    http://www.amazon.com/Beginning-PHP-Apache-MySQL-Development/dp/0764557440/ref=sr_1_22/002-5160288-2462462?ie=UTF8&s=books&qid=1181701012&sr=1-22

    Now I present this challenge, With everything running just fine, how I can install PEAR DB, or the DB package? I am using Windows, PHP5, MySQL 4.1, Apache 2.0, and phpMyAdmin.

    I have code that is two years old and refers to PEAR DB, and now the PEAR installs only come with MDB2.

    Thank you very much for any help, I deeply appreciate it.

  94. Adrian says:

    @ Anders

    Unistall Apache, and re-install it. Then redo the changes to the httpd.conf file.

    Adrian

  95. Handril says:

    I have succes install PHP5, apache2 and MySQL5. I can run php info. But, when php script, in the IE browser not displaying the php script result. The program like this:

    I try to follow the instruction for several times, but this basic problem still appear. I use Windows XP.

    Thanks alot for your attention.

  96. Prashant says:

    Hi,
    Thanks for the wonderful post. Its really helpful.

    Cheers!

  97. Remolus says:

    Ok well i followed so far the tutorial.

    I use
    OS= Windows Vista Ultimate
    DB= MySQL 5.0 / MSSQL 2000
    PHP= 4.4.7
    Apache= 2.0.59

    My problem is the following:
    PHP and apache work successfull.
    Just the connect to the Database doesnt work.
    once i did all what stands in this Tutorial.
    First time i got.
    #1251 – Client does not support authentication protocol requested by server; consider upgrading MySQL client

    After i setted “Use old passwords” and changed pw and also restartet MySQL
    #1045 – Access denied for user ‘root’@'localhost’ (using password: YES)

    I tested already anything but no chance that i get a connection to mysql.
    I also even tried to deactivate my Firewall but still doens’t work.
    The Informations are like i entered them in MySQL but a connection gets always refused.

    Thanks to the ones that can help me.
    Remolus

  98. jomsom says:

    Hi,

    Your tutorial for installing PEAR was just awesome! Saved me a lot of headache =)

    Although I had some initial problems with the elusive DB.php file, I could solve the problem after reading some of your comments.

    Thanks.

  99. David Mattison says:

    I’ve used both WAMP from e-novative in Germany, a free download, and Uniform Server (http://www.uniformserver.com/), also a free download, on Windows XP Home Edition. My most recent installation of WAMP did not go so well, so I switched to Uniform Server. One of the advantages of Uniform Server is that it’s a compact and very fast installation so it’s very suitable for installing on a USB thumb drive in case you want to impress your friends, business mates or party goers. The most recent version (3.5) comes with PHP 5.2.3, MySQL 5.0.41-community-nt (server) and Apache 2.0.59. There are instructions on how to downgrade to PHP 4. Once you get Uniform Server up and running, you can also run a semi-automated installation of PEAR. Uniform Server also comes with several other useful, integrated tools such phpMyAdmin and phpMyBackupPro. A documentation site for Uniform Server is at http://center.uniformserver.com. I have no connection with the application or the company behind it, just wish to spread the word.

  100. tom says:

    Thanks, man.

    You’d think by the third edition of “SAMS TYS PHP, MySQL and Apache All in One” their instructions would actually work. You had my PHP integrated into my Apache in 2 minutes!

  101. Sharon says:

    Finally, instructions that don’t start “Log in to phpMyAdmin”! After days of getting nowhere I was up & running within minutes of finding this page – thank you!

  102. AWESOME says:

    Man that was great you awesome, short and correct, great tutorial, it was so easy to install pear package, thanks man

  103. Jose says:

    Hello.

    I followed this tutorial to set up a local development environment in XP.

    I used apache 2.2.6, php 5.2.5, and mysql 5.0.

    When setting this up you need to copy the module named php5apache2_2.dll to the apache directory for this to work.

    Also change the line above to this:

    LoadModule php5_module php5apache2_2.dll
    AddType application/x-httpd-php .php

  104. John says:

    Hello,
    How to install pear command in windows. pear command in unavailable in command prompt.

    Thanks
    John
    Seo Material

  105. Simon Doubt says:

    This is so great – very helpful! It’s thanks to people like you, George, that projects like this thrive, and noobies like me can make progress…

    Thanks a million!!

  106. dsims says:

    You know if you go to php.net it will tell you haw to install php into apache for those who are confused

  107. Obodoeze Fidelis C says:

    Hello George,

    I enjoyed your series on Apache PHP PEAR MySQL and PHPMyAdmin installation tutorials sessions, however, I would like you to include the Installation of PHP development tool called Zend Core together with other software tool for PHP AJAX development. I am very much interested in these topics. I will be glad if you will consider it in your next session.

    Thanks for your valuable cobtributions.

    Best of luck!

    Fidelis Obodoeze C.
    Abuja, Nigeria

  108. Alex says:

    Dear Frnds ,i have installed the micromedia with every thing but the reuired files called “HTML/Template/IT.php” and same other files is not accessable .pls i need ur deatil help about those things .
    Sincerly

  109. toure says:

    Hi there.
    I follow all the instructions, but I can’t run the phpMyAdmin and it gives me this error:
    Cannot load mysql extension. Please check your PHP configuration
    I am using the following versions:
    phpMyAdmin-2.11.5-all-languages.zip
    apache 2.2.5
    and the latest phpMyAdmin.
    nb: I went with the recommended latest and stable ones.
    It can’t have the phpMyAdmin woking and keep having it showing the extensions not found error.
    Please help.

  110. Biju says:

    Hi gals

    Just wondere if you could hlep me! I am trying to download Apache vesion (Win32 Source: httpd-2.2.9-win32-src.zip [PGP] [MD5]; Win32 Binary without crypto (no mod_ssl) (MSI Installer): apache_2.2.9-win32-x86-no_ssl-r2.msi [PGP] [MD5] ;Win32 Binary including OpenSSL 0.9.8h (MSI Installer): apache_2.2.9-win32-x86-openssl-0.9.8h-r2.msi [PGP] [MD5] ). Could you pls tell me which one of the above three version really needed. Also Is it possible to download on XP OS or Is it neccessary to have Server OS to download it.

    Thanks.

  111. Biju says:

    Just wondered if you could hlep me! I am trying to download Apache vesion onto Vista 2007. I found the follwoing sources but not sure which one is the right zip file I need.

    1.Win32 Source: httpd-2.2.9-win32-src.zip [PGP] [MD5];

    2. Win32 Binary without crypto (no mod_ssl) (MSI Installer): apache_2.2.9-win32-x86-no_ssl-r2.msi [PGP] [MD5] ;

    3. Win32 Binary including OpenSSL 0.9.8h (MSI Installer): apache_2.2.9-win32-x86-openssl-0.9.8h-r2.msi [PGP] [MD5] ).

    Could you pls tell me which one of the above three version really needed. Also Is it possible to download on Vista Home vesion OS or Is it neccessary to have Server OS or Is my Vista Home Version already built with server OS.

    Thanks.

  112. George A. Papayiannis says:

    You definitely don’t need sources. Just uses Apache Friends XMPP to get everything installed. Google Apache Friends XMPP.

  113. Biju says:

    Hi George

    Thanks for the reply. I clicked the link “http://www.apachefriends.org/en/xampp-windows.html” and found the following three dowload options for windows:

    XAMPP
    XAMPP Add-Ons
    XAMPP Lite

    Could you please tell me which one of the above is right to download. or Should I download all the 3 above. Another thing I want to ask you that I got Vista 2007 basic edition ( not the server OS) and would it be sufficient to set up XAMPP or etc..

    Thanks

  114. Basab says:

    George,

    Thank you so much, I found it very useful. I followed the instructions in the link below verbatim to get things working and it really went extremely smoothly.

    How to: Install Apache, PHP, PEAR, MySQL & phpMyAdmin

    The only thing missing was the PEAR installation for which I followed the instructions here:

    PEAR :: Manual :: Installation

    After that I proceeded to play with the MDB2 package.

    Once again this information was most helpful. I am putting up the other pointers for what worked really smoothly for me.

    Thanks,

    Basab

  115. mervyn says:

    Really interesting and helpful site

  116. shan says:

    I need SSL installation

  117. Yoseph says:

    I have some problem.

    i want to use php 5.2.3, apache2_2, mysql5, and java 1.6.

    how to connect php 5.2.3 with java 1.6. using apache?

    thanks

  118. George says:

    Hello my friend,

    I’m a beginer web programmer. I’ve written a web page with PHP codes and once i FTP my website on an environment that has PHP, everything runs well. But as i told you i don’t have a website and I want to test my site on my Win XP pro at home. I’ve doenload and installed PHP 5 on C:\PHP
    Now i would like to know can i run the php files without installing apache or web servers?
    Please help me if this is possible.

    Thank you so much in advance

  119. Pratheepa says:

    Very easy to follow.

  120. matstar says:

    Thank you for the comment to xampp ,very easy to install and all components are in (apache,php,mysql)…

  121. HARSHA says:

    HI,
    Am Harsha. As per your Instructions I have Installed Apache 2.2 and PHP 5.2.8. But after doing those all things in PHP.ini. I ran that statement, http://localhost/index.php, but its showing the Error 404 the page cannot be found.
    Please tell the solution to me.

    Thanks
    Harsha C.S

  122. olu says:

    Hello Papa

    My php5 is installed and working fine on iis but i have this authentication issue when it comes to smtp. for this i need PEAR installed and i have followed your step. unfortunately, i have this error showing up at the point of running the bat file

    C:\PHP>go-pear.bat
    PHP Warning: Cannot open ‘C:\PHP\extras\browscap.ini’ for reading in Unknown on
    line 0
    Could not open input file: PEAR\go-pear.phar
    Press any key to continue . . .

    C:\PHP>

    What can i do?

  123. Leo says:

    im new to this so someone please help me. This is what i have done so far-

    1) i installed apache 2.2.11-win32
    2) installed MySQL Maestro
    3) installed PHP5.2.8 msi (i opted for the installer as i couldn’t do it manually, there were so many articles and guides i read and followed without any success that it confused me even more).

    Thing is that after installing php i tried the same old testing process by creating a phpinfo.php file and saved it in the htdocs folder. But when i go to localhost\phpinfo.php a window pops up asking me if i want to open or save the file! Infact none of the php files that i created opens :(

    please any help would be really appreciated. Im about to give up on learning all this and stick to good ol html :(

  124. archmage84 says:

    Hey guys,

    You seem to know what you’re doing with all this fancy stuff. I’m doing work experience with a guy from Drawstring (http://drawstring.com.au/), and he’s teaching me how to use PHP. I’m trying to do the whole Apache-PHP combo so that after the week, I can still use PHP stuff without having to use his server.

    Only problem is, at the step where you check “index.php” in your browser, it’s not working for me. I’ve followed all the instructions, and the version information for my computer and software is as follows:

    Firefox v3.0.10
    Apache v2.2.11
    PHP 5
    XP running SP3

    Please help me, as I love PHP and would enjoy continuing my learning after this week, and cannot do so unless I get it working. Thanks.

    archmage84
    “Long live Archmages!”

  125. George A. Papayiannis says:

    @archmage84

    Just use Apache Friends (XAMPP) – it’s an installer that automatically installs apache, php, mysql all in once shot

  126. Surya says:

    I think you better use XAMPP if you are in learning prorcess.. Either you have to search over the net.

  127. sor.sann says:

    Hi Sir,

    I want to configure Mambo by using Apache, PHP, Mysql and all of services are running very well. So how can you configure?

  128. Shahid says:

    HI,
    As per your Instructions I have Installed Apache 2.2 and PHP 5.2.8. But after doing those all things in PHP.ini. I ran that statement, http://localhost/index.php, but its showing the Error 404 the page cannot be found.
    Please tell the solution to me.

    Thanks
    Shahid

  129. Shahid says:

    Hi
    I have figured out … save the index.php file in notepad like that “index.php” otherwise it will take it as txt file.

    but thanks it is a v.good site

    Shahid

  130. ela says:

    Please tell me what I need to change/modify in php.ini for use pear mail to send/receive email. I use apache, php, mysql.

  131. Emon says:

    Please help me, I want to install and configure Apache, PHP, My SQL.
    any one can help me.

  132. George says:

    I would like to build my own website, so I installed XAMPP, but the result was something happened with Apache (maybe conflict or crash), I neglected the problem & continued with Mambo’s software till finished. When I opened Internet Explorer and typed “localhost/mambo” on address bar, the result was Mambo did not appread (blank).

    It means I should do something for Apache but I don’t know how to do and where the start point is to solve the problem. I already checked on program file but I didn’t find any folder which has a relation with Apache or using name as Apache.

    I really need your help to solve my problem, please tell me very clear & briefly (step by step). Thank you.

  133. poo says:

    Emon, how about xampp. goodluck

  134. heather says:

    the file php5ts.dll doesn’t appear in my apache folder….i did see something that was just php5.dll…should i copy that? or did something not get installed correctly?

  135. unblocked games says:

    Play unblocked games at school without a proxy. These games are not blocked at school or work! unblocked games http://www.unblockedgames720.org/

  136. Trash Hauling in clayton says:

    Because the admin of this web site is working, no doubt very rapidly it will be renowned,
    due to its quality contents.

  137. cheap desktops says:

    I have read some good stuff here. Definitely worth bookmarking for revisiting. I surprise how a lot attempt you put to create one of these magnificent informative website.

  138. Cyril says:

    Just how many americans is going to be served everyday?
    What kind of coffee maker or perhaps coffee machine can give you the
    drink you desire? How very long will the coffee machine require to previous?
    seek out a product that has very good critiques .

    I’d be extremely surprised should you decide can discover this West Bend fast – Drip 10-mug coffee maker for deal anyplace, however you might be competent in order to find a one using the internet, possibly through craigslist, e – Bay, otherwise Bid – Cactus.

  139. Unblock US says:

    Thanks for the auspicious writeup. It in truth was a leisure account it. Glance complex to far brought agreeable from you! By the way, how can we be in contact?

  140. seo Ladera Ranch says:

    Oh my goodness! Incredible article dude! Thank you so much, However I am encountering problems with your RSS.
    I don’t know why I am unable to join it. Is there anybody else having identical RSS problems? Anyone that knows the answer can you kindly respond? Thanx!!

  141. chiropractor prescott says:

    Hurrah! At last I got a webpage from where I can truly obtain valuable facts concerning my
    study and knowledge.

  142. webpage says:

    Great goods from you, man. I have be mindful your
    stuff previous to and you’re simply extremely fantastic. I actually like what you’ve obtained right here, certainly like what you’re stating and the way in which wherein you say it. You’re making it enjoyable and you continue to care for to stay it wise.
    I can not wait to read far more from you.

    That is really a terrific site.

    Here is my weblog; [webpage](http://www.naebelgeischter.ch/gb/ “webpage”)

  143. web site says:

    Link exchange is nothing else but it is simply placing the other person’s weblog link on your page at proper place and other person will also do similar in favor of you.

    Also visit my website [web site](http://meemi.com/GustavoFer/profile “web site”)

  144. christian louboutin flats says:

    Last year, Chinese tourists shopping drawback with 3 billion euros in France

  145. PHP Holidays Full Script says:

    certainly just like your website nevertheless you must take the spelling about a good number of of this content. Most of them tend to be filled by using punctuational issues and that i in discovering that pretty frustrating to inform the fact nonetheless will certainly return once again.

  146. Josephine says:

    Howdy! Do you know if they make any plugins to assist with SEO?
    I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good results.
    If you know of any please share. Cheers!

  147. รับทำ spss says:

    Do you have a spam problem on this blog; I also am a blogger,
    and I was curious about your situation; many of us have developed some nice
    practices and we are looking to swap solutions with others, please shoot me an email if interested.

  148. Everette says:

    I was suggested this web site by my cousin.
    I’m now not positive whether this submit is written by
    means of him as nobody else understand such
    detailed about my difficulty. You are wonderful! Thanks!

  149. hvjlnwowyj says:

    whzzltfnbupqjb, hdgweazcnj

  150. ʚïɞ.com says:

    When a skill reaches the highest level members may obtain a skill cape to symbolize their achievement Woodcutting and fishing are skills through which people
    can obtain sources for polishing other skills such as fletching
    and cooking. If you are in it for the cash however, Swamp Lizards sell for approx.
    You can register with a domain name registrar although there is an option to register it via
    a web hosting service.

  151. yacon free trial says:

    In its final form, granular, it contains ‘impurities’ with a coarse, brown
    grain, however it is not chemically processed. These are great for those with adventurous tastes,
    but they have regular dark chocolate bars available,
    too, including one that’s a whopping 100 percent
    chocolate. They are found in a new natural diabetes herbal supplement from Amazon Botanicals.

  152. http://www.tabletkinapowiekszaniepenisa.blogspot.com/ says:

    I used to be able to find good info from your blog posts.

    Regards – [http://www.tabletkinapowiekszaniepenisa.blogspot.com/](http://tabletkinapowiekszaniepenisa.blogspot.com/ “http://www.tabletkinapowiekszaniepenisa.blogspot.com/”)

  153. varifocal welding glasses lenses says:

    Having read this I believed it was extremely enlightening.
    I appreciate you finding the time and effort to put
    this article together. I once again find myself spending a lot of
    time both reading and leaving comments. But so what, it was still worth it!

  154. na tej says:

    Ciekawa biologia sprawdziany do pobrania gimnazjum

  155. minecraft full version says:

    Eventually, when you are above a stronghold the Eye of Ender will fly into the air but in will fly directly in the air and in no direction.
    You dig ant hill style tunnels, build bases up on the surface,
    and slap “wall” tiles onto the background to make a residence safe.
    Netherrack, formerly known as: brimstone, bloodstone,
    netherstone, or red cobble.

  156. varifocals how much power how many kwh does a computer use says:

    I’m curious to find out what blog system you happen to
    be using? I’m having some small security issues with my latest
    site and I’d like to find something more safeguarded.

    Do you have any recommendations?

  157. free zip software download says:

    Hello, just wanted to mention, I liked this article.
    It was practical. Keep on posting!

    Also visit my blog post: [free zip software download](http://kyivpride.farvista.net/?p=14&c=1 “free zip software download”)

  158. advanced test-o-boost review says:

    Not only men are most benefited in the power of Maca. Tribulus Terrestris
    has been around for years as an herbal steroid alternative.
    com: How to Install a Cat-Back Exhaust System; Mike Allen:
    .

  159. car town hack says:

    obviously like your web-site however you need to
    check the spelling on quite a few of your posts. Many of
    them are rife with spelling issues and I find it very troublesome
    to inform the reality then again I will definitely come back again.

  160. varifocal rimless progressive eyeglasses problems says:

    If you wish for to grow your knowledge only keep visiting
    this site and be updated with the hottest news update posted
    here.

  161. weight loss diet says:

    hey guys, here i am with my newest site of weight loss
    and healthy life.

    Check it out and give a like and subscribe!
    You will get your free report

    my blog post … [weight loss diet](http://www.lose10poundstoday.com “weight loss diet”)

  162. bike Video says:

    Hi there! This is my first visit to your blog!
    We are a group of volunteers and starting a new project
    in a community in the same niche. Your blog
    provided us useful information to work on. You
    have done a outstanding job!

  163. kuntilanak kesurupan says:

    Hey There. I found your blog the use of msn. That is an extremely
    smartly written article. I’ll be sure to bookmark it and come back to read more of your helpful information.
    Thank you for the post. I’ll certainly return.

    My web site … [kuntilanak kesurupan]( “kuntilanak kesurupan”)

  164. https://play.google.com/store/apps/details?id=com.respectapps.wisequotes says:

    This is very interesting, You’re a very skilled blogger.
    I have joined your feed and look forward to seeking more of your wonderful post.
    Also, I have shared your site in my social networks!

  165. kanchigai.biz says:

    Thanks in favor of sharing such a nice thought, piece of writing
    is pleasant, thats why i have read it fully

  166. Elisa says:

    Thank you for any other magnificent article. Where else may just anyone get that kind of information in such a perfect method of
    writing? I have a presentation next week, and I am at the look for such information.

  167. movies says:

    Hello there! This post couldn’t be written
    any better! Reading through this post reminds me of my previous room mate!
    He always kept chatting about this. I will forward this post to
    him. Fairly certain he will have a good read. Thank you for
    sharing!

  168. human growth hormone for sale says:

    The actual NATIONAL FOOTBALL LEAGUE will be the very first main expert sports activities category
    in order to put into action HUMAN GROWTH HORMONE screening.
    HGH can help bring back the moisture in the skin,
    especially among men who normally have dry skin. 320mg per
    day standardized to not less than 85% fatty acids is the recommended dosage for saw palmetto berries.

  169. Angela says:

    Hello, I would like to subscribe for this
    weblog to take newest updates, thus where can i do it please help.

  170. short quotes says:

    I have read so many posts on the topic of the blogger
    lovers except this article is actually a pleasant
    piece of writing, keep it up.

  171. Jann says:

    I like what you guys are usually up too. This sort of
    clever work and reporting! Keep up the terrific works guys I’ve
    included you guys to our blogroll.

  172. web design london says:

    I am no longer positive where you’re getting your info, but
    great topic. I needs to spend some time learning much more
    or working out more. Thanks for excellent info I used to be on
    the lookout for this information for my mission.

  173. Chase says:

    Way cool! Some extremely valid points! I appreciate you writing this article
    and the rest of the website is extremely good.

  174. www.opendiary.com says:

    Do you have a spam problem on this blog; I also am a blogger, and I was wondering your situation; many of us have developed some nice procedures and
    we are looking to swap solutions with other folks, be
    sure to shoot me an e-mail if interested.

  175. http://weber-street-photography.com/2011/12/01/the-urban-prisoner says:

    Woah! I’m really digging the template/theme of this site.
    It’s simple, yet effective. A lot of times it’s hard to get that
    “perfect balance” between usability and visual appeal. I must
    say you’ve done a excellent job with this. Additionally,
    the blog loads super fast for me on Internet explorer.
    Outstanding Blog!

  176. Del says:

    Appreciation to my father who shared with me about
    this website, this website is truly remarkable.

    Feel free to surf to my site – candy crush saga cheats ([Del](http://Youtube.com/watch?v=5eAlL8UnulQ “Del”))

  177. way to lose weight says:

    It was a handful of weeks back and my companion approached
    myself and enquired myself if I could secure the woman’s to reduce some excess fat, plus exclusively enquired easily
    could prove her the way to get slimmer thighs.
    The squats are believed to be a vital exercise simply because
    they help in enhancing the strength and size in the legs and buttocks.
    Fruit: Apricot, blackberry, cantaloupe, mandarin orange, watermelon, peaches, plums, damsons, raspberries, grapefruit, rhubarb, guava, strawberry,
    lemon, tangerine.

  178. Zurvita says:

    It’s going to be end of mine day, except before ending I am reading this great paragraph to improve my experience.

    Look into my blog post [Zurvita](http://www.youtube.com/watch?v=vzuHsOMIR0I “Zurvita”)

  179. romantic gift ideas says:

    From time to time, you may call upon a neighbour, a friend or a relative to mind your children for a short
    period of time so that you can run errands or do other things.
    Jenny loved her time in the great outdoors and gradually learned to love cycling again too, helping her get over her heartbreak.
    California Pizza Kitchen is offering a $20 rewards card when you purchase $100 worth of gift cards.

  180. google plus android hangout says:

    Fastidious replies in return of this issue with genuine arguments and explaining everything on the topic of
    that.

  181. イルビゾンテ バッグ アウトレット says:

    I am extremely inspired together with your writing skills as
    neatly as with the layout on your blog. Is this a paid subject or
    did you customize it your self? Anyway stay up the excellent quality writing, it’s
    uncommon to see a nice weblog like this one today..

  182. discount cheap designer purses and handbags from china says:

    Ahaa, its nice dialogue on the toipic of this paragraph here
    at this website, I have read all that, sso at this time mme also commenting at this place.

    Also visit my webpage; [discount cheap designer purses and handbags from china](http://www.malaysiaukulelegroup.com/2012/02/mug-digital-durian.html “discount cheap designer purses and handbags from china”)

  183. facebook ads says:

    It’s very easy to find out any topic on web as compared to
    books, as I found this piece of writing at this web site.

    [facebook ads](https://boostlikes.com/ “facebook ads”) Not any
    Security password in addition to Not having Pursuing.

    [buy facebook likes](https://boostlikes.com/ “buy facebook likes”) for cheap as
    well as rapidly, Get Real Admirers for ones page.
    [get more likes on facebook](https://boostlikes.com/ “get more likes on facebook”) five thousand Level of quality supporters For Only $29.
    nine Preserve.

  184. unlock mobile phones says:

    It’s actually a cool and helpful piece of info.
    I’m happy that you simply shared this helpful info with us.
    Please stay us informed like this. Thank you for sharing.

  185. flight simulator says:

    Hi i am kavin, its my first time to commenting anywhere, when i read this paragraph i thought i could also create comment due to this sensible paragraph.

  186. Aaron says:

    Medical equipment Orange County is a way out to any critical physiological imperfection.
    If you have nnot had glaucoma screewning or are due for
    a follow up test, contact the eye professionals at Beach Eye
    Medical Group at (714) 965-9696 to schedule your appointment.
    You can visit their website wijth an intention to purchase quality medical equipment oof your
    choice.

  187. film indonesia air terjun pengantin says:

    fantastic issues altogether, ƴou jսst won a emblem new reader.
    Ԝhat would yoou recommend аbout ʏօur pսt uρ that you simply made some days ago?
    Any surе?

Leave a Reply

Line and paragraph breaks automatic.
XHTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>