You are here

PHP

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/gd.so'

After an upgrade from Lucid to Precise, my PHP install started complaining about a library:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/gd.so'

While I've got a hunch that the actual problem is related to issues I had during the upgrade, turning this error (and other similar ones) off is as simple as going into /etc/php5/conf.d and renaming the file, in this case gd.ini to something like gd.ini.bak.

Choosing the right PHP version for Windows

PHP provides a number of different versions for install in Windows. There are versions which are tagged with VC6 and other with VC9. There are also thread-safe and non-thread-safe versions of the installer available for download. After some digging and trial & error fiddlery, my conclusion is that VC9 and non-thread-safe are for the Microsoft IIS webserver while the VC6 and thread-safe installers are for Apache and other non-IIS webservers.

Hope this helps :)

Parse error: syntax error, unexpected '[', expecting T_PAAMAYIM_NEKUDOTAYIM in ...

So, what do you make of the error message in the title? I ran into this while coding in PHP and thought that I must've installed a dodgy version of PHP or might have been h4xx0r3d. But a quick google revealed that PAAMAYIM_NEKUDOTAYIM represents the :: operator in Hebrew.

Crazy dudes.

Subscribe to RSS - PHP