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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
41 - 1 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2023 The PHP Group
All rights reserved.
Last updated: Tue Jan 31 07:05:53 2023 UTC