Re: [PHP] PHP5, Windoze, Extensions

This is a discussion on Re: [PHP] PHP5, Windoze, Extensions within the PHP General forums, part of the PHP Programming Forums category; Hi George, That worked :-) Many thanks for setting me on the straight and narrow. Dave George Pitcher wrote: > Dave, &...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-27-2006
Dave Carrera
 
Posts: n/a
Default Re: [PHP] PHP5, Windoze, Extensions

Hi George,

That worked :-)

Many thanks for setting me on the straight and narrow.

Dave

George Pitcher wrote:
> Dave,
>
> Why not put your ext path into your include path :
>
> include_path = "c:\php\pear;c:\php;c:\php\ext"
>
> That might solve the problem. Just a bit of lateral thinking.
>
> George
>
>
>> -----Original Message-----
>> From: Dave Carrera [mailto:dave@ephgroup.com]
>> Sent: 27 September 2006 9:28 am
>> To: George Pitcher; php-general@lists.php.net
>> Subject: Re: [php] PHP5, Windoze, Extensions
>>
>>
>> Thanks for that George,
>>
>> I managed to isolate the problem....
>>
>> PEAR had slapped its own include_path at the bottom of my php.ini,
>> removing it cleared up the extension_dir problem.
>>
>> BUT now if i use the include_path var the extension_dir fails and
>> phpinfo displays my php.ini from include_path down.
>>
>> my php.ini include_path looks like this
>>
>> include_path = "c:\php\pear"
>>
>> If i comment out include_path, extension_dir works but now php wants to
>> find the include path as "c:\php5\pear"
>>
>> I made c:\php5\pear and copied my pear dir into it and pear works but
>> this really is not tidy is it.
>>
>> What could be wrong ????
>>
>> Dave
>>
>> George Pitcher wrote:
>>
>>> Dave,
>>>
>>> I would suggest putting your extension path in your system path.
>>>
>>> I have encountered problems getting extensions to load where
>>>

>> there have been
>>
>>> multiple instances of dll files. reducing these to one instance
>>>

>> solved that
>>
>>> problem.
>>>
>>> I once found that my php.ini settings weren't being loaded -
>>>

>> but that was on
>>
>>> Debian and it was the method used to stop-start apache that was
>>>

>> the cause of
>>
>>> that problem.
>>>
>>> I'm running PHP5/Apache2 on WinNT and am restarting Apache on an almost
>>> daily basis using the Services panel. I'm not encountering any extension
>>> problems though. In fact I just upgraded from PHP5.0.4 to 5.1.4
>>>

>> and it was
>>
>>> really easy (much to my surprise).
>>>
>>> Good luck
>>>
>>> George in Oxford
>>>
>>>
>>>
>>>> -----Original Message-----
>>>> From: Dave Carrera [mailto:dave@ephgroup.com]
>>>> Sent: 27 September 2006 8:04 am
>>>> To: php-general@lists.php.net
>>>> Subject: [php] PHP5, Windoze, Extensions
>>>>
>>>>
>>>> Hi List,
>>>>
>>>> Sorry to bore most of you with this one but i cannot get extensions to
>>>> load using latest php5, apache 2.0xxx
>>>>
>>>> I have std php running and it tells me that my php.ini is being read
>>>> from c:\php\php.ini. This is correct.
>>>>
>>>> But what ever i change "extension_dir" to it always says "c:\php5". By
>>>> the way i am using phpinfo() for this info.
>>>>
>>>> I make c:\php5 and copy extentions in there, but they still dont load
>>>> and yes i have uncommented out the relevant extension in php.ini
>>>>
>>>> I always stop -> start apache for changes to take affect but nothing
>>>> changes.
>>>>
>>>> I have php in the system path.
>>>>
>>>> I also have tried copying the extension to windoze and system32 but
>>>> still they will not load.
>>>>
>>>> ANy ideas ??????
>>>>
>>>>
>>>> Dave
>>>>
>>>> --
>>>> PHP General Mailing List (http://www.php.net/)
>>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>>
>>>>
>>>>
>>>>
>>>
>>>

>>

>
>
>

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:03 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0