- If I comment open_base from php.ini than phpmyadmin work fine. But I when I run http://kinlaammail.xyz/info.php
with code require_once '/www/wwwroot/mailer/PHPMailerAutoload.php';
I face open_base is off thats why bellow error show on php.
`/www/wwwroot/kinlaammail.xyz.
Warning: require_once(): open_basedir restriction in effect. File(/www/wwwroot/mailer/PHPMailerAutoload.php) is not within the allowed path(s): (/www/wwwroot/kinlaammail.xyz/:/tmp/:/proc/) in /www/wwwroot/kinlaammail.xyz/info.php on line 12
Warning: require_once(/www/wwwroot/mailer/PHPMailerAutoload.php): failed to open stream: Operation not permitted in /www/wwwroot/kinlaammail.xyz/info.php on line 12
Fatal error: require_once(): Failed opening required '/www/wwwroot/mailer/PHPMailerAutoload.php' (include_path='.:/www/server/php/71/lib/php') in /www/wwwroot/kinlaammail.xyz/info.php on line 12`
But when I set open_base to '/www/wwwroot/' it http://kinlaammail.xyz/info.php work fine but then phpmyadmin can't access it show error: No input file specified. can you please check the issue?
I am using 1 moth VPS so I can make a test which one is perfect for me, I tried other panel but for magento 2 I success on aapanel. I will of-curse donate it after run my bussness with aapanel.
and now I comment open_base so phpmyadmin work but my link requre_once php commant can't work.
http://kinlaammail.xyz/info.php