installation debugging

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Joseph S.

    installation debugging

    1)I get startup error messages:
    "Unable to load dynamic library c:\php\php_curl .dll - the specified
    file cannot be found"
    although the file is very much there at exactly that location
    Not only for this file but for many extension files like php_mysql.dll,
    php_oracle.dll, php_mssql.dll, php_exif.dll etc.

    2)the extensions_dir setting is "c:\php" without an ending backslash.

    3)The php.ini file is residing at c:\php

    4)The php.ini file in c:\windows has all extensions disabled so it does
    not look as though that php.ini file is the source of the messages

    5)There is a extension entry for php_win32api.dl l which also gives a
    not found error.
    Is it the older version of php_win32std.dl l, php_win32servic e.dll and
    php_win32schedu ler.dll files which are present but
    their names are not there by default in the php.ini ?

    *************** *************** *************** *************** *************** *************** ********
    6)How do I debug PHP like you can debug Java in Eclipse or NetBeans and
    C/C++ in MS Visual Studio - with breakpoints and stepping?
    *************** *************** *************** *************** *************** *************** ********

    7)database access through odbc works.

    8)How do I install PHP as both a CGI extension under Apache 2.0.5x and
    as a module (php5apache2.dl l with a LoadModule in httpd.conf) - Apd
    which is a part of PEAR requires that php be installed as a CGI binary
    - is apd good for interactive debugging?

  • Mike Willbanks

    #2
    Re: installation debugging

    Joseph,

    Please stop posting there are like 3 messages with this now... You only
    need to post once and if you are using third party services they
    sometimes have a cache and your browser might have a cache.

    Your questions:[color=blue]
    > 1)I get startup error messages:
    > "Unable to load dynamic library c:\php\php_curl .dll - the specified
    > file cannot be found"
    > although the file is very much there at exactly that location
    > Not only for this file but for many extension files like php_mysql.dll,
    > php_oracle.dll, php_mssql.dll, php_exif.dll etc.
    > 2)the extensions_dir setting is "c:\php" without an ending backslash.[/color]

    Try changing the extension_dir to "c:\\php" or "c:/php"
    [color=blue]
    > 3)The php.ini file is residing at c:\php[/color]

    There is a presidence in searching for the ini file. You might want to
    get rid of one of them just incase of conflicts.
    [color=blue]
    > 4)The php.ini file in c:\windows has all extensions disabled so it does
    > not look as though that php.ini file is the source of the messages
    >
    > 5)There is a extension entry for php_win32api.dl l which also gives a
    > not found error.
    > Is it the older version of php_win32std.dl l, php_win32servic e.dll and
    > php_win32schedu ler.dll files which are present but
    > their names are not there by default in the php.ini ?[/color]

    That is sometimes the case, you have to put them in yourself if you want
    those extensions to load.
    [color=blue]
    > *************** *************** *************** *************** *************** *************** ********
    > 6)How do I debug PHP like you can debug Java in Eclipse or NetBeans and
    > C/C++ in MS Visual Studio - with breakpoints and stepping?
    > *************** *************** *************** *************** *************** *************** ********[/color]

    Find a PHP IDE, also you can debug PHP in Eclipse... Look for plugins.
    PHP Editor Review - PHP IDE : PHP Developer, PHP Editors and PHP IDE list, biggest Php Editor and IDE list on the net. All Php Editors and IDEs are fully reviewed.

    [color=blue]
    > 8)How do I install PHP as both a CGI extension under Apache 2.0.5x and
    > as a module (php5apache2.dl l with a LoadModule in httpd.conf) - Apd
    > which is a part of PEAR requires that php be installed as a CGI binary
    > - is apd good for interactive debugging?[/color]

    You can only install it as one or the other.. Not both.

    A suggestion on many of these issues is to read the php manual at
    php.net. There is a ton of information asking many of these same
    questions. Most people will not respond to these types of questions
    because it is just a lack of taking the time to look and find an answer.
    Google and other search engines are also a good resource. There is
    also a phpfaq.


    --
    Mike Willbanks
    Zend Certified Engineer

    Comment

    • Joseph S.

      #3
      Re: installation debugging

      > Your questions:[color=blue][color=green]
      > > 1)I get startup error messages:
      > > "Unable to load dynamic library c:\php\php_curl .dll - the specified
      > > file cannot be found"
      > > although the file is very much there at exactly that location
      > > Not only for this file but for many extension files like php_mysql.dll,
      > > php_oracle.dll, php_mssql.dll, php_exif.dll etc.
      > > 2)the extensions_dir setting is "c:\php" without an ending backslash.[/color]
      >
      > Try changing the extension_dir to "c:\\php" or "c:/php"[/color]

      I uninstalled Apache from c:\Program Files\Apache Group\Apache2 and
      reinstalled
      at c:\Apache2 and the messages have mysteriously diasppeared! No
      changes to php.ini!!
      [color=blue][color=green]
      > > 3)The php.ini file is residing at c:\php[/color]
      >
      > There is a presidence in searching for the ini file. You might want to
      > get rid of one of them just incase of conflicts.[/color]

      I did that. Removed php.ini from c:\windows.
      [color=blue][color=green]
      > > 5)There is a extension entry for php_win32api.dl l which also gives a
      > > not found error.
      > > Is it the older version of php_win32std.dl l, php_win32servic e.dll and
      > > php_win32schedu ler.dll files which are present but
      > > their names are not there by default in the php.ini ?[/color]
      >
      > That is sometimes the case, you have to put them in yourself if you want
      > those extensions to load.[/color]

      As expected. PHP changes a lot from one version to the next.
      [color=blue]
      >[color=green]
      > > *************** *************** *************** *************** *************** *************** ********
      > > 6)How do I debug PHP like you can debug Java in Eclipse or NetBeans and
      > > C/C++ in MS Visual Studio - with breakpoints and stepping?
      > > *************** *************** *************** *************** *************** *************** ********[/color]
      >
      > Find a PHP IDE, also you can debug PHP in Eclipse... Look for plugins.
      > http://www.php-editors.com[/color]

      Thanks a million. I am used to Eclipse but had no clue that there is a
      PHP plugin!

      [color=blue][color=green]
      > > 8)How do I install PHP as both a CGI extension under Apache 2.0.5x and
      > > as a module (php5apache2.dl l with a LoadModule in httpd.conf) - Apd
      > > which is a part of PEAR requires that php be installed as a CGI binary
      > > - is apd good for interactive debugging?[/color]
      >
      > You can only install it as one or the other.. Not both.[/color]

      I had expected this but couldn't find any concrete words.
      [color=blue]
      > A suggestion on many of these issues is to read the php manual at
      > php.net. There is a ton of information asking many of these same
      > questions.[/color]

      Thanks again, I was relying on the compiled help manual supplied with
      the package.
      I saw the php faq at http://php.net/FAQ.php which has user comments as
      well solving many common faced problems and some good advice.

      Regards,
      Joseph S.

      Comment

      • badr

        #4
        Re: installation debugging

        Joseph S.
        i catch you
        are you playing man
        [color=blue][color=green]
        >>I had expected this but couldn't find any concrete words.[/color][/color]

        we've said that you cannot install PHP AS CGI and Apache moudel in the
        sam time at the same OS using the same directory
        is it a correct word (i hope so)

        you may need some one that tell you the blue color is red isnt it
        loooooool
        iam joking

        Comment

        Working...