mongodb and xdebug issue

Started by Dr-SeMSeM, August 16, 2024, 09:10:33 PM

Previous topic - Next topic

Dr-SeMSeM

Hello,
I'm trying to launch WrodPress moved from cPanel, the problem below always exist.

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

overseer

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?

Dr-SeMSeM

Looks like the WordPress developer using it
Also he is not clarifying the tools or plugins , so I need to fix this issue ASAP.

overseer

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:
/home/username/public_html/.user.ini
Check on those things as the first part of your cleanup.

Dr-SeMSeM

this is the php ini

Quotememory_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, !!