Symlink PHP files: File not found

Hi! I’ve created a WordPress multisite under a “wordpress” user (/home/wordpress) and registered an other domain for another user (/home/user2/…/domain.tld). I’ve created a “public_html” symlink under domain.tld directory points to wordpress/…/public_html directory, but it works only for NOT PHP files. If I call a PHP file, e.g. frontpage, it gives only “File not found.” on screen. What should I do? Thank you! Gergo

I believe you will face permission issues with that setup. If there is no special reason to have two different users, then use just one user.

This will not work as php files are ran under the user (user2). And there for run against the open base dir restriction