• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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