D
D
Dmitry2017-01-18 14:05:28
PHP
Dmitry, 2017-01-18 14:05:28

How to run php on Jelastic data container?

Recently they were transferred to the version of Jelastic 4.9.2, data storage containers appeared there. I mount directories from containers to environments using the UI control panel. All files in the mounted directories are visible, the rights are configured, but there is a problem. PHP does not see any files from the mounted directory. All php settings are default, openbase_dir is disabled, the owner of the directory and files is nginx:nginx.
On the side of the data container, it is exported like this

"/data/files/owncloud"	10.50.8.XX(async,rw,no_subtree_check,no_root_squash)

On the web server side, the fstab entry is:
nodexx-apl-storage.jelastic.xx:/data/files/owncloud	/mnt/owncloud	nfs	soft,intr,udp,nolock,vers=3,rw	0	0

Error code
*796 FastCGI sent in stderr: "Unable to open primary script: /mnt/www/html/info.php (No such file or directory)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rPman, 2017-01-18
@rPman

you are not confused by the path to the script in the error?
/mnt/www/html/info.php
and mount
/mnt/owncloud

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question