My PHP version is 5.4.16
I found php_stats (and php_http) here:
http://windows.php.net/downloads/pecl/releases/
Got this version: php_stats-1.0.3-5.6-ts-vc11-x86.zip
(Yes I have 32bit)
Copied php_stats.dll to C:\wamp\bin\php\php5.4.16\ext
Add extension=php_stats.dll (and extension=php_http.dll) to php.ini (located in C:\wamp\bin\apache\Apache2.4.4\bin)
exit wamp, start wamp, restart all services
wamp -> php -> php extensions -> php_stats is checked (and php_http)
But I still get the same error (see title). How can I solve this?
Call to undefined function stats_standard_deviation() php pecl stats wamp windows 7
I found another package here:
http://pecl.php.net/package/stats/1.0.3/windows
this one is working
Related
I know this question has been asked before, but none of the answer given helped me...
The extension line in the php.ini is uncommented extension=php_curl.dll
I recently updated GLPI to the last version (9.5.2, was in 9.3.1 before) so I had to change php version from 7.1.9 to 7.2.34.
It's on a WS2012R2 64bits, Wamp 3.1.0 32bits, so I put php in 32bits too.
I checked dependencies with doing "deplister.exe ext\php_curl.dll" and all is "OK" now (a few dll were missing, I copied them from another php version).
I have tried :
reboot the server (at least once)
restart wamp (at least once)
Do you have any idea on how to solve this ?
I can have a look at any solutions
[EDIT] solution is in comments : this was solved downgrading php from 7.2.34 to 7.2.10
I have a PHP application that is running under WAMP and using JPGraph. It all works fine. I am trying to now deploy the application on a production web server which, rather than running WAMP, runs native Apache and PHP, and am receiving the following error:
Notice: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' in C:\Program Files\Adaptive\webPortal\models\jpgraph\jpgraph_errhandler.inc.php on line 282
JpGraph Error: 25001 This PHP installation is not configured with the GD library. Please recompile PHP with GD support to run JpGraph. (Neither function imagetypes() nor imagecreatefromstring() does exist)
Now obviously I have ran up phpinfo() and, as expected, there is no GD enabled on the production server. The only difference I can see is in the version of PHP; WAMP is bundled with PHP 5.4.12 and the production server has installed PHP 5.3.29, so a slightly earlier version. The issue is this has to run on Windows, and I can't find a Windows PHP installation for any version greater than 5.3.29.
However, I see no reason why I can't just enable GD on the production server. BUT:
The extension=php_gd2.dll line is uncommented in php.ini
php_gd2.dll exists in \PHP\ext
So... yeah. I'm kind of stuck haha. Can anyone help? Thanks in advance!
I am working on a Windows 7(x64) with Apache 2.4 x86, Php54 x86
and MySql 5.6 x64.
PHP is working well on my Apache Web Server.
When i run PHP from CommandLine : php dbTest.php it runs without problems
but when i try to load my page, i get the error Fatal error: Call to undefined function mysqli_connect() in <path to dbtest.php> on line 3
tried installing PHP 55 but nothin...
Tried putting libmysql.dll in (php dir, win/system32, apache bin)
installed VC71 runtimes (because i saw it in a troubleshooting guide)
Edit:
- also tried installing all x64 (Apache and PHP)
- tried to install Apache v2.2 and PHP v5.3,
Nothing works...
how come running the command-line works but through Apache, it isn't working?
i see mysqlnd listed, but not mysql/mysqli, as if mysqlnd was the module...
Thank you for your time.
and for saving me the last few hair i have!
PHP 5.4 comes with mysqlnd installed by default so you shouldn't need libmysqli.dll
Does phpinfo() list a mysqli block?
You need this file in ext directory php_mysqli.dll
I have a problem to install ffmpeg, I tried several tutorials but did not.
I tried using the dll and executables but could not get the result is always.
"Fatal error: Call to undefined function dl ()"
I went on the official website and downloaded the dlls did the procedure in playing in system32 and php / ex and declared the extension in php.ini but does not work.
I am using the version of php 5.3.13.
I was thinking it was the version of php what do you think? I'm using WampServer observation
I used the ffmpeg-20130318-git-519ebb5-win64-static.7z from http://partisans9.alamaree.com/chan-5973786/all_p2.html
It is working, though I used it through command line for file format conversion only.
I am trying to use the pspell function in my php application I am developing however when I run my code I get the error: "Call to undefined function pspell_new()". I am using an Apache 2.4 server on my localhost to run the application. Nothing I do seems to fix the problem. I have downloaded the aspell/pspell module with a "en" dictionary. I added the pspell-15.dll and aspell-15.dll to my System32 folder and I enabled the extension=php_pspell.dll line in my php.ini file and restarted the apache 2.4 service. What am I missing here because nothing seems to work? Thanks.
As of php 5.3. Pspell is no longer supported/bundled. Instead you can use the enchant which is bundled by default in 5.3.