VegasWebRepair Posted February 14, 2009 Share Posted February 14, 2009 I have an application that will only run with PHP5 but also versions 5.2.6 or earlier. Is it possible to install PHP 5.2.6 in a local shared hosting account and configure the htaccess file to use it. Or if you know of a hosting company that will support a separate version of PHP. TIA. VWR Quote Link to comment Share on other sites More sharing options...
Mchl Posted February 14, 2009 Share Posted February 14, 2009 What do you mean by 'local shared hosting account'? The 'local' part confuses me. Quote Link to comment Share on other sites More sharing options...
VegasWebRepair Posted February 14, 2009 Author Share Posted February 14, 2009 I meant installing PHP in a hosting account on a shared web server environment. Like a goDaddy economy hosting package... I guess the word local was a bad choice. Basically a private version of PHP? VWR Quote Link to comment Share on other sites More sharing options...
Mchl Posted February 14, 2009 Share Posted February 14, 2009 You can't do it yourself. You should ask your hosting company about it (or choose one that supports both versions, or even better move to PHP5 entirely). Quote Link to comment Share on other sites More sharing options...
VegasWebRepair Posted February 14, 2009 Author Share Posted February 14, 2009 Sure, I can install it. I ftp it into my site, setup the paths and put the apache commands in my htaccess file. But will it run? Quote Link to comment Share on other sites More sharing options...
Mchl Posted February 14, 2009 Share Posted February 14, 2009 Unless your hosting company has same lame admins it won't. This would be a serious security flaw. You can always try [edit] Oh... were you talking about installing PHP or your PHP application? Cayse I was talking about installing PHP... I a bit dumb today I guess.. Quote Link to comment Share on other sites More sharing options...
VegasWebRepair Posted February 14, 2009 Author Share Posted February 14, 2009 So what you are saying is that I could not build a local copy of PHP in a shared hosting account? Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted February 14, 2009 Share Posted February 14, 2009 Installing php (a web server language extension) requires administrative access to the web server configuration files. Your first post does not make any sense - PHP 5.2.6 is PHP5. What problem are you having with a php script? Quote Link to comment Share on other sites More sharing options...
VegasWebRepair Posted February 14, 2009 Author Share Posted February 14, 2009 We are using DOMPDF. It is known to be broken after version 5.2.6. There are a dozen logs on forums (check sourceforge.net) with our same problem which is a 500 error to the browser and a core dump that dies on rendering an HTML page. We have hundreds of man hours in developed scripts. So we need to find a hosting company that will support a separate version of PHP or install one ourselves until later versions of PHP fix the problem. DOMPDF only runs in PHP5.... Have a solution? Quote Link to comment Share on other sites More sharing options...
Mchl Posted February 14, 2009 Share Posted February 14, 2009 My host supports 5.2.2 currently. There's no telling when they'll upgrade. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.