Re: Extension files not loading
- From: pdhb_1 <mbrown@xxxxxxxxxxxx>
- Date: Tue, 4 Dec 2007 15:27:05 -0800 (PST)
On Dec 3, 2:50 pm, Jerry Stuckle <jstuck...@xxxxxxxxxxxxx> wrote:
pdhb_1 wrote:
On Dec 3, 10:51 am, "Rik Wasmus" <luiheidsgoe...@xxxxxxxxxxx> wrote:
On Mon, 03 Dec 2007 19:46:25 +0100, pdhb_1 <mbr...@xxxxxxxxxxxx> wrote:
I'm trying to run Apache2.2.6 with php. However, I keep getting a longWell, first of all, are you sure these extensions are there? And are you
list of error messages in the log file indicating that includes are
failing. For example,
"PHP Warning: PHP Startup: Unable to load dynamic library './ext/
php_sybase_ct.dll' - The specified module could not be found.\r\n in
Unknown on line 0"
I have changed the "extension_dir" line in the php.ini file every way
I can think of, including the original:
extension_dir="C:/PHP/ext"
and
extension_dir=./ext/
I have tried with and without quotes, foreward slashes, back slashes,
etc. Both direct paths and indirect paths fail.
How do I get php to find these files?
editing the right php.ini (check the output of phpinfo(): what file does
it say it uses, and does your extension_dir actually alter if you change
it (and you restart Apache afterwards offcourse, php.ini is only read on
startup....)
--
Rik Wasmus- Hide quoted text -
- Show quoted text -
Yes, the extensions are there, and the path being searched does depend
on how I set extension_dir.
The log file will faithfully reproduce the path I indicate in the line
reporting the error. For example,
extension_dir="C:\PHP\ext"
results in lines of the form:
"PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\PHP\
\ext\\php_sybase_ct.dll' - The specified module could not be found.\r
\n in Unknown on line 0"
This can also occur if one of the DLL's required by the PHP SyBase DLL
can't be found. Do you have the SyBase libs installed and available for
loading (i.e. in your PATH environment)?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@xxxxxxxxxxxxx
==================- Hide quoted text -
- Show quoted text -
It's not just 'php_sybase_ct.dll' that isn't loading. It's a long list
of libraries that are present in the ext directory that aren't being
found no matter what I do. There are about 17 that aren't loading. it
could be that they all are failing to find external dependencies.
My issue is that php scripts are not being recognized. I believed that
it was because some of these include files were not being found, but
perhaps it is more of an issue with how I have apache configured.
.
- Follow-Ups:
- Re: Extension files not loading
- From: Erwin Moller
- Re: Extension files not loading
- From: Jerry Stuckle
- Re: Extension files not loading
- References:
- Extension files not loading
- From: pdhb_1
- Re: Extension files not loading
- From: Rik Wasmus
- Re: Extension files not loading
- From: pdhb_1
- Re: Extension files not loading
- From: Jerry Stuckle
- Extension files not loading
- Prev by Date: Re: Email Spam
- Next by Date: Re: Can't chown() "my" files...
- Previous by thread: Re: Extension files not loading
- Next by thread: Re: Extension files not loading
- Index(es):
Relevant Pages
|