This is a first for me.
You can drop a phpinfo scrip into any actual directory in the hosting account, and it “sees” php5.x
But… run the phpinfo within EE’s template manager, and it sees php4.
This is on an older CPanel server that has 2 versions of php installed. There is a .htaccess file that is telling this specific host account to use php5 and if I check in Utilities > PHP Info, it correctly shows PHP Version 5.2.17.
We’ve got scripts within EE’s templates that need php5 to work and since they are seeing 4.x they are tossing errors. One of them is FreeForm, but I really, really think this is an EE issue because phpinfo should see php5 from the template manager.
Is there some override I need to add to the config file to set the php version or something?
I’m stumped.