Re: Installing PHP on SBS 2003
From: Bob Genestet (bob_genestet_at_computernetorkservice.com)
Date: 03/22/04
- Next message: Dave Taylor: "Re: Error in "New Document" link"
- Previous message: Matt Trudewind[MSFT]: "RE: Additional Windows Servers in SBS 2003 Domain"
- In reply to: Bob Genestet: "Re: Installing PHP on SBS 2003"
- Next in thread: Chris: "Re: Installing PHP on SBS 2003"
- Reply: Chris: "Re: Installing PHP on SBS 2003"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 22 Mar 2004 13:16:02 -0600
Chris,
Ignore the references to "phpbb". This posting is a snippet from
instructions I had written some time ago for installing phpbb, a php based
bulletin board service. The php installation should be fairly universal. I
have heard from others who ran the installer with no problems.
Thanks again,
Bob
"Bob Genestet" <bob_genestet@computernetorkservice.com> wrote in message
news:uKyqNAEEEHA.1456@TK2MSFTNGP09.phx.gbl...
> Chris,
>
> I have had no problems running PHP on SBS2003. I hope this helps.
>
>
>
> Thanks to those enthusiasts that I borrowed from to complete the
> installation.
>
>
>
> This installation was on Windows Small Business Server 2003 with MS SQL.
>
>
>
>
>
> 1.. For phpbb to run, php and its web extensions must first be installed
> and configured. Go to www.php.net and download the latest Windows binaries
> or the complete installer package, php-4.3.4-installer.exe. I used the
> Windows binaries at http://downloads.php.net/ilia/php-4.3.5RC1-Win32.zip
> which is the latest binaries Release Candidate for manual install. I would
> be curious to know if the installer package works on SBS2003. If so, you
may
> be able to forego the next several steps required for a manual install. I
> did the binaries manual install so I would know exactly what changes I
made
> to my NOS.
> 2.. I extracted php to the root directory of my chosen drive. By
default,
> it created a folder named php-4.3.5RC1-Win32. I renamed this folder to php
> for simplicity, so now I have php extracted to <drive>:\php where
"<drive>"
> equals C or D, ect.
> 3.. CREATE THE FOLLOWING FOLDERS in the new directory <Drive>:\php
> CREATE "log"
> CREATE "sessions"
> CREATE "upload"
> 4.. NOW FIND "php.ini-recommended" in the new directory <Drive>:\php
> and COPY it to you system folder, C:\WINDOWS OR C:\WINNT and then RENAME
> IT TO "php.ini" OPEN IT UP....scroll down or use Find to make the
following
> edits:
> 1.. error_reporting = E_ALL
> CHANGE TO......
> error_reporting = E_ALL & ~E_NOTICE
> 2.. ;error_log = filename
> UNCOMMENT and POINT THE PATH TO YOUR IN PHP DIRECTORY
> error_log ="<drive>:\php\log\error.txt"
> 3.. ; Windows: "\path1;\path2"
> ;include_path =".;<drive>:\php\includes"
> CHANGE TO....
> include_path =".;<drive>:\php\pear"
> 4.. ; Directory in which the loadable extensions (modules) reside.
> extension_dir = "./"
> CHANGE TO....
> extension_dir ="<drive>:/php/extensions/"
> 5.. ; Temporary directory for HTTP uploaded files (will use system
> default if not
> ; specified).
> ;upload_tmp_dir =
> CHANGE TO....
> upload_tmp_dir ="<drive>:\php\upload"
> 6.. If you want to use the php mail(); function....
> [mail function]
> ; For Win32 only.
> SMTP = localhost
> ; For Win32 only.
> ;sendmail_from = me@localhost.com
> CHANGE (SMTP = localhost) only if you are not hosting your own mail
> server
> CHANGE TO.... smtp server name
> SMTP ="smtp.ya-right.net"
> CHANGE (sendmail_from = me@localhost.com)
> CHANGE TO YOUR EMAIL ADDRESS
> sendmail_from ="fataqui@ya-right.net"
> SAVE php.ini AND CLOSE.
> 5.. GO TO >> my computer >> RIGHT CLICK
> SCROLL >> properties >> LEFT CLICK
> GO TO >> advance tab >> LEFT CLICK
> GO TO >> environment variables >> LEFT CLICK
> HIGH LIGHT LOWER WINDOW "Path" >> LEFT CLICK "Edit"
> at the end of the "Variables Value" >> ENTER
> ;C:\php\dlls
> The above path should point to the PHP "dlls" folder, NO trailing ( \ )
> CLICK OK 3 TIMES
> 6.. OPEN IIS Manager and go to Web Service Extensions
> Add new web service extension
> EXTENSION NAME, ENTER "php4" << without the quotes ""
> CHECK "set extension as allowed"
> CLICK "ADD"
> Browse to <drive>:\php
> CLICK ON "php4isapi.dll"
> When you click on it the full path will load into the...
> "Path To File" text box....
> C:\php\php4isapi.dll
> CLICK OK
> CLICK OK AGAIN
>
>
>
> 7.. To install PEAR, just click on "go-pear.bat"
> in your new PHP directory "<drive>:\php" and follow the directions.
> Bob Genestet
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> "David Copeland [MSFT]" <davidcop@online.microsoft.com> wrote in message
> news:OIn2ziDEEHA.2652@TK2MSFTNGP10.phx.gbl...
> > Chris,
> >
> > Check to see if the PHP file extensions are allowed by IIS.. by default
> the
> > would be prohibited. To check go under Start/Administrative
> Tools/Internet
> > Information Services (IIS) Manager, then click on Web Service
Extensions..
> > You may then need to click on Add a new Web Service Extension to add the
> > needed file extensions to be allowed.
> >
> > --
> >
> > Hope that helps,
> > David Copeland
> > Microsoft Small Business Server Support
> >
> > This posting is provided "AS IS" with no warranties, and confers no
> rights.
> >
> > Newsgroups:
> > SBS v4.x : microsoft.public.backoffice.smallbiz
> > SBS 2000: microsoft.public.backoffice.smallbiz2000
> > SBS 2003: microsoft.public.windows.server.sbs
> >
> >
> > "Chris" <clynn@reltec.com> wrote in message
> > news:1164c01c41035$756bb2c0$a501280a@phx.gbl...
> > >I upgraded to SBS2003 from W2K Server. On my old server I
> > > had Web Gallery software that was running on PHP. It will
> > > not work on my SBS 2k3 server. Can anyone help to get PHP
> > > working on my server? (If it is possible)
> >
> >
>
>
- Next message: Dave Taylor: "Re: Error in "New Document" link"
- Previous message: Matt Trudewind[MSFT]: "RE: Additional Windows Servers in SBS 2003 Domain"
- In reply to: Bob Genestet: "Re: Installing PHP on SBS 2003"
- Next in thread: Chris: "Re: Installing PHP on SBS 2003"
- Reply: Chris: "Re: Installing PHP on SBS 2003"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|