Opened 10 years ago

Closed 7 years ago

#45639 closed defect (fixed)

Update wordpress dependencies

Reported by: EnekoGotzon Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: Cc: Schamschula (Marius Schamschula), diochnos, nerdling (Jeremy Lavergne), ryandesign (Ryan Carsten Schmidt), dinesh6828
Port: wordpress

Description

The wordpress port still depends on obsolete php5-* ports. It should be updated to use newer phpXY-ports instead.

Trying to install wordpress port constantly fails:

  • Dependencies to be installed: php5-gd php5-mysql php5-web php5 php5-zip
  • Configuring php5-gd always produces this error: php5-gd has been made obsolete by the port php53-gd. Please install php53-gd instead.
  • php53-gd is successfully installed.

OS X Yosemite / Xcode 6.1

Ports cleaning done

Attachments (1)

main.log (2.2 KB) - added by EnekoGotzon 10 years ago.

Download all attachments as: .zip

Change History (11)

Changed 10 years ago by EnekoGotzon

Attachment: main.log added

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: update dependencies removed

This needs #45008.

comment:2 Changed 10 years ago by Schamschula (Marius Schamschula)

Cc: mschamschula@… added

Cc Me!

comment:3 Changed 10 years ago by diochnos

Cc: diochnos@… added

Cc Me!

comment:4 Changed 10 years ago by diochnos

Hi,

I was wondering what the status is on WordPress given that there was also a security release (4.0.1: https://wordpress.org/news/2014/11/wordpress-4-0-1/) on November 20th. Long story short, I am responsible for having an up-to-date installation of WordPress on a specific machine (even though I am not responsible for maintaining the content) and I have an imminent deadline on upgrading WordPress to a release that deals with the recent vulnerability issue. Thus, my question could also be: if I update the entire system (Mavericks/MacPorts-2.3.1 to Yosemite/MacPorts-2.3.3) but without installing WordPress through MacPorts, would it be reasonable to expect that an ad-hoc installation of WordPress (by using the 4.0.1 release available from the WordPress website) would work smoothly with Apache/PHP that will be installed through MacPorts? Has anyone tried this? I have postponed for quite some time upgrading this machine to Yosemite because I have been waiting for this issue to be resolved. However, I have no more time waiting. Any idea pointing me to the right direction would be appreciated.

Thank you, Dimitris

comment:5 Changed 10 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added

Cc Me!

comment:6 Changed 10 years ago by nerdling (Jeremy Lavergne)

Cc: ryandesign@… added

Adding ryan for PHP guidance.

php5-web is broken: should it be removed entirely, or should we depend on php-fpm?

Similarly, which version of PHP should be used?

comment:7 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

php5-web should be replaced by php53-web when available; see #45008.

Likely, wordpress should have variants for each possible version of php, like phpmyadmin does.

comment:8 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

diochnos, ports don't get updated unless someone volunteers to do so, and nobody has volunteered to do this for the wordpress port. If you or anyone else is interested in wordpress and would like to volunteer to keep the port updated and become the port's maintainer, by all means please do so.

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

Cc: dinesh6828 added

Has duplicate #53666.

comment:10 Changed 7 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

In 8a5d39f171cb9d800b22c7e22c8ebda96b6c1e5e/macports-ports:

wordpress:

  • Update to version 4.7
  • Remove non-existant dependencies
  • Add variants for php55 php56 php70 and php71

Closes: #45639
Closes: #53223
Closes: #54284
See: #53522

Note: See TracTickets for help on using tickets.