Yes, enable the
userdir module for Apache (I'm unfamiliar with lamp-server, normally you just run
sudo a2enmod userdir but you'll have to figure out how to enable the module).
Once enabled, you can create a
public_html directory inside your home, ensure your home and
public_html have world read permissions, and you can put your PHP scripts in your
Optionally, you could add your user to the
www-data group and make
/var/www/html group-writable (
sudo chmod g+w /var/www/html).
Either approach is suitable for testing and development, for production I suggest you google around for current best PHP practice, as I'm way too rusty to suggest anything specific.