Opened 15 years ago

Last modified 10 years ago

#24413 new defect

php5 +pear does not contain pear.conf.sample

Reported by: dweber@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: jyrkiwahlstedt, anilkumarp@…
Port: php5

Description (last modified by ryandesign (Ryan Carsten Schmidt))

In the MAMP wiki at wiki:howto/MAMP we have:

"If you installed php5 with the +pear variant you should also:"

cd /opt/local/etc/php5
sudo cp pear.conf.sample pear.conf

My system has:

$ port installed php5
The following ports are currently installed:
  php5 @5.3.2_0+apache2+macosx+pear (active)

However, the following returns nothing.

port contents php5 | grep pear.conf.sample

Change History (7)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Cc: jwa@… added
Keywords: php5 pear conf removed
Owner: changed from macports-tickets@… to ryandesign@…

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

The wiki isn't necessarily up to date. But it does seem reasonable that there should be a sample conf file.

I don't like the pear variant much anyway. I'd rather pear be split into a separate port... :/

comment:3 Changed 13 years ago by anilkumarp@…

I have the same problem as above:

macpro:/tmp>port installed php5
php5 @5.3.9_1+apache2+pear (active) 

macpro:/tmp>port contents php5-pear  php5  | egrep "(pear.conf|pear.sample.conf)"
  /opt/local/etc/pear.conf

So where is this pear.sample.conf, OR do I use the /opt/local/etc/pear.conf ?

btw... wiki:howto/MAMP is one of the best articles on installing AMP on Mac. Im using 10.7(Lion)

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

Cc: anilkumarp@… pixilla@… added
Description: modified (diff)

I intend to delete the +pear variant, or rather, to not include it when I rewrite the php ports. Instead of using pear, use MacPorts to install whatever you were going to install with pear. Bradley has spent some time to ensure that (as I recall) all pear modules are available in MacPorts.

comment:5 in reply to:  4 Changed 13 years ago by pixilla (Bradley Giesbrecht)

All pear.php.net packages short of a few that are deprecated should be in MacPorts. MacPorts also includes a number of pear packages available from other pear channels.

Please file a trac ticket for pear packages not in MacPorts.

For a list of pear packages available in MacPorts:

$ port echo name:^pear-

comment:6 Changed 13 years ago by pixilla (Bradley Giesbrecht)

Cc: pixilla@… removed

comment:7 Changed 10 years ago by jmroot (Joshua Root)

php5 is replaced by php53, which doesn’t have a pear variant. Is this still relevant?

Note: See TracTickets for help on using tickets.