Opened 9 years ago

Last modified 5 years ago

#50577 new enhancement

Add phpdbg SAPI subport to PHP port

Reported by: james.harris@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: php

Description

Hi there,

The phpdbg SAPI has shipped with PHP since v5.6, and absent xdebug for php v7.0 seems to be the go-to tool for debugging and generating code coverage information.

I've attempted to add this SAPI to the existing php port, but being new to Portfile development it's likely that I've missed something. I'd appreciate your consideration of this patch or any guidance on how it can be changed to increase the likelihood of inclusion.

Attachments (3)

select.file-php70.diff (261 bytes) - added by james.harris@… 9 years ago.
Unified diff of php70 select file
select.file-php56.diff (261 bytes) - added by james.harris@… 9 years ago.
Unified diff of php56 select file
Portfile-php.diff (1.0 KB) - added by james.harris@… 9 years ago.
Unified diff of php Portfile

Download all attachments as: .zip

Change History (7)

Changed 9 years ago by james.harris@…

Attachment: select.file-php70.diff added

Unified diff of php70 select file

Changed 9 years ago by james.harris@…

Attachment: select.file-php56.diff added

Unified diff of php56 select file

Changed 9 years ago by james.harris@…

Attachment: Portfile-php.diff added

Unified diff of php Portfile

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

Cc: ryandesign@… removed
Keywords: haspatch added; php phpdbg removed
Owner: changed from macports-tickets@… to ryandesign@…
Version: 2.3.4

comment:2 Changed 9 years ago by james.harris@…

Hi guys, I'm just chasing feedback about this. It would be great to get this included. Is there anything else I need to do, or is there a review/release cycle that I should be aware of? Thanks

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

I haven't looked into this yet.

However, I did add php70-xdebug yesterday.

comment:4 Changed 5 years ago by stronk7 (Eloy Lafuente)

With phpdbg officially bundled and stable since php56 and currently supported by IDEs, code coverage tools (phpunit)...

... it would be great to get it incorporated to the standard builds, switched with the port select php ... tool.

Was going to create a ticket and just discovered this, so sort of friendly ping. :-)

Ciao :-)

Last edited 5 years ago by stronk7 (Eloy Lafuente) (previous) (diff)
Note: See TracTickets for help on using tickets.