Question: |
Hello!When you try to run the script http://fastwax.ispvps118.erahost.ru/vqmod/install/index.php which uses the function occurs предупреждениеWarning realpath: realpath(): open_basedir restriction in effect. File(/var/www/fastwax/data/www/fwdev.kuzz.su) is not within the allowed path(s): (.) in /var/www/fastwax/data/www/fwdev.kuzz.su/vqmod/install/index.php on line 46phpinfo infers that the open_basedir value is equal to the current Director (.)Where is this limitation?Do, please, so all php scripts in a Director /var/www/fastwax/data/www/ could read and attach the files in this direktoriumi added the following directory to the file /etc/apache2/sites-enabled/000-default, restarted apache, but it gave no results php_admin_value open_basedir \"/var/www/fastwax/data/www/\" |
Answer: |
Hello. Expect the amps. Your issue is being dealt with. |
Answer: |
Hello. because you uploaded a phpinfo ? find the information with some php.ini works Your website and change the settings in it. What You have added /etc/apache2/sites-enabled/000-default ?? |
Question: |
Yes, I look phpinfo, it shows /etc/php5/apache2/php.ini file /etc/apache2/sites-enabled/000-default has been created. |
Answer: |
please specify the Directive /etc/php5/apache2/php.ini |
Answer: |
what else have you changed on the server? |
Question: |
Indicated, but this host has not changed http://fastwax.ispvps118.erahost.ru/info.php. How to host file fastwax.ispvps118.erahost.ru? Maybe it`s the restriction there? |
Question: |
just installed git and nano |
Question: |
with svn and did not get |
Answer: |
check out the 46 terms in /var/www/fastwax/data/www/fwdev.kuzz.su/vqmod/install/index.php on line 46 $opencart_path = realpath(dirname(__FILE__) . `/../../`) . `/`; apparently You have a mismatch of paths |
Question: |
no, there is a need dirname(__FILE__) . `/../../` - it`s not set up two levels higher takasawa here http://fastwax.ispvps118.erahost.ru/admin also popping up this limit |
Answer: |
there should not be such. Something you changed in the server configuration? |
Question: |
no, php only updated when svn tried to fix |
Answer: |
as You upgraded from php? |
Question: |
apt-get install |
Question: |
Yeah, all found in the file /etc/apache2/conf.d/secure.conf restriction was |
Answer: |
OK
|