Reply to Re: installation debugging

Your name:

Reply:


Posted by Mike Willbanks on 09/20/05 04:56

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:
> 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.

Try changing the extension_dir to "c:\\php" or "c:/php"

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

There is a presidence in searching for the ini file. You might want to
get rid of one of them just incase of conflicts.

> 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.dll which also gives a
> not found error.
> Is it the older version of php_win32std.dll, php_win32service.dll and
> php_win32scheduler.dll files which are present but
> their names are not there by default in the php.ini ?

That is sometimes the case, you have to put them in yourself if you want
those extensions to load.

> **************************************************************************************************
> 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?
> **************************************************************************************************

Find a PHP IDE, also you can debug PHP in Eclipse... Look for plugins.
http://www.php-editors.com

> 8)How do I install PHP as both a CGI extension under Apache 2.0.5x and
> as a module (php5apache2.dll 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?

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
http://www.digitalstruct.com

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация