D
D
dimasibirak2017-02-03 19:57:58
PHP
dimasibirak, 2017-02-03 19:57:58

How to install Bitrix on a subdomain?

Good day, please tell me how to put Bitrix on a subdomain?
The essence of the problem:
I uploaded a backup and restore.php to the root of the subdomain, a subdomain of the site.site.ru type. I
call restore.php , and then the following error pops up
Error: this script must be started from Web Server's DOCUMENT ROOT
Next, I create the test.php file with the following content

[<?=$_SERVER['REQUEST_URI']?>],[<?=$_SERVER['DOCUMENT_ROOT']?>]

Answer:
[/test.php],[/var/www/u0090692/data/www/alpham.ru]

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2017-02-03
@UDAV99

Looks like a server configuration error. Bitrix is ​​placed in the subdomain in the same way as on the main address.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question