Intranet Forum

Soldato
Joined
18 Oct 2002
Posts
8,920
wanting to set up a nice free forum on the intranet at work. ive seen these phpbb ones and they look a doddle to set up, however its not the same on the intranet as on the internet. will a phpbb one work on the intranet.

im running a windows 2003 server, so it runs asp stuff fine but nothing else. do i need some kind of service like apache running on the server in order for this to work.

im a total noob to this kind of stuff so any help is appreciated.
 
You can keep on running IIS, but you'll need the following:

http://www.php.net/downloads.php
http://dev.mysql.com/downloads/mysql/5.0.html#downloads

I think both of those are pretty much auto-setup on IIS

You'll also then need phpMyAdmin to make managing your databases easier:

http://www.phpmyadmin.net/home_page/downloads.php

------------------------------------------------------------

I've heard a lot of good things about LightTPD (an extremely light HTTP server) so I thought I'd set one up.

I've got it running very well with PHP and MySQL.

During my setup I found a very nice page:

http://joshdick.net/index.php?section=article&name=lighttpd

Go through that (you might want to skip part two and do part 3 if you're new to PHP/LightTPD/MySQL).

------------------------------------------------------------

Or, of course, you could just cheat and use XAMPP - http://www.apachefriends.org/en/xampp.html

It requires about about no configuration & is extremely easy to setup. It'll get you running with Apache, PHP, MySQL, Perl etc etc in a few minutes.
 
Last edited:
cheers for that craig.

i already have mysql stuff working so im guessing o dont need to install that again.

if i go down the xampp route do i need to add the services in the iis manager?

i take it i just install xampp to the server and im pretty much set?
 
Red and White said:
cheers for that craig.

i already have mysql stuff working so im guessing o dont need to install that again.

if i go down the xampp route do i need to add the services in the iis manager?

i take it i just install xampp to the server and im pretty much set?

Pretty much, yes.

XAMPP will also do all the services for you (it'll ask you if it's allowed to setup the services, say yes and it'll do it :))
 
ok ive tried installing a lot of the things suggested and have had bother :(

basically i think that port 80 is used by iis and thats the port apache wants to run on, so what do i do for that?

ive tried xampp and wamp and ive had no luck.

when i install php it makes me add it manually because it says it doesnt have access to a certain file. ive tried adding it but dunno if ive done it right or not. basically it doesnt work.

help
 
you have to make a choice. either run apache or iis. if you need to keep iis, just configure that to use php. i think if you download the php installer from php.net it'll do it for you. :)
 
Just to say I recently started a project like this myself and found Seditio to be much nicer than phpbb for use as an intranet as it gives you the ability to create a front page and sub pages as well as forums and the rest.

I have used phpBB extensively and would recomend Seditio instead

This is what I came up with in about a day.

intranetek9.png


Had to blank out the company name for obvious reasons.
 
Red and White said:
i think this is beyond me.

when i install php it ask me if i want to install a webserver? do i?

theres a big list i dont know which one :(

it doesn't want to install a webserver. it wants to setup the one you already have installed to use php. and as you have iis installed, i would have thought the choice would be obvious... :confused:
 
marc2003 said:
it doesn't want to install a webserver. it wants to setup the one you already have installed to use php. and as you have iis installed, i would have thought the choice would be obvious... :confused:

installed it again and selected iis cgi. appears to install fine but i still cant run php on the intranet
 
marc2003 said:
well i assume the php5 files got installed into program files? check this to see how to configure iis manually. :)

http://uk3.php.net/manual/it/install.windows.iis.php

cheers for the help but ive got nowhere. ive read loads and ive configured the iis like ive been instructed, tried it with both the cgi and insapi files and still nothing.

to be honest i think this is over my head, everyone keeps telling me its easy and im just baffled.
 
thanks for all your help guys. i really appreciate the help. im a bit rubbish at all this stuff which is probably quite obvious. i havent managed to get it to work but am determined to learn.

ive actually managed to get a asp forum running. it doesnt look as fancy as some of the ones recommneded but its pretty good. it can be found here if anyone is interested http://forum.snitz.com/specs.asp

i really wanted to use that Sedito that The_KiD recommneded but as i cant get php to work that'll have to wait for another day

:)
 
iis is evil. i can't get php to work in it either.... :eek:

oh and that was bad advice earlier about downloading the php installer. i've just discovered it's crap. you really want the zip package instead. :)

if i sort iis out, i'll post back. :)
 
marc2003 said:
iis is evil. i can't get php to work in it either.... :eek:

oh and that was bad advice earlier about downloading the php installer. i've just discovered it's crap. you really want the zip package instead. :)

if i sort iis out, i'll post back. :)

cheers mate.

its made me happy to have a forum to play with for the last hour. :p i recommend it to anyone who is as n00bish as me. i must have done something eight though because i had to install mysql to get this to work and it it working :D
 
my problem wasn't even php related. it was something wrong with my 2003 sp2 install. i installed an sp1 copy in a virtual machine and it worked straight away.... :p

first remove that php5 installed package i pointed to earlier....

download and unzip this to c:\php

http://uk2.php.net/get/php-5.2.2-Win32.zip/from/uk.php.net/mirror

inside there is a file named

php.ini-recommended

rename this to php.ini - now open it in notepad and go down to the extensions section and uncomment (remove the ; ) from the extensions you want to use. i think you can get by with just these for mysql? i'm no php expert but it works for me....

;extension=php_mbstring.dll
;extension=php_mcrypt.dll
;extension=php_mysql.dll

becomes

extension=php_mbstring.dll
extension=php_mcrypt.dll
extension=php_mysql.dll

save the file when done.

now right click my computer, goto advanced, environment variables, under "system variables", click new, type in

PHPRC (must be caps)

and set the value to

c:\php

now edit the path variable. add

c:\php

to the end of what's already there.

now open up internet services manager. goto "web services extensions". right click anywhere in the right hand pane and select "add a new....".

the name will be

php

and the path will be

c:\php\php5isapi.dll

tick the box to allow it.

now right click on your default website and goto properties and then the "home directory" tab. change the "execute permissions" to "scripts and executables". click on configuration and click on add. again browse to the same isapi.dll thingy and set the extension to php. click ok. now open a command prompt and type in

net stop iisadmin

select y when prompted.

now type

net start w3svc

done. :p

edit: you'll want to add index.php as a default page (documents tab on the website properties.)
 
Last edited:
Back
Top Bottom