Ok guys,
To correcte all the typos, this is what I did.
1. Removed PHP( directory ) completely.
2. Start Apache - went fine( without any reference of PHP )
3. Installed PHP in a simple directory( not Program Files et al. ), so now
its e:\php-4.2.3-Win32\...
4. Copied php4ts.dll to \WINNT\system32 directory
5. Added the following lines to httpd.conf( at the end of the file, I hope
that's ok )...

LoadModule php4_module e:/php-4.2.3-Win32/sapi/php4apache2.dll
[ tried with LoadModule php4_module
e:\php-4.2.3-Win32\sapi\php4apache2.dll ]
AddModule mod_php4.c
#Action application/x-httpd-php e:\php-4.2.3-Win32\sapi\php.exe
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps

Guess what ? No luck, it doesn't work. It failes while trying to bring up
Apache.

I read one suggesstion to copy php4ts LIB file to Apache's lib directory.
That didn't work either.
I went line by lile in the notes on install.txt that comes along with the
PHP zip-file, what am I missing ?
Basically its not liking the "loadmodule" !
Appreciate your help. Thanks.

----- Original Message -----
From: "Erwin Bovendeur" <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
To: "kramer" <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
Sent: Saturday, October 05, 2002 1:39 AM
Subject: Re: Stuck at PHP4 installation( with Apache2 )

> Hi,
>
> > Thanks Erwin. Unfortunately it doesn't work, even after I copied
> php4ts.dll.
> >
> > How would I specify the drive:\Program Files, which has a space
> in-between.
> > Should I include single or double quote ?
> >
> > I tried all these combinations...
> >
> > LoadModule php4_module F:/Progra~1/php-4.2.3-Win32/php4ts.dll
> > LoadModule php4_module 'F:/Program Files/php-4.2.3-Win32/php4ts.dll'
> > LoadModule php4_module "F:/Program Files/php-4.2.3-Win32/php4ts.dll"
> > LoadModule php4_module
"F:/Progra~1/php-4.2.3-Win32/sapi/php4apache2.dll"
> >
> > LoadModule php4_module D:/WINNT/system32/php4ts.dll
> > LoadModule php4_module 'D:/WINNT/system32/php4ts.dll'
> > LoadModule php4_module 'D:/WINNT/system32/php4ts.dll'
>
> Hmz...hold a second...
> You tried to include php4ts.dll? That's not correct. php4ts.dll must be in
> the path, so php4apache2.dll can find it. After that, use the line
>
> LoadModule php4_module f:/progra~1/php-4.2.3-Win32/sapi/php4apache2.dll
>
> to include php support. That should work (you didn't try this one ;-))
>
> HTH
> Erwin
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to