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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 10:01:26 2024 UTC