Revert "PHP connection with database"

This reverts commit 805a68f0ec04c84e066c2965e5a2f7089ccd9846.
Revert "Revert "PHP connection with database""

This reverts commit b7f2cf735a2ee8cba3cfcdb03d30b5806f24314d.