Skip to Content
author's profile photo Former Member
Former Member

ADS Windows PHP Driver 11.1 and PHP Version 5.6 / work only with php 5.4

Hello,

I'm a windows user and would to use PHP 5.6 with the PHP Driver 11.1.

The Problem is, the currently avaible php driver only work with PHP 5.4

http://devzone.advantagedatabase.com/dz/content.aspx?key=20&Release=19&Product=16&Platform=6

Warning: PHP Startup: advantage: Unable to initialize module

Module compiled with module API=20100525

PHP compiled with module API=20131226

Maybe anyone can provide me a actually driver version for a windows php driver?

Thanks and best regards

Matthias

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Apr 05, 2016 at 10:45 AM

    IIRC source code is shipped along the driver, so you can recompile it by yourself.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Joachim Dürr

      Hello,

      I tried to compile PHP with the Advantage Database extension with the following steps:

      • I follow this introduction on https://wiki.php.net/internals/windows/stepbystepbuild
      • I add the the PHP DEV-Tools to PATH Variable
      • I copy the directory
        c:\Program Files (x86)\Advantage 11.10\PHP\
        into
        c:\php-sdk\phpdev\vc11\x86\php-5.6.23-src\ext\advantage\
      • I start a simple Compile Process to test compiling from the source path with the following commands:
        • buildconf
        • configure --help show me the parameter which I need:
          --with-advantage Advantage support
        • configure --disable-all --enable-cli --with-advantage
          gives the following output:
        • nmake

      the Compiling failed with the following error:


      have anyone an idea how I can resolve this problem?

      
       
       
      rc /fo Release_TS\php5ts.dll.res /d FILE_DESCRIPTION="\"PHP Script Inter preter\"" /d FILE_NAME="\"php5ts.dll\"" /d PRODUCT_NAME="\"PHP Script Interpret er\"" /IRelease_TS /d MC_INCLUDE="\"Release_TS\wsyslog.rc\"" win32\build\templ ate.rc Microsoft (R) Windows (R) Resource Compiler Version 6.2.9200.16384 Copyright (C) Microsoft Corporation. All rights reserved. 1 Datei(en) kopiert. LINK : fatal error LNK1181: Eingabedatei "adsodbc.lib" kann nicht geöffnet werde n. NMAKE : fatal error U1077: ""C:\Program Files (x86)\Microsoft Visual Studio 11.0 \VC\BIN\cl.exe"": Rückgabe-Code "0x2" Stop.

      Thanks

      Matthias

  • Posted on Apr 05, 2016 at 05:31 AM

    ADS 11.1 supports only PHP 5.3 and 5.4. PHP 5.5 and 5.6 is available only for ADS 12.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2016 at 02:32 PM

    Is there a way to contact the official sybase support to find a solution for my problem?

    I need the actually Version for my daily development tasks - with the old php version I missing some important features like debugging...

    thanks

    Matthias

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.