vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I found that with PHP5 the gdlib functions stopped working for me, apparently because php.Slackbuild now uses --with-gd=shared. After building PHP with the bundled gdlib enabled, everything was working again, but I would prefer using the stock php package, so I wonder if I miss something to get PHP5 working with the external gdlib. Using slack-current with gd-2.0.35 installed. Any sugestions? TIA Joerg -- For email use g m x d o t n e t |
| |||
| jstadermann@see_signature.net wrote: > Hi, > > I found that with PHP5 the gdlib functions stopped working for me, > apparently because php.Slackbuild now uses --with-gd=shared. > After building PHP with the bundled gdlib enabled, everything was > working again, but I would prefer using the stock php package, so > I wonder if I miss something to get PHP5 working with the > external gdlib. > > Using slack-current with gd-2.0.35 installed. You might be mis-understanding what --with-gd=shared does. 'shared' builds a loadable gd extension for PHP, as opposed to compiling the GD extension in to the PHP executable. It does not refer to using the GD library included with PHP, versus using an external GD library such as /usr/lib/libgd.* included in Slackware. You should always use the GD library included with PHP, unless you have a really good reason not to, and shared (loadable) extensions are also nearly always the way to go. So maybe the problem is somewhere else? |
| ||||
| ljb wrote: > jstadermann@see_signature.net wrote: >> Hi, >> >> I found that with PHP5 the gdlib functions stopped working for >> me, >> apparently because php.Slackbuild now uses --with-gd=shared. >> After building PHP with the bundled gdlib enabled, everything >> was working again, but I would prefer using the stock php >> package, so I wonder if I miss something to get PHP5 working >> with the external gdlib. >> >> Using slack-current with gd-2.0.35 installed. > > You might be mis-understanding what --with-gd=shared does. > 'shared' builds a loadable gd extension for PHP, as opposed to > compiling the GD extension in to the PHP executable. It does not > refer to using the GD library included with PHP, versus using an > external GD library such as /usr/lib/libgd.* included in > Slackware. You should always use the GD library included with > PHP, unless you have a really good reason not to, and shared > (loadable) extensions are also nearly always the way to go. So > maybe the problem is somewhere else? Silly me, of course you are right. All I had to do was loading gd.so in php.ini. THX Joerg -- For email use g m x d o t n e t |