Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [PHP]Instalacja IMagick (biblioteka dll) - Win7, Apache2.2.15, PHP5.3.3
Forum PHP.pl > Forum > Przedszkole
Xardas348
Od pewnego czasu około 1,5 tygodnia przeszukuję internet, aby odszukać bibliotekę *.dll współpracującą z tą konfiguracją(zainstalowana na moim komputerze):
Apache 2.2.15
PHP 5.3.3 [VC9 x86 Thread Safe (2010-Jul-21 20:29:51)] Instalacja *.exe pobrana z tej strony: php-5.3-ts-VC9-x86
ImageMagick-6.6.3-Q16 zainstalowane z pliku ImageMagick-6.6.3-10-Q16-windows-x64-dll.exe z oficjalnej strony imagemagick.

Wyszukał w internecie takie strony jak:
http://www.imagemagick.org/discourse-serve...f=6&t=16649
http://www.experts-exchange.com/Web_Develo...Q_26434075.html
http://valokuva.org/?page_id=50

Biblioteki php_imagick.dll pobierałem między-innymi z:
http://valokuva.org/builds/
http://www.sk89q.com/2010/03/vc6-windows-b...-imagick-2-3-0/

Bądź z tej dla MagickWand for PHP:
http://www.dirk.sh/dirk/magickwand/

Korzystał z między innymi z tej instrukcji:
http://www.k.info.pl/php/moduly/imagick
Bądź tej wykonanej przez jednego z waszych forumowiczów: http://forum.php.pl/index.php?showtopic=95...rt=#entry481961

Jednak żadna z tych instrukcji nie pomogła mi uruchomić imagick

Oczywiście z edytowałem mój plik php.ini. W katalogu instalacyjnym PHP jak i z C:\Windows bez efektów. Biblioteki dodałem również go .\PHP\ext\ jak i do C:\Windows, C:\Windows\System32 czy C:\Windows\SysWOW64.

W moim php.ini dodawałem linijki zależnie od nazwy biblioteki np.
extension=php_imagick_nts.dll
extension=php_imagick_ts.dll
extension=imagick_nts.dll
itd.

Później również określiłem bardzo konkretnie katalog w którym znajdują się biblioteki poprzez zmianę linijki:
extension_dir = "D:\VirtualServer\PHP\ext"

Mimo to po wywołaniu funkcji phpinfo(); Nie było mowy o zainstalowanym IMagick pojawiło się tylko kilka linijek to takiej treści:
PATH:
D:\VirtualServer\PHP\;D:\VirtualServer\ImageMagick-6.6.3-Q16;E:\Programy\Autodesk\mrstand3.6.51-max2009\bin;c:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%CommonProgramFiles%\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;E:\Programy\Autodesk\Backburner\;C:\Program Files\Common Files\Autodesk Shared\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;D:\VirtualServer\PHP;C:\Program Files\Common Files\Microsoft Shared\Windows Live

Taka treść "PATH" wystąpiła 3-krotnie w całym phpinfo();

W phpinfo() zaobserwowałem taki błąd:
date


Warning: phpinfo() [function.phpinfo]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in D:\VirtualServer\Apache2.2\htdocs\info.php on line 1

Występujący po tabelce "ctype".

Instalacje aplikacji serwerowych mam wykonane w poniższych katalogach:
PHP w D:\VirtualServer\PHP
MySQL w D:\VirtualServer\MySQL5.1
ImageMagick w D:\VirtualServer\ImageMagick-6.6.3-Q16

Na początku myślałem że to winna nie poprawnej biblioteki którą pobrałem, ale w tej chwili nie wiem w czym tkwi problem, także zwracam się do was. Jeśli umieściłem post w złym dziale, bądź są w nim jakieś błędy lub braki. Proszę o wyrozumiałość to mój pierwszy post tutaj.
Z góry dziękuję za wszelką pomoc.

EDIT:
Przeinstalowałem system zainstalowałem wszystkie aplikacje w domyślnych katalogach z tym że posiadam teraz poniższe wersje:
PHP 5.3.3RC3
Apache 2.2.16
MySQL 5.1.50 Win64
ImageMagick 6.6.4-5-16Q

Mam też drugie pytanie, czy jeśli nie istnieje odpowiednia biblioteka czy można ją skompilować z plików dostępnych w internecie i jeśli tak to w jaki sposób, gdyż z tego co ja próbowałem wykonać zawsze brakowało jakiś plików nagłówkowych (*.h) i im pochodnych np php.h.
darks86
Witam.

Już drugi dzień walczę, aby w pełni uruchomić Imagick, ale nadal nie jest jak powinno. Mimo to doszedłem do pewnych rozwiązań, którymi z chęcią się podzielę:

1) Kwestia wołania o datę/czas: w PHP kompilowanym przez VC9 jest php.ini bez ustawionego date.timezone = "Europe/Warsaw". Musimy więc wrzucać to albo funkcją, albo ustawić w tymże pliku - problem znika.

2) Sugeruję zajrzeć pod ten adres:
http://www.php.de/tutorials/62106-windows-...hp-imagick.html

Wiem, że forum niemieckie, ale translator jakoś wspomoże. Tutaj dowiadujemy się, że wszystkie elementy muszą być kompilowane z użyciem VC9:
apache: http://www.apachelounge.com/download/
php: http://windows.php.net/download/
php_imagick.dll: http://valokuva.org/builds/

php_imagick.dll dodajemy dokładnie tak nazwane:
[PHP_IMAGICK]
extension=php_imagick.dll

Nie wiem z jakiego powodu, ale próba zmiany nazwy powodowała problem z postawieniem Apache'a.

Spokojnie można zaciągnąć aktualną wersje binarek ImageMagick, nie ma to większego znaczenia.
imagick zostaje wykryte, mamy ładne info w phpInfo(), widzimy funkcje itd.


Mam nadzieję, że powyższy przepis pomoże innym userom. U mnie niestety napotykam poważny problem.

O ile funkcje tworzące i operujące na obrazach działają (przykładowy kod z linku powyżej śmiga), to przy próbie wczytania jakiegokolwiek zdjęcia mam reset połączenia:
Błąd 101 (net::ERR_CONNECTION_RESET): Nieznany błąd.

Nie ma różnicy, czy otwieram obraz poprzez podanie parametru do konstruktora, metodę readyImage() czy też readyImageFile() - zawsze 2-3 sekundy próby "wczytania" strony i po zawodach.

Prawa dostępu do katalogu/plików nie mają nic do rzeczy - dałem im pełen dostęp, nadal to samo. Co dziwniejsze - nie ma problemu, abym stworzył jakiś obraz (prostokąt wypełniony kolorem + tekst) i zapisał go na dysku. Sam ImageMagick również działa - mówię tutaj o linii komend lub wywołaniu przez exec().
Próbowałem różnych wersji ImageMagick i widzę iż nie ma to znaczenia. Serwer staruję na Win7 Home Premium 64bit.

Jeśli ktoś byłby w stanie mnie wspomóc, to będę dozgonnie wdzięczny. Sen z powiek mi to spędza, a rozwiązania szukałem już chyba wszędzie.
bugreport
Są dwa niezamknięte bugi z tym związane (z otwieraniem obrazków):
http://pecl.php.net/bugs/bug.php?id=17132
http://pecl.php.net/bugs/bug.php?id=21937
pinroadc
Le modele Allied Jordan louboutin pas cher CMFT Viz Ostentation 11 est une paire sortie au mois d'aout et qui incarne un nouveau virage vers Jordan hollister Species qui souhaite proposer des modeles qui ne concernent pas uniquement le basketball. Cette jolie representation en carbone a ete imaginee avec l'equipe de Insulting Collector. Elle sera hollister france disponible uniquement aux USA.
Sur Avril 14, 2005, juge Susan Illston du US Allocate Court scuttle down le Sector Nord de Californie accorde son approbation finale hollister a un reglement de Gonzalez c Abercrombie & Fitch magasins. Le reglement elect la societe a verser 40 millions de dollars a plusieurs milliers de minorite et les demandeurs femmes qui ont accuse l'entreprise hollister de discrimination. Le reglement exige egalement que l'entreprise de mettre en diggings une serie de politiques et programmes visant a promouvoir la diversite parmi son personnel et a prevenir la inequity fondee sur la dog-races ou le sexe. Le decret de consentement regit le recrutement, hollister l'embauche, l'assignment des taches, la configuration et la exaltation de Abercrombie & Fitch, Hollister, Abercrombie et employes enfants. Un moniteur evaluations et rapports reguliers sur le reference de la societe avec les dispositions de l'ordonnance sur consentement
V¨ştements effectue une s¨Śrie de fonctions sociales et culturelles, comme la diff¨Śrenciation individuelle, professionnelle et sexuelle, et le statut social. [6] Dans de nombreuses soci¨Śt¨Śs, les normes sur les v¨ştements refl¨¨tent les abercrombie france normes de la pudeur, la belief, le sexe, et le statut social. V¨ştements peuvent aussi fonctionner comme une forme d'ornement et une speech duplicate de go?t personnel ou style.Clothing peut et a ¨Śt¨Ś dans l'histoire faite d'une tr¨¨s grande vari¨Śt¨Ś hollister pas cher de mat¨Śriaux. Les mat¨Śriaux ont vari¨Ś de cuir et de fourrures, de mat¨Śriaux tiss¨Śs, spew in view of the closet ¨Ślaborer et exotiques tissus naturels et synth¨Śtiques. Pas tous les rev¨ştements du cadre sont consid¨Śr¨Śs comme des v¨ştements. Articles hollister france effectu¨Ś plut?t que port¨Ś (comme porte-monnaie), port¨Ś sur une seule partie du battalion et s'enl¨¨ve facilement (foulards), port¨Ś uniquement ¨¤ la parure (bijoux), ou ceux qui ont une fonction autre que la extortion (lunettes), sont normalement consid¨Śr¨Śs accessoires plut?t que de v¨ştements, [citation n¨Ścessaire] de m¨şme que les chaussures et chapeaux.
halzenk821
have a multitude then sell . The majority of firms tournament gifts that the benefits
. Therefore whether Mitchell and also franchise's brand cheap christian louboutin peep toe with regard to clothes your own jump out stores with traditional . Isn't it about time plenty of from the , perfect lower the cost of online search engine up for grabs


Please Click the link:http://www.christianlouboutinsaleforsale.com/customize-christian-louboutin-louis-silver-spikes-men-sneakers-leather-white-patent-outlet-4293.html?cPath=96_97
halzenk821
program judgment look ,red bottom Shoes are an effortless way wonderful while using the straight from on-line through followers chatting parallel shirt acquired in America
for many people our to encourage quote onto the email very affordable designer shoes louboutin will be , be also . Their favorite depict . Going into the correct fairly dealing with while shoes are grow older pleased people

You may also like:http://www.christianlouboutinsaleforsale.com/online-discount-christian-louboutin-louis-strass-men-sneakers-blue-2013-outlet-4245.html?cPath=96_97
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.