justlukeyou Posted May 10, 2011 Share Posted May 10, 2011 Hi, I am trying to use Facebook Connect which requires PHP 5.0, my host tells me that my MySQL is running on PHP 5.0 but Facebook Connect wont work. Is there anything specific I need to do to operate Facebook Connect on PHP 5.0 or do I need to add a file to the server to run PHP5.0? Quote Link to comment https://forums.phpfreaks.com/topic/236050-running-facebook-connect-on-php-50/ Share on other sites More sharing options...
cssfreakie Posted May 11, 2011 Share Posted May 11, 2011 add the following to a simple php file and run it. Not sure what mysql is doing in the story btw. <?php echo phpinfo(); ?> That should indicate what version you have. if not, you either failed to name the file .php or your host is not running php which i doubt. Also a nice thing to do is to enable error reporting. so if something is not working you got something to work with. Besides that I assume that facebook connect has a pretty nice documentation about this, not to mention its a third party software. Quote Link to comment https://forums.phpfreaks.com/topic/236050-running-facebook-connect-on-php-50/#findComment-1213527 Share on other sites More sharing options...
justlukeyou Posted May 11, 2011 Author Share Posted May 11, 2011 Thanks, I miss read it, my server runs on MySQL 5.0. (it was late) How can I upgrade to PHP5.0. I currently have PHP 4.4.9 Quote Link to comment https://forums.phpfreaks.com/topic/236050-running-facebook-connect-on-php-50/#findComment-1213982 Share on other sites More sharing options...
cssfreakie Posted May 11, 2011 Share Posted May 11, 2011 I am pretty sure you can't upgrade it at your host yourself (i assume you have a shared host). I would ask your host to upgrade though. Quote Link to comment https://forums.phpfreaks.com/topic/236050-running-facebook-connect-on-php-50/#findComment-1213985 Share on other sites More sharing options...
PFMaBiSmAd Posted May 11, 2011 Share Posted May 11, 2011 The end of life of php4 was over 4 years ago. Your web host should have provided a way of upgrading your account to the latest php5 version, either through a control panel choice, a setting in a .htaccess file, through the use of a specific file extension, or by emailing them and asking that your account be upgraded/moved to a php5 server. Quote Link to comment https://forums.phpfreaks.com/topic/236050-running-facebook-connect-on-php-50/#findComment-1213994 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.