php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28244 500 server errors due to write permissions
Submitted: 2004-05-01 19:27 UTC Modified: 2004-05-06 14:41 UTC
From: haydur at haydur dot com Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.3.6 OS: Linux Kernel 2.4.24-ow4
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:
43 + 42 = ?
Subscribe to this entry?

 
 [2004-05-01 19:27 UTC] haydur at haydur dot com
Description:
------------
I have added codes to my .htaccess files to treat extensionless files as php, using the following code:

DefaultType application/x-httpd-php

This configuration was working fine with 4.3.4, but since my host has upgraded to 4.3.6, I am constantly getting 500 internal server errors. Apparently the problem also affects files with .php extension, but after a few reloads the files are renderable and continue to be so. Most files without an extension are still not rendered.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-01 19:30 UTC] haydur at haydur dot com
changed summary/title for ease of searchability.
 [2004-05-02 18:13 UTC] haydur at haydur dot com
I just discovered that cPanel shows the following errors for files and directories:

"error: directory is writable by others:"

"error: file is writable by others:"
 [2004-05-06 14:41 UTC] iliaa@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

This is a system configuration problem, not a PHP one. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 01:01:30 2024 UTC