• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Where is my php.ini in subdomain? (Nginx)

jaumealcantarago

New Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
Plesk Obsidian Version 18.0.56 Update #3
Hello everyone, I am very new to server management and I am quite lost.
I hired a VPS to be able to host software for my clients and attach a domain of which I have generated a subdomain, right here I have loaded my Symfony 5 project, to be able to do the doctrine (It is a generator of entities in the DB) I need to access the file php.ini to enable the pdo_mysql extension.
In the general Plesk panel I have already put version 7.4 of PHP and I have touched the php.ini but I understand that it does not affect my subdomain, I am quite lost as I say.

I would greatly appreciate some help

all the best
 
Hi

Plesk extensions are enabled globally, are you sure pdo is enabled ?

You can add extension from plesk panel How to enable/disable PHP extensions in Plesk? - Support Cases from Plesk Knowledge Base

Please check phpinfo(); and see if you not have any orther problem

You cant not edit php.ini for domain manually, plesk will overwrite your changes, but you can add aditional php directives to your domains under PHP configuration for that domain in " aditional php directives"
 
Back
Top