Re: PHP5, Windoze, Extensions

From: Date: Wed, 27 Sep 2006 08:28:22 +0000
Subject: Re: PHP5, Windoze, Extensions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-242275@lists.php.net to get a copy of this message
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
    


« previous php.general (#242275) next »