Questions tagged [php-extensions]
13 questions
3
votes
1 answer
Curl extension not working for php 7, Windows 7 and Apache 2.4
I've recently upgraded to php 7.1.31, starting from an installation of EasyPhp (Windows 7, x86). After installing the files and configuring the php.ini file, all is running well, except a problem with the curl extension:
**Fatal error: Uncaught…
Michael
- 31
- 1
- 3
3
votes
1 answer
PHP extension enabled but not loaded on Apache
For some reason, my php extensions are enabled, but not loaded by my Apache 2.4 server. The extensions I am missing are mbstring and fileinfo. I did the installation manually and I wish to keep it that way, mostly for learning purposes.
When I say…
DCardinal
- 31
- 1
- 3
1
vote
1 answer
Enable PHP extensions on Windows system
I'm using Apache 2.2 along with Windows 7. I just need to enable MySQL extension to work. Its okay when I'm using windows binary (.msi). But when I'm trying with .ZIP file, MySQL extension is not working. I have un-commented the extension in…
Zareef Hasan
- 11
- 4
1
vote
1 answer
Can't add PHP extension "mssql.so"
I want to add mssql.so extension to my PHP.
I've already put it in the extension_dir and the line "extension=mssql.so" is in my php.ini. I restarted apache but I can't find the extension in phpinfo(); …
Historically, there are NO other extensions…
blind
- 11
- 2
1
vote
0 answers
VS Code Intellisense doesn't work with DOMDocument extension
I'm working with PHP through Visual Studio Code and I need to create some XML documents. I've seen that in PHP 7.X there is and extension called DOMDocument that seems really simple and useful.
The problem is that Intellisense doesn't show any…
Belfed
- 11
- 3
1
vote
0 answers
Homebrew throwing unable to load dynamic library error with all versions of PHP on macOS Sierra
When I install PHP using Homebrew, any extensions that I attempt to load (including the core extensions such as mysqli and gd2) throw an Unable to load dynamic library error during any usage. Is there a solution available?
The error thrown is as…
Forest
- 253
- 1
- 3
- 7
0
votes
1 answer
Do cronjobs run in CLI?
I am running PHP 5.5 with ZendOPcache integrated. There are two options for this extension - is cache enabled (which I've set to true), and the second one - is CLI cache enabled, which I've set to false.
I am wondering if cronjobs run in CLI,…
thexpand
- 103
- 4
0
votes
1 answer
Installing PHP accelerator on a WampServer running on Windows 7 x64
I have installed Symfony 2.3 on a WampServer but when I check for configuration warnings I have the following message
Install and enable a PHP accelerator like APC
I have tried many apc's version but nothing works. I would be glad if someone could…
user1655410
- 101
- 2
0
votes
1 answer
How do I clone a PECL SVN repository?
I'm trying to clone the PECL OAuth repo, but clicking on "SVN Instructions" in the top-right corner leads to instructions on how to clone the Github repo for PHP itself... Does any of the elders know how this used to be done in the olden age?
Bogdan Stăncescu
- 111
- 7
0
votes
1 answer
phpinfo() and convert --version show different versions of ImageMagick
I'm running CentOS 7.7 and a few days ago I noticed that my ImageMagick library is missing the ImagickKernel class. So after a lot of research, I got to the conclusion that I'm running an outdated ImageMagick library 6.7.8-9 even though everything…
Inc33
- 131
- 3
0
votes
0 answers
VS Code not highlighting HTML in index.php even with beautify enabled
working on a PHP project, but the HTML in my PHP is not highlighting.
I'm not sure why, but html by itself will.
When I installed beautify, per another posts recommendation, my user settings did not update. So I went to the github repo to add the…
thinker
- 101
0
votes
0 answers
Command line shows extension "gd" is enabled but WordPress says it isn't. Terminal and phpinfo() showing different PHP versions
php -v is showing 5.5.9
phpinfo() is showing 5.6.22.
WordPress is reporting that I have to enable either gd or imagic extension in order work with image processing.
The Configure command for phpinfo() shows the following:
'./configure'
…
Niladri Sarkar
- 153
- 1
- 10
0
votes
1 answer
Installing PHP extension mbstring in PHP 5.6 CentOS 6.8
I am using PHP 5.6 on my centos-release-6-8.el6.centos.12.3.x86_64 server.
I got following error from one of my PHP function.
Fatal error: Call to undefined function mb_detect_encoding()
So, I tried to install mbstring extension. when I execute…
Sadee
- 101
- 1
- 1
- 4