View Single Post
Old 08-02-2017, 10:54 AM  
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 386
Thank you

Almost online, in the end I thought I'd install an 14.04 with PHP5 native, then later with calm install a 16.04 with PHP 7. And I will manage the whole changing DNS

There are almost, the databases are online, the files are online, only one last thing is missing, the symlink.

My sites to work need to symlink to a folder that contains functions shared by all.

Usually on VPS with cpanel I created the symlink by creating a file with this code and loading it into public_html.

Code:
symlink('/home/pornupda/public_html/function_global', '/home/pornupda/public_html/transgender-hardpics.com/function_global');
Now the situation is strange...

I have these
/var/www/html/
/var/www/public_html/

In /html responds the server IP, in public_html my sites (following the tutorial has happened this)

In public_html:
Alternativegirlshardpics.com
Function_global
Transgender-hardpics.com

I tried to create the symlink with this code
Code:
symlink('/var/www/public_html/function_global', '/var/www/public_html/alternativegirlshardpics.com/function_global');
I uploaded the file in /html (I also tried /public_html/alternativegirlshardpics.com)

But he says
Code:
Warning: symlink (): Permission denied in/var/www/html/add_symlink_digitalocean.php on line 3
How do I create this symlink? What have I missed?

Can I change /html in /public_html? is a mess happening? Better rather if I move my sites from /public_html to /html? Just to put a little in order...
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote