Questions tagged [php-extensions]
The php-extensions tag has no usage guidance.
13
questions
0
votes
1
answer
440
views
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 ...
0
votes
0
answers
762
views
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 ...
3
votes
1
answer
6k
views
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 ...
0
votes
0
answers
346
views
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(...
1
vote
0
answers
66
views
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 ...
3
votes
1
answer
5k
views
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 ...
1
vote
0
answers
967
views
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 ...
0
votes
1
answer
16k
views
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 ...
0
votes
1
answer
27
views
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 ...
0
votes
1
answer
2k
views
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 ...
0
votes
1
answer
135
views
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 ...
1
vote
1
answer
713
views
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 ...
1
vote
1
answer
2k
views
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();...