[Xitami] PHP4 Installation Problems
Paul N Shortis
xitami@lists.xitami.org
Thu, 30 Aug 2001 11:24:59 +1000
Brad,
No, a path entry for php isn't necessary (but it might be worth trying at this
point !), I even went to the extent of moving php4ts.dll from the Xitami
directory to the wnint\system32 directory & deleting php.exe & php4ts.dll from
the C:\php directory & all still functions perfectly.
Correction - I found out what is happening, - instead of just accepting that my
installation was working I had a poke around to see if I could reproduce the
'blank page problem' .... it happens when php.exe can't locate php4ts.dll, if
you do a 'view source' on the blank page you will see that php has produced the
headers then given up when unable to load it's main dll.
It just so happened that when I moved php.exe to C:\Xitami I also moved
php4ts.dll which allowed it to be found. Now I've moved php.exe to c:\php &
altered the filter to point to c:\php\php.exe and all works fine when php4ts.dll
is placed in winnt\system32.
My suggestion - place php4ts.dll in the winnt\system32 directory, it will always
get found there.
Best of luck, Paul
"MATA Tech" <mata@matatech.tzo.com> on 30/08/2001 10:24:20 AM
Please respond to xitami@lists.xitami.org
To: xitami@lists.xitami.org
cc: (bcc: Paul N Shortis/Roads/QMR/Au)
Subject: Re: [Xitami] PHP4 Installation Problems
Paul:
As per your instructions below, I have repeatedly tried to get Xitami
and PHP to coordinate efforts, but I am still getting blank pages!
Wah!
Just by chance, does autoexe.bat need to have a line added to it
so that Windows knows where PHP is located? That is the only
thing I haven't done yet.
Sincerely,
Brad Smith
On 30 Aug 2001, at 9:55, Paul N Shortis wrote:
> There's no need at all to alter the extension settings in the php.ini
> file unless you atually move the directory the extenstions are placed
> in. php parses the php.ini file at startup and looks there expicilty
> to load extensions. There's also no need to place the extension
> directory in the path (although it shouldn't do any harm).
>
> With php.exe in the Xitami directory (eg if Xitami is installed in
> C:\Xitami this is where php.exe should be placed - NOT in any
> subdirectory such as C:\Xitami\cgi-bin etc) the filter should simply
> be set to
>
> .php php.exe
>
> without any paths.
>
> I was assuming from your original post that you weren't getting error
> messages... just blank pages, is this correct ???
--
Xitami Users Mailing List -- For Xitami support
To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
************************************************************
Opinions contained in this e-mail do not necessarily reflect
the opinions of the Queensland Department of Main Roads,
Queensland Transport or National Transport Secretariat, or
endorsed organisations utilising the same infrastructure.
If you have received this electronic mail message in error,
please immediately notify the sender and delete the message
from your computer.
************************************************************