PHP CLI Req. Warning caused by having two PHP.INI files

Topics brought up by the TimeTrex open source community.
Locked
rajnishdubey1988
Posts: 1
Joined: Mon May 05, 2014 12:45 pm

PHP CLI Req. Warning caused by having two PHP.INI files

Post by rajnishdubey1988 »

Hi,
I've been almost spend three days to install TimeTrex, but unable to do that. I've a VPS Hosting on godaddy. I'm getting two warning as follows:
1. PHP open_basedir setting does not include directory of PHP CLI binary.
2. PHP CLI Requirement Warning caused by having two PHP.INI files.

If i configure and install on my shared hosting then i'm getting error No. 2. I searched for every solution but returned empty hand.
I found similar topic on http://forums.timetrex.com/viewtopic.php?f=1&t=6467. but it's unsolved. I can see in timetrex.ini.php there is an attribute "hostname" and value is localhost. I tried replacing it with my server name i.e. http://www.tbrains.com/ but that also was not helpful. need your resolution over that. Please help me with this. Any effort is appreciated. I've attached logs in attachment.
Attachments
server log.txt
Server Logs
(11.51 KiB) Downloaded 347 times
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: PHP CLI Req. Warning caused by having two PHP.INI files

Post by shaunw »

PHP's open_basedir setting restricts what directories PHP scripts have access too, so if you defined log/storage or cache directories in the timetrex.ini.php file that are outside of your open_basedir then it will fail. You may want to try disabling open_basedir completely if you are not familiar with it.
Locked