Jump to content
php.lv forumi

GD Modulis


Recommended Posts

Nu man ir problemas ar GD moduļa pievienošanu. Nu man tas GD modulis ir folderitī 'extensions' un php ini failaa man tas modulis ir atkomentets, takšto visam būtu jaiet, bet tā nav. Varbūt vēl ko vajag?

Link to comment
Share on other sites

Nu man ir problemas ar GD moduļa pievienošanu. Nu man tas GD modulis ir folderitī 'extensions' un php ini failaa man tas modulis ir atkomentets, takšto visam būtu jaiet, bet tā nav. Varbūt vēl ko vajag?

Pārstartēt apaci?

Link to comment
Share on other sites

Nu es daruju šitā: atkomentēju vēl kaut kādu tur moduli, restarteju apache un skatijos phpinfo(); tur kur ir rakstīts Additional Modules bet tai ailē ir tukšums, nav ne GD ne citi ko atkomentēju. Varbūt japārbauda savādāk?

Link to comment
Share on other sites

Nesaprotu šito: PHP ini failā

; Directory in which the loadable extensions (modules) reside.

extension_dir = D:\usr\local\php\extensions

Bet phpinfo(); lapā
extension_dir c:\php4 c:\php4
Link to comment
Share on other sites

Atradu

;include_path = ".;c:\php\includes"
un
; crack.default_dictionary = "c:\php\lib\cracklib_dict"
Bet tie ir aizkomenteti, takšto neskaitās. Un man šķiet, ka php to ini failu neredz, jo nomainiju register globals no OFF uz ON un phpinfo(); nekas nemainijās. Murgs kaut kāds!!!
Link to comment
Share on other sites

a kurā vietā tev tas php.ini atrodas? Dokumentācijā ir rakstīts tā:

The next step is to set up a valid configuration file for PHP, php.ini. There are two ini files distributed in the zip file, php.ini-dist and php.ini-recommended. We advise you to use php.ini-recommended, because we optimized the default settings in this file for performance, and security. Read this well documented file carefully and in addition study the ini settings and set every element manually yourself. If you would like to achieve the best security, then this is the way for you, although PHP works fine with these default ini files. Copy your chosen ini-file to a directory where PHP is able to find and rename it to php.ini. By default PHP searches php.ini in your Windows directory:

 

On Windows 9x/ME/XP copy your chosen ini file to your %WINDIR%, which is typically C:\Windows.

On Windows NT/2000 copy your chosen ini file to your %WINDIR% or %SYSTEMROOT%, which is typically C:\WINNT or C:\WINNT40 for NT/2000 servers

http://lv.php.net/manual/en/install.windows.php

Link to comment
Share on other sites

Es atradu kļūdu php.ini bija ar nosaukumu php.ini-diclimer vai kaut kaa taa. Tapēc apache nevarēja to atrast. Nu bet tas tagad taka būtu! Paldies tev Aleksej, ka paklīdzēji atrisināt problēmu.

Link to comment
Share on other sites

×
×
  • Create New...