Keywords: General - Google Cloud Platform - Technical issue - Other
bnsupport ID: e7cbedd4-8799-1486-19b4-4b9a72027012
Description:
Hi,
I'm running nginx on aws lightsail, I have installed PEAR Mail as in the documentation but when I try loading Mail.php into my app, I get the error:
FastCGI sent in stderr: "PHP message: PHP Warning: require_once(PEAR.php): failed to open stream: No such file or directory in /bitnami/ruby23stack-linux-x64/output/php/lib/php/Mail.php
php --ini
php --ini
Configuration File (php.ini) Path: /bitnami/ruby23stack-linux-x64/output/php/lib
Loaded Configuration File: /opt/bitnami/php/etc/php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed: (none)
the loaded php.ini file has this in the "include_path"
include_path = ".:/opt/bitnami/php/lib/php"
pear config-get php_dir shows
I have tried updating the include_path to that line above and it throws this error:
*1 FastCGI sent in stderr: "PHP message: PHP Warning: require_once(PEAR.php): failed to open stream: No such file or directory in /bitnami/ruby23stack-linux-x64/output/php/lib/php/Mail.php on line 48
PHP message: PHP Fatal error: require_once(): Failed opening required 'PEAR.php' (include_path='.:/bitnami/ruby23stack-linux-x64/output/php/lib/php') in /bitnami/ruby23stack-linux-x64/output/php/lib/php/Mail.php on line 48"
`
Please help!