WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] php4 to php5 connection issue (2 posts)

  1. Scoe
    Member
    Posted 4 years ago #

    Hi,

    I have been developing a website on my local computer. The other day I realised that I was using php4 instead of 5 (I am able to switch between the two). When in php4 (and MySQL 5.0.67) I was able to view and edit my website reasonably well, there were a few features that were not working, which made me think of using php5.

    Since upgrading to php5, I cant connect to my website. The database hasn't changed at all. only the php. I then created a new user and set the privilages so the password is OLD_PASSWORD, but with no luck.

    Any ideas? or other solutions?

    Thanks

  2. Scoe
    Member
    Posted 4 years ago #

    Never mind, I found out that I had the ini_set() in the wrong constructor class, it remained in the php4 function wpdb() instead of the php5 function __construct()

    Thanks anyway

Topic Closed

This topic has been closed to new replies.

About this Topic