[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-install
Subject:    [PHP-INSTALL] Call to undefined function glob
From:       "Christoph Freundt" <christoph.freundt () googlemail ! com>
Date:       2014-02-02 11:22:57
Message-ID: 00a001cf2009$2075a890$6160f9b0$ () googlemail ! com
[Download RAW message or body]

This is a multipart message in MIME format.


Hello everyone,

 I am getting an error "Call to undefined function glob()".

 Glob functions are not available. 

I am using PHP 5.4. 

Glob is missing in the list of Registered PHP Streams in the output of
phpinfo(). 

Glob is not in the list of disabled functions.  

How can I make the glob function available? 

Do I have to recompile PHP?

Which parameter defines if glob is in the list of Registerd PHP Streams? 

All I found in the last few days about a missing glob function has nothing
to do with my problem. 

My PHP version is not too old. It is not in the list of disabled functions,
but still not available. 

As a workaround I found some suggestions like creating an alternative
version of glob() so that every call to glob() will be replaced with my
function. 

Best regards CFR

 


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" \
CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 \
(filtered medium)"><style><!-- /* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.E-MailFormatvorlage17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link="#0563C1" \
vlink="#954F72"><div class=WordSection1><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span \
style='font-size:12.0pt;font-family:"Times New \
Roman","serif";mso-fareast-language:DE'>Hello everyone,<o:p></o:p></span></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span \
style='font-size:12.0pt;font-family:"Times New \
Roman","serif";mso-fareast-language:DE'>&nbsp;I am getting an error &#8222;Call to \
undefined function glob()&#8220;.<o:p></o:p></span></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span \
style='font-size:12.0pt;font-family:"Times New \
Roman","serif";mso-fareast-language:DE'>&nbsp;Glob functions are not \
available.&nbsp;<o:p></o:p></span></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span \
style='font-size:12.0pt;font-family:"Times New \
Roman","serif";mso-fareast-language:DE'>I am using PHP \
5.4.&nbsp;<o:p></o:p></span></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span \
style='font-size:12.0pt;font-family:"Times New \
Roman","serif";mso-fareast-language:DE'>Glob is missing in the list of Registered PHP \
Streams in the output of phpinfo().&nbsp;<o:p></o:p></span></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span \
style='font-size:12.0pt;font-family:"Times New \
Roman","serif";mso-fareast-language:DE'>Glob is not in the list of disabled \
functions. &nbsp;<o:p></o:p></span></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span \
style='font-size:12.0pt;font-family:"Times New \
Roman","serif";mso-fareast-language:DE'>How can I make the glob function available? \
<o:p></o:p></span></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span \
style='font-size:12.0pt;font-family:"Times New \
Roman","serif";mso-fareast-language:DE'>Do I have to recompile \
PHP?<o:p></o:p></span></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span \
style='font-size:12.0pt;font-family:"Times New \
Roman","serif";mso-fareast-language:DE'>Which parameter defines if glob is in the \
list of Registerd PHP Streams?&nbsp;<o:p></o:p></span></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span \
style='font-size:12.0pt;font-family:"Times New \
Roman","serif";mso-fareast-language:DE'>All I found in the last few days about a \
missing glob function has nothing to do with my \
problem.&nbsp;<o:p></o:p></span></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span \
style='font-size:12.0pt;font-family:"Times New \
Roman","serif";mso-fareast-language:DE'>My PHP version is not too old. It is not in \
the list of disabled functions, but still not \
available.&nbsp;<o:p></o:p></span></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span \
style='font-size:12.0pt;font-family:"Times New \
Roman","serif";mso-fareast-language:DE'>As a workaround I found some suggestions like \
creating an alternative version of glob() so that every call to glob() will be \
replaced with my function.&nbsp;<o:p></o:p></span></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span \
style='font-size:12.0pt;font-family:"Times New \
Roman","serif";mso-fareast-language:DE'>Best regards CFR<o:p></o:p></span></p><p \
class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic