Opened 13 years ago
Closed 12 years ago
#33954 closed defect (invalid)
PHP Problems with qrcode and dba
Reported by: | ajf@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | Cc: | ||
Port: | php5 |
Description
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 13 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Port: | php5 added |
comment:2 Changed 13 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 13 years ago by pixilla (Bradley Giesbrecht)
FYI, there is also pear-Image_QRCode:
$ port echo name:^pear-
comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | new → closed |
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
In the future, please fill in the Port field and Cc the maintainer(s).