[SOLVED] PHP Modules missing

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Moderators, Developers

Post Reply
Author
Message
gmc
Posts: 3
Joined: Fri May 11, 2018 7:55 am

[SOLVED] PHP Modules missing

#1 Post by gmc » Tue Dec 17, 2019 4:20 am

Having issues with php modules missing. I've read through lots of posts with similar issues but have not managed to find a solution yet.

ctype, zlib, PDO etc all say "CLI - No"

OS: Windows 7, 32 bit

Cacti: 1.2.8

Apache:
Server version: Apache/2.4.41 (Win32)
Server built: Aug 10 2019 12:59:56

PHP 7.4.0 (cli) (built: Nov 27 2019 10:15:52) ( ZTS Visual C++ 2017 x86 )

MySQL: Server version: 5.5.62-log MySQL Community Server (GPL)

I've run php cli_check.php extensions and get:

Code: Select all

{"ctype":{"cli":true,"web":false},"PDO":{"cli":true,"web":false},"zlib":{"cli":t
rue,"web":false},"xml":{"cli":true,"web":false},"standard":{"cli":true,"web":fal
se},"spl":{"cli":true,"web":false},"sockets":{"cli":true,"web":false},"simplexml
":{"cli":true,"web":false},"session":{"cli":true,"web":false},"pdo_mysql":{"cli"
:true,"web":false},"pcre":{"cli":true,"web":false},"date":{"cli":true,"web":fals
e},"openssl":{"cli":false,"web":false},"mbstring":{"cli":false,"web":false},"lda
p":{"cli":false,"web":false},"json":{"cli":true,"web":false},"hash":{"cli":true,
"web":false},"gmp":{"cli":false,"web":false},"gd":{"cli":true,"web":false},"filt
er":{"cli":true,"web":false},"com_dotnet":{"cli":false,"web":false}}
Have also checked the path_php_binary is set in MySQL

Code: Select all

mysql> select * from settings where name='path_php_binary';
+-----------------+----------------+
| name            | value          |
+-----------------+----------------+
| path_php_binary | c:\php\php.exe |
+-----------------+----------------+
php -m returns:

Code: Select all

[PHP Modules]
bcmath
calendar
Core
ctype
date
dom
filter
gd
hash
iconv
json
libxml
mysqli
mysqlnd
pcre
PDO
pdo_mysql
Phar
readline
Reflection
session
SimpleXML
snmp
sockets
SPL
standard
tokenizer
xml
xmlreader
xmlwriter
zip
zlib

[Zend Modules]
Have also enabled debug logging. install-complete.log:

https://pastebin.com/JafEXGtR

Not sure where to look next? Any ideas?

gmc
Posts: 3
Joined: Fri May 11, 2018 7:55 am

Re: PHP Modules missing

#2 Post by gmc » Tue Dec 17, 2019 8:27 am

Problem fixed. :o

path_php_binary should be c:/php/php.exe (And not c:\php\php.exe)

idv8361
Posts: 1
Joined: Thu Jan 02, 2020 5:49 am

Re: [SOLVED] PHP Modules missing

#3 Post by idv8361 » Thu Jan 02, 2020 9:18 am

Hello

I also have the same problem. Could you tell me where the "path_php_binary" where should be? I have nothing like this in settings...


Post Reply