domains/mydomian/public_html
domains/mydomian/public_html/web
Instead, move the data to domains/mydomain/ and then delete the web directory. Create a symbolic link web (ln -s) in its place to the public_html directory, and add it to open_basedir (for example, in the hosting account panel): :/home/login/domains/mydomain/
admin Then,My website tree like this: public_html/ many_sources with a public dir ,i need to access public, if i access web.site/public,it would not found some css or js,which is in the father dir of public. php_website or how to change work folder
I tried your approach to my web,it works. Creay,Thanks a lot