Alright, It worked in my Linux box( thanks a zillion folks, you're awesome ) but not in Windows 2000.
This is my status in W2k. 1. Apache( 2.0.35 ) is up and running. 2. I added the following lines to httpd.conf LoadModule php4_module "F:/Program Files/php-4.2.1-Win32/sapi/php4apache.dll" - (a) LoadModule php4_module "D:/WINNT/system32/php4apache.dll" - (b) DirectoryIndex index.html index.html.var index.htm index.shtml index.php index.php3 index.php4 ScriptAlias /php/ "F:/Program Files/php-4.2.1-Win32/" AddType application/x-httpd-php .php .php3 .php4 .phtml AddType application/x-httpd-php-source .phps Action application/x-httpd-php "F:/Program Files/php-4.2.1-Win32/php.exe" 3. The problem with (a) or (b). The server comes up ONLY when I comment these lines. i.e. I try both of them ( not at the same time ) but it doesn't work. 4. Question : Do I point to the real location of this dll or the copied one. I copied that dll( along with the other to be safe ) in my WINNT/system32. Is that ok ? what do I miss now ? 5. Also, to associate .php extension, I couldn't find anything as suggested in http://www.umesd.k12.or.us/php/win32install.html#apache. But this is what I did, open windows explorer -> tools -> options -> file types -> < I added a new type and associated the dll to it. Is this required. Thanks. "Shanky" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Thanks Frederic. I did add both of what you've suggessted to httpd.conf > - restarted httpd by apachectl restart, but no luck. Still it just > displays what I've in my test.php instead of displaying them in php-way. > > I'm very much new to Apache and PHP. I hope the position of these tags > in httpd.conf doesn't matter( since I've added them in the last line ). > > Frederic Trudeau wrote: > > >your httpd.conf needs this ; > > > >AddType application/x-httpd-php .php .php4 .php3 .phtml > >AddType application/x-httpd-php-source .phps > > > >... and ... > > > >DirectoryIndex index.html index.htm index.shtml index.php index.php3 > >index.php (and others...) > > > > > >--------------------------------------------------- > >Frederic Trudeau > >Coder, Colocation, Development > >[EMAIL PROTECTED] > >514.529.3000 ext. 246 > >----- Original Message ----- > >From: "kramer" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Sent: Tuesday, July 02, 2002 5:24 PM > >Subject: [PHP-INST] PHP tags are not recogonized. > > > > > >>hello, > >> > >>I've Apache 1.3.20 up and working. My local-host displays this in > >> > >Netscape: > > > >>Running version Apache-AdvancedExtranetServer/1.3.20 (Mandrake > >>Linux/3mdk) PHP/4.2.1 mod_ssl/2.8.4 OpenSSL/0.9.6b > >> > >>I installed PHP 4.2.1 under Quick Install DSO option. It went fine - No > >>complaints from make/make install either. > >> > >>As the INSTALL in the php directory suggested, I copied php.ini-dist to > >>/usr/local/lib/php.ini - I didn't modify anthing in here. > >> > >>As suggessted I added the line AddType application/x-httpd-php .php in > >>my httpd.conf > >> > >>Now, my browser doesn't display any PHP tags. It just displays > >><?phpinfo()?> which I've in test.php. > >> > >>What've I missed ? > >> > >>All help is very much appreciated. Thanks. > >> > >>- shanky. > >> > >> > >>-- > >>PHP Install Mailing List (http://www.php.net/) > >>To unsubscribe, visit: http://www.php.net/unsub.php > >> > >> > >> > > > > > > > > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php