php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23620 undefined function: is_executable()
Submitted: 2003-05-13 22:52 UTC Modified: 2003-05-14 03:09 UTC
From: greg dot leggett at tteggel dot com Assigned:
Status: Not a bug Package: Filesystem function related
PHP Version: 4.3.1 OS: Windows XP/Apache 1.3.27
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: greg dot leggett at tteggel dot com
New email:
PHP Version: OS:

 

 [2003-05-13 22:52 UTC] greg dot leggett at tteggel dot com
I am running through some basic practice scripts and encounter what appears to be a bug with the "is_executable()" function.  Here is the striped down script:

<html>
<head>
<title>Test</title>
</head>
<body>
<?php
	print "test.txt is ".(is_executable( "test.txt" )?"":"not ")."executable<br>";
?>
</body>
</html>

Which produces the following result:

Fatal error: Call to undefined function: is_executable() in c:\program files\apache group\apache\htdocs\10_9.php on line 7


The file is present and does respond to "is_readable()", "is_writable()", etc.

This is an out-of-the-can install of PHP 4.3.1 for Win32, with no additional modules (aside from any being used for Apache). Please let me know if I am omitting any relevant reporting information.

Thank you!!!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-14 03:09 UTC] magnus@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.

From the manual: Note: This function is not implemented on 
Windows platforms. 
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 12:01:36 2025 UTC