Menu

PHP4Delphi 7.2 released

2009-10-28
2013-04-22
  • Serhiy Perevoznyk

    I made a new release of PHP4Delphi
    This version supports Delphi 5 - Delphi 2010 and PHP 4 - PHP 5.3.0

     
  • Serhiy Perevoznyk

    More information at http://delphi32.blogspot.com

     
  • Mariusz Maximus

    Mariusz Maximus - 2010-05-09

    I tested 7.2 version, In all application i see error
    "Trapped PHP$DELPHI  Fatal error:  Unknown: Failed opening required '-' (include_path='.,c:\php5\pear') in unknown line 0

     
  • Mariusz Maximus

    Mariusz Maximus - 2010-05-09

    In version 7.0 all works OK

     
  • Anonymous

    Anonymous - 2010-05-24

    I had the same problem and I have solved it.

    Cause:
    I have on hold version of php5ts.dll

    Solution 1:
    Update the dll to version 5.3XX

    Solution 2:
    find the file named PHP.INC (INC not INI)
    open it with notepad
    find
    {$DEFINE PHP504}
    {$DEFINE PHP510}
    {$DEFINE PHP511}
    {$DEFINE PHP512}
    {$DEFINE PHP520}
    {$DEFINE PHP530}

    corret to
    {$DEFINE PHP504}
    {$DEFINE PHP510}
    {$DEFINE PHP511}
    {$DEFINE PHP512}
    {$DEFINE PHP520}

     
  • Mariusz Maximus

    Mariusz Maximus - 2010-05-28

    Thx
    I used "Solution 1"  and all works ok 

     
  • Ricardo

    Ricardo - 2011-12-11

    Hi there,

    I have done this but my builds are linked to VC6 and not VC9. Have any suggestions?

    Thanks
    Ricardo

     
  • Serhiy Perevoznyk

    You have to comment
    {$DEFINE COMPILER_VC6} directive and uncomment  {$DEFINE COMPILER_VC9}

     
  • Ricardo

    Ricardo - 2011-12-11

    Hi again,
    I did that but appears not working. Maybe other problem.

    {For PHP5 you have to define the subversion of PHP}
    {.$DEFINE PHP504}
    {.$DEFINE PHP510}
    {.$DEFINE PHP511}
    {.$DEFINE PHP512}
    {.$DEFINE PHP520}
    {$DEFINE PHP530}

    {$IFDEF PHP530}
    {$DEFINE ZEND_WIN32}
    {$DEFINE PHP_COMPILER_ID}
    {$ENDIF}

    {$IFDEF PHP_COMPILER_ID}
    {.$DEFINE COMPILER_VC6}
    {$DEFINE COMPILER_VC9}
    {$ENDIF}

     
  • Ricardo

    Ricardo - 2011-12-19

    any suggestion?

     
  • Fabrizio Vita

    Fabrizio Vita - 2011-12-19

    You have to be sure to recompile the units after modification. The fastest way is to add the lib files to the project.

     
  • Ricardo

    Ricardo - 2011-12-25

    Can explain a bit more? I'm lost… :)

     

Log in to post a comment.