[quote]The problem is that my phpinfo says I’m running 5.2.9 which makes sense since all the rest would only install using the ioncube_loader_lin_5.2.so so I’m a bit at a loss at what to do here?
Can two loaders be used simultaneously, and if so, how do I configure them to do so?[/quote]
As sXi pointed out, the first php binary found in PATH is that of php-cli 4.4.9
When you built PHP 5.2.9 you should have two binaries - the CGI version and the CLI version. Running a binary with the -v argument will tell you what version it is. You need to determine the absolute path (/home/username/[build_dir]/bin/php ) and make note of it.
Then your commands for the cron job need to specifiy the location of your PHP.ini as well as the php-cli binary, something like
/home/username/[build_dir]/bin/php -c /home/username/PHP.ini -f /home/username/script.php
You might want to try running similar command from shell first to test it out:
/home/username/[build_dir]/bin/php -c /home/username/php.ini -v
/home/username/[build_dir]/bin/php [continue] -c /home/username/php.ini -r ‘phpinfo();’ | more
Edit: changed paths for literal interpretation to avoid confusion.
Customer since 2000 openvein.org