Installing Joomla on Windows - IIS - Joomla! Forum - community, help and support
installing joomla on windows (2000/xp/2003) - iis
note; taken http://forum.mamboserver.com/showthread.php?t=4570, phill hardstaff
a first attempt @ definitive guide installing joomla on windows, comments appreciated. there real mix of info installing on windows out there, nothing goes start finish (well know of anyway) once right ideas on post ? notice there no separate forum here windows users, might place start ?
phill
########################################
installing joomla server on windows 2000, xp , windows server 2003
this has been tested on windows 2000 , xp, should work fine on windows 2003 server. assuming install directory , not root of site, install root follow same instructions , substitute web server root directory, c:\inetpub\wwwwroot , assuming iis root is. these instructions assuming install c:\inetpub\wwwwroot\joomla.
install iis
make sure have iis running, settings control panel – add or remove software - add or remove windows components - internet information services (this called different under windows 2003 server ?) once installed http://localhost bring web page saying web service running or similar, not go further if not case.
install php
once have web server running , can browse http://localhost it’s time install php. download php http://www.php.net best way iis download php x.x.x installer, install php , configure iis @ same time.
test php
make sure php installation works, copy following code text file , save c:\inetpub\wwwroot\test.php
open web browser , open http://localhost/test.php , should nice page info php version.
find php.ini, in windows directory, ie c:\wnnnt or c:\windows , change line says
error_reporting = e_all; display errors, warnings , notices
and change to
error_reporting = e_all & ~e_notice
so php sow errors, except notices, want change errors after happy joomla site working ok.
error_reporting = e_error
install mysql
download , install mysql http://www.mysql.com
once installed run c:\mysql\bin\winmysqladmin.exe, install mysql service, cannot admin program can see what’s going on.
a default install of mysql has blank password database user root, should changed asap.
mysqladmin –uroot password new_password
create joomla db using c:\mysql\bin\mysqladmin.exe (this optional, web based installer it’s nice know how make table)
mysqladmin -uroot -ppassword create joomla_database_name
so, if user name root , password tst321 be
mysqladmin -uroot –ptst321 create joomla_database_name
set joomla
unzip joomla files directory used, in our case
c:\inetpub\wwwroot\joomla (which http://localhost/joomla ) when have done should this
volume in drive c s3a1293d005
volume serial number e44e-b32b
directory of c:\inetpub\wwwroot\joomla
30/03/2004 09:14 .
30/03/2004 09:14 ..
30/03/2004 09:13 administrator
30/03/2004 09:13 classes
30/03/2004 09:13 components
06/02/2004 01:35 3,069 configuration.php-dist
30/03/2004 09:14 0 dir.txt
30/03/2004 09:13 documentation
30/03/2004 09:13 editor
19/09/2003 11:08 1,433 globals.php
22/12/2003 09:37 pm 687 htaccess.txt
30/03/2004 09:13 images
30/03/2004 09:13 includes
27/02/2004 03:53 5,208 index.php
24/12/2003 10:20 pm 2,794 index2.php
30/03/2004 09:13 installation
30/03/2004 09:13 language
15/12/2003 01:05 pm 1,095 mainbody.php
30/03/2004 09:13 joomlats
30/03/2004 09:13 media
30/03/2004 09:13 modules
24/12/2003 09:39 pm 3,250 offline.php
07/02/2004 10:58 pm 6,925 pathway.php
21/01/2004 10:32 304 robots.txt
30/03/2004 09:13 sql
30/03/2004 09:13 templates
30/03/2004 09:13 uploadfiles
27/02/2004 09:35 pm 704 version.php
11 file(s) 25,469 bytes
rename configuration.php.dist configuration.php
ok, change permissions, important before proceed further.
right click each of following directories, select security , make sure “internet guest account” (usually iusr_computer_name) has following permissions.
modify
read , execute
list folder contents
read
write
i.e. except full control. these directories , files.
images
media
uploadfiles
components
language
modules
templates
administrator/backups
administrator/components
configuration.php
ok, lets see got, rather manually editing configuration found using web based installer works best, create tables in mysql rather using sql script ? why have set configuration.php writable, not forget change read-only later !!!
open browser , go http://localhost/joomla/installation/install1.php , should see “welcome joomla open source installation” page, if not need go , find out why.
assuming have page, plug in our data database, if running mysql on same machine joomla host localhost. not put name of machine. want check install data , sample data.
click next.
ok, if next page that’s good, means entered database correct, if have error need check entered on previous screen, ok, not out of woods yet.
on next screen enter name site.
click next.
on next screen have enter paths, not change defaults unless wrong in 99% of cases correct. might want change url localhost fqdn of system , password that’s it.
click next
ok, if made install4.php that’s good, if take @ configuration.php text editor see config changes in it. not open wordpad, screw up, also, funny in notepad because unix type text file, won’t have touch file anyway.
delete installation directory ( c:\inetpub\wwwroot\installation )
right click configuration.php, select properties, , change read-only. means on first tick read-only.
click run.(back in browser @ install4.php)
you should see standard peeklime joomla home page. make sure can run admin program, click on administrator, if error means have not set index.php default page, try
http://localhost/joomla/administrator/index.php rather than
http://localhost/joomla/administrator/index.php
to make system recognize index.php default page, this.
start - settings – control panel – administrative tools – internet information services
open out default web site
right click default web site
properties
documents tab
add
index.php
apply
close everything
trouble shooting guide
1) cannot admin page, see few errors fly , @ logon screen.
the default php installer not set permission c:\php\sessiondata directory “internet guest account can write etc directory, right click c:\php\sessiondata , select properties, give internet guest account
modify
read , execute
list folder contents
read
write
2) fixed ? send me can add here !!
et voila, that’s it, should have 100% functional joomla site.
addition:
there little problem php assumes installed on unix. therefore, 1 of default settings in php.ini file is:
session.save_path = /tmp
this fine on unix because directory there, not on windows. fix create subdirectory under php directory, i.e. "c:\php\temp" then, change session setting:
session.save_path = "c:\php\temp"
if not correct, joomla not work correctly! probably, 1 have problems logging in admin.
note; taken http://forum.mamboserver.com/showthread.php?t=4570, phill hardstaff
a first attempt @ definitive guide installing joomla on windows, comments appreciated. there real mix of info installing on windows out there, nothing goes start finish (well know of anyway) once right ideas on post ? notice there no separate forum here windows users, might place start ?
phill
########################################
installing joomla server on windows 2000, xp , windows server 2003
this has been tested on windows 2000 , xp, should work fine on windows 2003 server. assuming install directory , not root of site, install root follow same instructions , substitute web server root directory, c:\inetpub\wwwwroot , assuming iis root is. these instructions assuming install c:\inetpub\wwwwroot\joomla.
install iis
make sure have iis running, settings control panel – add or remove software - add or remove windows components - internet information services (this called different under windows 2003 server ?) once installed http://localhost bring web page saying web service running or similar, not go further if not case.
install php
once have web server running , can browse http://localhost it’s time install php. download php http://www.php.net best way iis download php x.x.x installer, install php , configure iis @ same time.
test php
make sure php installation works, copy following code text file , save c:\inetpub\wwwroot\test.php
open web browser , open http://localhost/test.php , should nice page info php version.
find php.ini, in windows directory, ie c:\wnnnt or c:\windows , change line says
error_reporting = e_all; display errors, warnings , notices
and change to
error_reporting = e_all & ~e_notice
so php sow errors, except notices, want change errors after happy joomla site working ok.
error_reporting = e_error
install mysql
download , install mysql http://www.mysql.com
once installed run c:\mysql\bin\winmysqladmin.exe, install mysql service, cannot admin program can see what’s going on.
a default install of mysql has blank password database user root, should changed asap.
mysqladmin –uroot password new_password
create joomla db using c:\mysql\bin\mysqladmin.exe (this optional, web based installer it’s nice know how make table)
mysqladmin -uroot -ppassword create joomla_database_name
so, if user name root , password tst321 be
mysqladmin -uroot –ptst321 create joomla_database_name
set joomla
unzip joomla files directory used, in our case
c:\inetpub\wwwroot\joomla (which http://localhost/joomla ) when have done should this
volume in drive c s3a1293d005
volume serial number e44e-b32b
directory of c:\inetpub\wwwroot\joomla
30/03/2004 09:14
30/03/2004 09:14
30/03/2004 09:13
30/03/2004 09:13
30/03/2004 09:13
06/02/2004 01:35 3,069 configuration.php-dist
30/03/2004 09:14 0 dir.txt
30/03/2004 09:13
30/03/2004 09:13
19/09/2003 11:08 1,433 globals.php
22/12/2003 09:37 pm 687 htaccess.txt
30/03/2004 09:13
30/03/2004 09:13
27/02/2004 03:53 5,208 index.php
24/12/2003 10:20 pm 2,794 index2.php
30/03/2004 09:13
30/03/2004 09:13
15/12/2003 01:05 pm 1,095 mainbody.php
30/03/2004 09:13
30/03/2004 09:13
30/03/2004 09:13
24/12/2003 09:39 pm 3,250 offline.php
07/02/2004 10:58 pm 6,925 pathway.php
21/01/2004 10:32 304 robots.txt
30/03/2004 09:13
30/03/2004 09:13
30/03/2004 09:13
27/02/2004 09:35 pm 704 version.php
11 file(s) 25,469 bytes
rename configuration.php.dist configuration.php
ok, change permissions, important before proceed further.
right click each of following directories, select security , make sure “internet guest account” (usually iusr_computer_name) has following permissions.
modify
read , execute
list folder contents
read
write
i.e. except full control. these directories , files.
images
media
uploadfiles
components
language
modules
templates
administrator/backups
administrator/components
configuration.php
ok, lets see got, rather manually editing configuration found using web based installer works best, create tables in mysql rather using sql script ? why have set configuration.php writable, not forget change read-only later !!!
open browser , go http://localhost/joomla/installation/install1.php , should see “welcome joomla open source installation” page, if not need go , find out why.
assuming have page, plug in our data database, if running mysql on same machine joomla host localhost. not put name of machine. want check install data , sample data.
click next.
ok, if next page that’s good, means entered database correct, if have error need check entered on previous screen, ok, not out of woods yet.
on next screen enter name site.
click next.
on next screen have enter paths, not change defaults unless wrong in 99% of cases correct. might want change url localhost fqdn of system , password that’s it.
click next
ok, if made install4.php that’s good, if take @ configuration.php text editor see config changes in it. not open wordpad, screw up, also, funny in notepad because unix type text file, won’t have touch file anyway.
delete installation directory ( c:\inetpub\wwwroot\installation )
right click configuration.php, select properties, , change read-only. means on first tick read-only.
click run.(back in browser @ install4.php)
you should see standard peeklime joomla home page. make sure can run admin program, click on administrator, if error means have not set index.php default page, try
http://localhost/joomla/administrator/index.php rather than
http://localhost/joomla/administrator/index.php
to make system recognize index.php default page, this.
start - settings – control panel – administrative tools – internet information services
open out default web site
right click default web site
properties
documents tab
add
index.php
apply
close everything
trouble shooting guide
1) cannot admin page, see few errors fly , @ logon screen.
the default php installer not set permission c:\php\sessiondata directory “internet guest account can write etc directory, right click c:\php\sessiondata , select properties, give internet guest account
modify
read , execute
list folder contents
read
write
2) fixed ? send me can add here !!
et voila, that’s it, should have 100% functional joomla site.
addition:
there little problem php assumes installed on unix. therefore, 1 of default settings in php.ini file is:
session.save_path = /tmp
this fine on unix because directory there, not on windows. fix create subdirectory under php directory, i.e. "c:\php\temp" then, change session setting:
session.save_path = "c:\php\temp"
if not correct, joomla not work correctly! probably, 1 have problems logging in admin.
credit justin following information regards installing php , mysql on windows:
firstly, might add post, reference following useful resource installing php , mysql on windows.
http://www.design-ireland.net/index.php ... ing-11.php
here discuss in detail how connect php , iis , configuration changes in php.ini file needed make php , iis work together. also, there few changes required php talk mysql correctly, linking in dll's , setting path variables correctly. helped me resolve particular problem in joomla installation install2.php returned nothing (just blank page), seemingly result of not being able create joomla database. change extensions used in php.ini detailed in other joomla forum posts, viz. http://forum.joomla.org/index.php/topic,10490.0.html
Comments
Post a Comment