Help... Apache 1.3.26 with php 4.2.2 .php pages appear as text pages..

From: Date: Thu, 22 Aug 2002 20:15:46 +0000
Subject: Help... Apache 1.3.26 with php 4.2.2 .php pages appear as text pages..
Groups: php.install 
Request: Send a blank email to php-install+get-8196@lists.php.net to get a copy of this message
Hi All, I'm new to the list and I am having a helluva time trying to figure this out. First off.. I am running Win XP Pro with Apache 1.3.26 and php 4.2.2 . Now.. this is what I have done per the INSTALL php.net webpage 1) Downloaded Apache and got it running. I can access .html pages under localhost. 2) Downloaded PHP and unzipped and installed it into c:\php 3) Moved the php4ts.dll file into the c:\windows\system32 directory 4) Renamed the php.ini-recommended to php.ini 5) Moved the renamed php.ini file into the c:\windows directory 6) Edited the php.ini file to the following: doc_root = "c:\Apache\htdocs" extension_dir = "c:\php\extensions" 7) Stopped Apache 8) Edited the http.conf file to the following: LoadModule php4_module c:/php/sapi/php4apache.dll AddModule mod_php4.c AddType application/x-httpd-php .php Note: These files are in their appropriate locations within the file (Load the module first then Add the module) 9) Restarted Apache 10) Created a PHP (info.php) file in the htdocs directory to read: <?php echo phpinfo(); ?> 11) Loaded a browser to view but it does not work. The page is displaying the code as if it were a .txt file.. meaning the php code I entered appears exactly like that when I load up the page in a browser. Can ANYONE help here? I read and read and read and one thing say this.. while another says that. Very confusing. Thanks all. Regards, Aaron

« previous php.install (#8196) next »