Author Topic: mongodb and xdebug issue  (Read 265 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
mongodb and xdebug issue
« on: August 16, 2024, 09:10:33 PM »
Hello,
I'm trying to launch WrodPress moved from cPanel, the problem below always exist.

Code: [Select]
Warning: Module "mongodb" is already loaded in Unknown on line 0

Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0

Warning: Module "xdebug" is already loaded in Unknown on line 0

I tried many times to install it, check it, modify PHP ini file without result.
Please what can i do to fix this issue?
even from PECL no result

Offline
*****
Re: mongodb and xdebug issue
« Reply #1 on: August 17, 2024, 12:00:36 AM »
Do you actually need that functionality for your WordPress site, or is it just a leftover vestige from your old server that needs to be cleaned up?

Offline
*
Re: mongodb and xdebug issue
« Reply #2 on: August 17, 2024, 08:10:12 AM »
Looks like the WordPress developer using it
Also he is not clarifying the tools or plugins , so I need to fix this issue ASAP.

Offline
*****
Re: mongodb and xdebug issue
« Reply #3 on: August 17, 2024, 10:06:24 PM »
cPanel uses a php.ini in each user dir by default, but not CWP. There is a main php.ini if you are using CGI, or one for each version of php-fpm if you are using that. You can enable per-user PHP ini files in the main php.ini config that would be like so:
Code: [Select]
/home/username/public_html/.user.iniCheck on those things as the first part of your cleanup.

Offline
*
Re: mongodb and xdebug issue
« Reply #4 on: August 18, 2024, 07:28:03 AM »
this is the php ini

Quote
memory_limit=128M
upload_max_filesize=12M
post_max_size=12M
max_execution_time=30
date.timezone=Africa/Cairo
error_reporting=E_ALL & ~E_DEPRECATED & ~E_STRICT
session.save_path="/tmp"
magic_quotes_gpc=Off

nothing related to the problem i think, !!