You are here: Re: Loading an extension « All PHP « IT news, forums, messages
Re: Loading an extension

Posted by L�pher Cypher on 02/01/06 14:48

d schrieb:
> "Lüpher Cypher" <lupher.cypher@verizon.net> wrote in message
> news:0U6Df.1569$pO2.259@trndny09...
>> Hi,
>> I am having trouble with xsl extension (php 5.1.2 under apache 2 on win
>> xp). I've put php.ini into c:\php, uncommented the extension, and running
>> php.exe shows that php.ini is read (giving incorrect extension path gives
>> an error). In httpd.conf I have the usual loading of the php module, type
>> association, and path to php.ini:
>> PHPIniDir "C:/php". Running test on apache config gives no errors, and the
>> server starts without errors. Php pages work fine (i.e. they are
>> processed), but the extension is not loaded - it doesn't show in
>> get_loaded_extensions() and calling new XSLTProcessor() says the class
>> does not exist. Any ideas? I've also tried to put php.ini into c:\windows,
>> but that didn't work.
>
> Have you made sure your extension_dir is set properly in your php.ini?
>
> Are you successfully using other extensions?
>

All set there, I checked - if I change it, php.exe complains.. The thing
is, however, that if I change it, apache still starts (it used to
complain about such things when I had php4). I first thought that I must
have php.ini somewhere else, but the one in c:\php is the only one... I
have used no other extensions so far.

--

- lüpher
---------------------------------------------
"Man sieht nur das, was man weiß" (Goethe)

 

Navigation:

[Reply to this 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

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