Opened 9 years ago

Closed 9 years ago

#33954 closed defect (invalid)

PHP Problems with qrcode and dba

Reported by: ajf@… Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: php5


I have two problems with the installation of PHP5.

Firstly 'phpqrcode' fails with a 'broken image' icon which I suspect is due to PHP not being compiled with GD?

Secondly phpinfo() for dba shows only 'flatfile' and not 'gdbm' which I would prefer.

What should I do?

Alan Fry

Change History (4)

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to ryandesign@…
Port: php5 added

In the future, please fill in the Port field and Cc the maintainer(s).

comment:2 Changed 9 years ago by pixilla (Bradley Giesbrecht)

In MacPorts, php extensions have their own ports. See php5-gd and php5-dba for possible solutions:

$ port echo name:^php5-

comment:3 Changed 9 years ago by pixilla (Bradley Giesbrecht)

FYI, there is also pear-Image_QRCode:

$ port echo name:^pear-

comment:4 Changed 9 years ago by ryandesign (Ryan Schmidt)

Resolution: invalid
Status: newclosed

I don't know what "phpqrcode" is but I don't think it's something we have in MacPorts. (We could perhaps add it to MacPorts, if that's desired.)

If you want gd support in MacPorts php, install the php5-gd port.

sudo port install php5-gd

If you want dba gdbm support in MacPorts php, install the php5-dba port with the +gdbm variant.

sudo port install php5-dba +gdbm
Note: See TracTickets for help on using tickets.