If you want a very simple instalation of an apache server including php an mysql , you can download foxserv, I heard it's very good, or phpTriad (Don't remember the new name) ... or maibe NuSpehere ... I used to have NuSphere .. but it comes with old versions of php and stuff ... Anyway yesterday I found out that if you have a win XP and want to install separately all the services it's not such a big deal, the install files are HUGE with a lot of information there .. but for a simple user, a biginner you need to read almoust 15 lines and you have your apache + php + mysql + phpmyadmin instaled on your machine ... runing as service in background.
If I make any mistakem, somebody ... a guru in installing π pls corect me
First download
-> Apache 1.3.23 (MSI setup is 2.0 Mb, PDF documentation is around 4Mb)
-> Download php 4.3.4, not the install , try to find this zip archive php-4.3.4-Win32.zip - it's 6.66 Mb
-> Download MySQL - I found this archive mysql-4.0.17-win.zip - 22.80Mb -
-> Download phpMyAdmin - I found this archive phpMyAdmin-2.5.6-rc1.zip - it's ~ 2.0 Mb
Now install apache ... it's a simple setup π then copy the files from php archive in the directory c:\php , then from c:\php\ and c:\php\sapi\ copy 2 files : php4ts.dll ; php4apache.dll in the directory where apache.exe is , usualy in c:\program files\apache group\apache\ .
Now edit httpd.conf from conf directory of apache, paste at the end of the file those 2 lines :
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php
-> copy the php.ini file to c:\windows
-> create an test.php and copy those lines :
<?
phpinfo();
?>
copy the file in htdocs directory of apache server
restart the apache server and run your IE browser, write the adress http://localhost/test.php
if you don't get any error everything is ok. π apache + php are install corectly π
now you need to install mysql, run the setup from that archive, when you are prompted to insert an username and password .. for beginning you can use root and pass , In my case, to have all the sites working, I needed to change the password agina using other way, so press Start menu->Run -> command
then
c:\mysql\bin\mysqladmin -u root password pass
and now you have mysql working too π .. you need to restart.
now you have to copy phpMyAdmin in the directory htdocs, there is the place where all your sites will be, every site in it's own directory . You need to edit the file config.inc.php from phpMyadmin , find the line
$cfg['PmaAbsoluteUri'] = '';
There you must insert the path to phpmyadmin, the adress you use from your browser not from explorer ... so I wrote this :
$cfg['PmaAbsoluteUri'] = 'http://localhost/phpMyAdmin/';
Hope this helps you ... and please if I did something wrong corect me ...
P.S. I had WinXP -- i don't know how the instalation works on other OS
see ya