Click to See Complete Forum and Search --> : Point to different version of PHP from browser (Solaris)


damienmcd
06-18-2007, 11:47 AM
Hi Guys,

I'm wondering is there a way to point my browser to use a different version of PHP that is installed on a computer. I am using XAMPP and currently I'm using the version of PHP that is bundled with it.

Our system is being moved over to ORACLE from MySQL soon and there is another version of PHP installed with the ORA addons on the Solaris machine I am using.

I'm looking to know if it is possible to point the browser to use the PHP with the ORACLE addons. Should this be done in the PHP.ini file or how can I set up a path to use the PHP for ORACLE?

Thanks in advance for any advice you can give me!

bradgrafelman
06-18-2007, 06:36 PM
I'm wondering is there a way to point my browser to use a different version of PHP that is installed on a computer.No, because your web browser has no idea what PHP is let alone how to execute one version rather than another. All your browser does is receive the output sent by your webserver and parse it appropriately.

If you want to use a different version of PHP, you'll have to alter your webserver.

damienmcd
06-19-2007, 11:10 AM
Thanks for the reply.

Looks like we're going to install the PHP with ORACLE add-ons and a separate Apache in a separate location and connect with the DB through there.

Thanks anyway.

I'll update this post when we get it done for anyone else with similar issues.