Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4125158
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T23:49:59+00:00 2026-05-20T23:49:59+00:00

Bit of a long shot – just do a quick simple CMS of a

  • 0

Bit of a long shot – just do a quick simple CMS of a client then realised that there host is running php 4.4.7

So once I’ve uploaded the code using php adodb – it won’t even do a simple connect to the db – I’ve tried a simple connect using the direct MySQL method and that works.

So I’m guessing it’s a compatability issue? I’ve look at the adodb manual it it says it supports from php 4.0.5 onwards – but can’t think of why else it’s not happening.

The error I get is Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /blah/blah/adodb/adodb.inc.php on line 435

Just a long shot but wondered if anyone knows a quick way to reolve, otherwise I’ll have to strip out adodb, as they don’t want to move hosts 🙁

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T23:50:00+00:00Added an answer on May 20, 2026 at 11:50 pm

    Yikes. Where did you manage to find a host still running PHP4?

    Anyway, it sounds to me like the class is written using PHP5 syntax, despite you saying it supports PHP4.

    I quickly looked up the web page for it (http://adodb.sourceforge.net/), and I found this in the documentation:

    Requirements: PHP 5.0 or later. There is a version available that works with PHP 4.1 to 5.2 also.

    …so it sounds to me like you’ve got the PHP5 version. You may need to dig up the PHP4 version instead.

    However, I’d suggest trying to find a way to get the client’s PHP version upgraded instead — PHP4 is not supported any longer, and hasn’t been supported for quite a long time now. It really does need to be upgraded.

    It’s also very likely that the old PHP4-compatible version of the library is no longer being maintained either, so if there’s any bugs in it, or incompatibilities with other code you’ve written, then you’ll be stuck.

    And of course, that’s just one library — if you’re using any other third party libraries, you’ll probably come across the same problems or worse.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Bit of a long shot, but is there a way in ASP.NET to dynamically
This is a bit of a long shot as I don't have access to
This is a bit of a long shot, but does anyone know of a
I have a 32 bit long variable, CurrentPosition, that I want to split up
This is a bit of a long shot, but I figured I'd ask anyway.
I have a 64-bit long that I want to round down to the nearest
This got a bit long-winded, so here's the quick version: Why does this cause
It's a bit of long shot but I hope anyone could help me. I'm
I realized the other day that most common lisp had 128-bit long-floats. As a
This is a bit of a long shot, but if anyone can figure it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.