It depends very much on what kind of functionality you need.
PHP/webserver is stateless from a database point of view. ie: you cannot keep a transaction open while the user makes changes. In Delhpi you can keep a transaction open as long as you want.
And there's the GUI, Delhpi uses the OS's GUI elements. PHP/webserver is limited to what you can do with HTML/CSS.
On the other hand, a PHP/webserver/PGSQL solution can be used by any browser anywhere on the planet. Delphi cannot.
If you don't plan to do anything exotic with transactions and you can get by with the limited GUI functionality of the browser, then PHP/webserver is certainly an option.
PS: yes I have done it, and yes I would do it again.