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)
If one replaces --- include 'db.php' -- by
--- Include './Function/db.php' --
The problem was resolved.
Thanks for your help.
Sincerely,
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)
If one replaces --- include 'db.php' -- by
--- Include './Function/db.php' --
The problem was resolved.
Thanks for your help.
Sincerely,