chiefsurf Posted January 21, 2008 Share Posted January 21, 2008 Hi, I just bought a dedicated linux server with fedora core 6 on it. It comes preinstalled with php 5.1.6. I need to uninstall 5.1.6 and install 5.0.4. The reason for needing the older version is because when i transfered my site from its current server it does not fully work ( most of the site works except it does not pull the data from the database). I was told from my ex-programmer that it was because of the version of php (something about the get call). I do not really know much about php. I have access to my root via ssh. Can someone instruct me on how to properly uninstall the 5.1.6 and then install 5.0.4. I thank you. Tom Quote Link to comment https://forums.phpfreaks.com/topic/86972-help/ Share on other sites More sharing options...
Nhoj Posted January 21, 2008 Share Posted January 21, 2008 Chief, You could simply download the older PHP version, create a phpinfo.php page, copy the configure command. Extract the php version archive, cd to the folder, do ./configure COMMAND U COPIED make make install And thats it... Although, I'd personally look into other settings, it could be as simple as a few php.ini settings, maybe register_globals, etc is enabled / disabled on either one, safe_mode may also be enabled or disabled on either of the servers. I'd explore the other options before deciding to downgrade an installation :/.... Especially when 99% of the changes between 5.x.y versions have been bug fixes and nothing that should render your code inoperable.. Quote Link to comment https://forums.phpfreaks.com/topic/86972-help/#findComment-444704 Share on other sites More sharing options...
teng84 Posted January 21, 2008 Share Posted January 21, 2008 you can post some bugs that occur so we can tell you the real problem.. Quote Link to comment https://forums.phpfreaks.com/topic/86972-help/#findComment-444705 Share on other sites More sharing options...
chiefsurf Posted January 21, 2008 Author Share Posted January 21, 2008 thanks nhoj. I checked all the settings in the php.ini files. There were a few changes i had to make just to see my website on the new server. But thats it, i still cant pull my data from the db. Quote Link to comment https://forums.phpfreaks.com/topic/86972-help/#findComment-444706 Share on other sites More sharing options...
revraz Posted January 21, 2008 Share Posted January 21, 2008 Read the sticky up top about how to post a question, and then after you post the information, someone can help you. Quote Link to comment https://forums.phpfreaks.com/topic/86972-help/#findComment-444711 Share on other sites More sharing options...
Nhoj Posted January 21, 2008 Share Posted January 21, 2008 What errors if any do you get when you try to pull the data from the database? Also, are you able to establish a connection to the database from a php page? - John Quote Link to comment https://forums.phpfreaks.com/topic/86972-help/#findComment-444712 Share on other sites More sharing options...
Nhoj Posted January 21, 2008 Share Posted January 21, 2008 I hate to double post.... But can we maybe get a shadow topic saying moved next time? Quote Link to comment https://forums.phpfreaks.com/topic/86972-help/#findComment-444715 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.