• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

including php file

W

w110fr

Guest
os : fedoraC4
plesk :8.0
A problem detected during includes files
*. Php only server with plesk (no
problem with server without plesk (kimsufi(OVH))).
Example:
Root:
Index.php
Function (file): fn.php, db.php

In index.php
Include 'function/fn.php';

In fn.php:
Include 'db.php'; // Parameter connection

----> Connection error:
Access denied for user 'apache' @ 'localhost' (using Password: NO) :confused:

If one replaces --- include 'db.php' -- by
--- Include './Function/db.php' --
The problem was resolved.

Thanks for your help.
Sincerely,
 
Back
Top