I’ve installed fileinfo PECL extension but I still receive this error:[color=blue]
Fatal error: Call to undefined function finfo_open() in
/home/alex/public_html/mime.php on line 3[/color]
The strange thing is it’s not working if PHP’s used as an apache
module, but if I run[color=blue]
php -r “phpinfo();” | grep “fileinfo”[/color]
in terminal I receive[color=blue]
/etc/php5/conf.d/fileinfo.ini,
fileinfo
fileinfo support => enabled[/color]
SLED-11 SP1, php-5.2.14, apache-2.2.10
Is there a workaround to make it work?
I’ve installed fileinfo PECL extension but I still receive this error:[color=green]
Fatal error: Call to undefined function finfo_open() in
/home/alex/public_html/mime.php on line 3[/color]
The strange thing is it’s not working if PHP’s used as an apache
module, but if I run[color=green]
php -r “phpinfo();” | grep “fileinfo”[/color]
in terminal I receive[color=green]
/etc/php5/conf.d/fileinfo.ini,
fileinfo
fileinfo support => enabled[/color]
SLED-11 SP1, php-5.2.14, apache-2.2.10
Is there a workaround to make it work?
[/color]
Hi
php5-fileinfo from where, it’s not in the normal repositories?
I’m assuming the first one in the above list must match your php
version.
[/color]
It suggests to change php version to the OpenSUSE latest 5.3.8 with
vendor change, though I have 5.2.14.
[/color]
Hi
So what happens if you grab the php5 src rpm for the installed version
and rebuild that rpm, it should produce the php5-fileinfo rpm.
I simply can’t download it. When I try it asks for authorization and my
usual Novell account data doesn’t work. So I’m not permitted to do
that.
May be it’s just a Novell problem? It happens that sometimes I can’t
post here (though I’m logged in it still requires authorization).
I simply can’t download it. When I try it asks for authorization and
my usual Novell account data doesn’t work. So I’m not permitted to do
that.
May be it’s just a Novell problem? It happens that sometimes I can’t
post here (though I’m logged in it still requires authorization).
[/color]
Hi
Clear all the Novell cookies from your browser cache.
I did but authorization is still required. And my Novell account data
isn’t valid to download the package. It’s strange, but at the moment I
can’t download anything from Novell.
Hi, Malcolm!
I gave up trying to configure Novell’s PHP and compiled my own instance
of Apache+PHP. Of course everything is included.
Fortunately I had enough time in late September to wipe away SLED from
my notebooks and install another much more stable and reliable OS on
them. I’ve left only one installation on my personal laptop just for
testing (of course not the primary installation), but after installing
several drivers, PHP and many other things from sources, Document
Foundation’s LibreOffice only because Novell’s versions are crap there’s
not much left of SLED.
I had to change my hosting provider as well because they use SLES on
their server (that’s why I wanted to keep and configure my SLED - to be
able to test scripts in the native environment) and fileinfo and some
other functions are not available there.
Hi, Malcolm!
I gave up trying to configure Novell’s PHP and compiled my own
instance of Apache+PHP. Of course everything is included.
Fortunately I had enough time in late September to wipe away SLED from
my notebooks and install another much more stable and reliable OS on
them. I’ve left only one installation on my personal laptop just for
testing (of course not the primary installation), but after installing
several drivers, PHP and many other things from sources, Document
Foundation’s LibreOffice only because Novell’s versions are crap
there’s not much left of SLED.
I had to change my hosting provider as well because they use SLES on
their server (that’s why I wanted to keep and configure my SLED - to
be able to test scripts in the native environment) and fileinfo and
some other functions are not available there.
[/color]
Hi
My only concern would be keeping up with with the security issues, one
of the bonuses is that CVE fixes aren’t public and are fixed
before anyone gets wind of issues from the distributions.
My suggestion is pull the version from the distro that your running…