php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3135 The browser shows php3 files as plain text
Submitted: 2000-01-07 10:38 UTC Modified: 2000-05-15 17:41 UTC
From: tar at semafor dot ch Assigned:
Status: Closed Package: Installation problem
PHP Version: 3.0.12 OS: Tru64 4.0F
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: tar at semafor dot ch
New email:
PHP Version: OS:

 

 [2000-01-07 10:38 UTC] tar at semafor dot ch
I have tried to introduce the php module 3.0.12 to our Apache 1.3.9 server. I configured it with MySQL and Oracle8.1.5. It got compiled, linked and installed (I have tried both statical and dynamic) without problems. However after making the required configurations in the httpd.conf file and restarting httpd I only see plain text in my browser when a php3 file is selected.

httpd -l gives the following output:
Compiled-in modules:
  http_core.c
  mod_env.c
  mod_log_config.c
  mod_mime.c
  mod_negotiation.c
  mod_status.c
  mod_include.c
  mod_autoindex.c
  mod_dir.c
  mod_cgi.c
  mod_asis.c
  mod_imap.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_access.c
  mod_auth.c
  mod_so.c
  mod_setenvif.c
  mod_php3.c

Are there any conflicts? (I also use ApacheJServ-1.1b3)
php3.ini is in /usr/local/apache and is the one from the distribution

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-05-15 17:41 UTC] sas at cvs dot php dot net
You need to add the following line to conf/httpd.conf:

 AddType application/x-httpd-php3 .php3

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 15:01:32 2025 UTC