Opened 14 years ago

Last modified 9 years ago

#24413 new defect

php5 +pear does not contain pear.conf.sample — at Version 4

Reported by: dweber@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: jwa@…, anilkumarp@…, pixilla@…
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 (4)

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

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

comment:2 Changed 14 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 12 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 12 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.

Note: See TracTickets for help on using tickets.