[SOLVED] php symlink on shared hosting not working

PHP |

7th Jul, 2022

Click here to share

On shared hosting, after a symbolic link has been created, subsequent folders created using PHP mkdir doesn't work. Its content when accessed via the browser will however show 404 as a file not found an error

Solution

To solve this the only solution that has worked for me is by first creating all folders before the symbolic link is created or manually creating the folder within the Cpanel file manager. This is indeed cumbersome and if you have an approach that will be programmatic using PHP we will be happy to hear from you.

Leave a Reply

RELATED POSTS


Total of 0 Comment