[SPTUsers] Runing SPT1.1.1 on Windows 98SE

Arbit 1202 arbit1202 at yahoo.com
Tue Mar 11 22:56:12 CST 2003


Just for info, I've got SPT 1.1.1 running on Windows
98 (second edition), with very little work. The basic
issue appears to be that SPT installation relies
heavily upon symbolic links, which do not exist in
Windows. To get around this, Ive just copied the
relevant directories twice, and made some changes in
the php.ini file. Not very elegant, but it works fine!

For anyone else who may be interested:
1. Ensure that Apache, PHP and mysql are running on
the machine. SPT wont work with any of the other
servers I tried (PWS, abyss, xitami). (Aside to SPT
team - this appears to be basically because of apache
specific variables like SCRIPT_FILENAME. Could they be
replaced by variables like PHP_SELF, which are common
across servers?)

2. Make and run a batch file by copying the following
commands. First replace [SPT PATH] in the first line
with the path to your SPT installation. Eg, the first
line should look like SPT=c:\inetpub\spt. No blanks
anywhere, no trailing slash, no apostrophes, and keep
spt in a directory which has no spaces in the name.

REM Start of batch file
SET SPT=[SPT PATH]
md %SPT%\images
md %SPT%\imagestorage
md %SPT%\imagestorage\previews
md %SPT%\imagestorage\thumbnails
md %SPT%\tempstorage
rename
%SPT%\SPTUI--Default\include\SPT--Stylesheet.css.DIST
SPT--Stylesheet.css
xcopy %SPT%\SPTUI--CleanOrange\images\*.*
%SPT%\metadatatool\SPTUI--CleanOrange\images\ /E
xcopy %SPT%\SPTUI--CleanOrange\include\*.css
%SPT%\metadatatool\SPTUI--CleanOrange\include\ /E
xcopy %SPT%\SPTUI--Default\images\*.*
%SPT%\metadatatool\SPTUI--Default\images\ /E
xcopy %SPT%\SPTUI--Default\include\*.css
%SPT%\metadatatool\SPTUI--Default\include\ /E
REM End of batch file

3. Open the php.ini file (normally in c:\windows), and
look for the words Include_path. There are two - one
for Unix and one for Windows. Under the Windows one,
add the following to the  value of include_path
"[SPT PATH];[SPT PATH]\include;[SPT
PATH]\SPTUI--Default;[SPT
PATH]\SPTUI--Default\Include;[SPT
PATH]\SPTUI--Default\Metadatatool;[SPT
PATH]\SPTUI--CleanOrange;[SPT
PATH]\SPTUI--CleanOrange\Include;[SPT
PATH]\SPTUI--CleanOrange\Metadatatool;[SPT
PATH]\SPTUI--Standards;[SPT
PATH]\SPTUI--Standards\Include;[SPT
PATH]\SPTUI--Standards\Metadatatool"

after replacing each occurence of [SPT PATH] with the
path to the spt directory (eg c:\inetpub\spt).

Your include_path statement will now look something
like this:
include_path=".;c:\inetpub\spt;c:\inetpub\spt\include;c:\inetpub\spt\SPTUI--Default;c:\inetpub\spt\SPTUI--Default\Include;c:\inetpub\spt\SPTUI--Default\Metadatatool;c:\inetpub\spt\SPTUI--CleanOrange;c:\inetpub\spt\SPTUI--CleanOrange\Include;c:\inetpub\spt\SPTUI--CleanOrange\Metadatatool;c:\inetpub\spt\SPTUI--Standards;c:\inetpub\spt\SPTUI--Standards\Include;c:\inetpub\spt\SPTUI--Standards\Metadatatool"

4. I am assuming that the spt directory has been
aliased to  http://localhost/spt. In which case, point
your browser to http://localhost/spt/spt--install.php.

Thats it.

The home page for spt will be
http://localhost/spt/spt--home.php, and not
http://localhost/spt/index.php. Of course, you can
always rename it if you want.

Hope this helps.

P Chadha

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com


More information about the SPTUsers mailing list