Reply to Re: connecting to a DB

Your name:

Reply:


Posted by C. on 05/27/07 22:58

On 27 May, 05:11, "Kevin Raleigh" <krale...@sbcglobal.net> wrote:
> I have this DB connection code from the book
>
<snip irrelevant crud>
>
> When I run it I get the following errors
>
> CGI Error
> The specified CGI application misbehaved by not returning a complete set of
> HTTP headers. The headers it did return are:
>
> PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program
> Files\PHP\ext\php_exif.dll' - The specified module could not be found.
> in Unknown on line 0
> PHP Warning: Module 'mysql' already loaded in Unknown on line 0
> PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program
> Files\PHP\ext\php_oci8.dll' - The specified module could not be found.
> in Unknown on line 0
<snip repeated errors>

I suspect that you're probably not using must of the stuff PHP is
trying to link at runtime.

1) RTFM on how to configure PHP

2) From the command line run php with a -i flag to find out what it is
looking for its ini file. If there's not one there, then copy over the
one which came with your distribution.

3) Now edit it with a TEXT EDITOR (like notepad.exe)

4) repeat step 1

5) check the path to the extensions is set correctly

6) check what extension dlls you already have

7) comment out any extensions in the ini file which you don't need

8) restart your webserver

9) test

Lather, rinse & repeat.

C.

[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

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