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 7709585
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T00:53:56+00:00 2026-06-01T00:53:56+00:00

I have built an API framework that includes a lot of communication-related options, including

  • 0

I have built an API framework that includes a lot of communication-related options, including input validations and encryptions.

I figured that building an ‘API Wrapper’ class would be required because of all those options, to simplify the process when another system wants to connect to my API. So they can basically download a single class and very easily connect to my system through that class from their system.

This wrapper class makes requests using cURL.

My system also includes a logger that tracks API calls for future reference and investigation (if problems appear as well as performance grading), including tracking user agent string for all of those requests.

My question is, how good or bad is it if I include Apache and PHP version numbers in that string alongside with the API wrapper class version, like this:

myApi/1.0 (Apache 2.2.17;PHP 5.4.0)

I am worried if it is a problem if PHP version number is transmitted over the web in such a way, even though it’s between servers and not between client computer and server?

  • 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-06-01T00:53:58+00:00Added an answer on June 1, 2026 at 12:53 am

    I think you might be crossing up the distinction between API and client. To paraphrase your question, it sounds like you’ve built:

    1. an API with various services/resources

    2. a client class (the “wrapper”) that a third-party developer can use in her own application to communicate with your API

    If that’s the case, then the server information you’re looking to convey is the system requirements for an application that will use your client class. That has no relationship to the version of PHP that your API runs on, except that you happened to develop both API and client on the same platform. For example, if you had built the API in PHP and the wrapper in Java, then it would be easier to see the distinction.

    The minimum PHP version for the client/wrapper class is important information to convey to third-party developers, so that they can use the class as you intend. In that case, then yes, you should provide it somewhere (my suggestion would be in the documentation for the wrapper class).

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

Sidebar

Related Questions

I have built a component library that includes an executive class which does work
I have built a REST API backend whith Spring MVC and secured with basic
I have a project built and packaged with a specific version of jsp-apiand servlet-api
I have built an MSI that I would like to deploy, and update frequently.
We have built a Windows Service that is running on client's machines, which occasionally
I am using the Django Rest Framework to build an api, and have an
We have a website that we want to provide web based API access to
I have built somekinda image-api-key for my website but it doesn't seem to work.
I have a PHP application that is written with Zend Framework. It uses Phing
I would like to build my own RESTful API Server and I have no

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.