donrammer
-
Posts
5 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by donrammer
-
-
[2021-01-15 13:58:04] dev.ERROR: Couldn't write env.php. (ErrorException: file_put_contents(/var/www/html/phpvms/env.php): failed to open stream: Permission
denied in /var/www/html/phpvms/vendor/nwidart/laravel-modules/src/Support/Stub.php:135
This is what is produced when clicking the 'Configure Database' button within the laravel.log -
I had this exact problem myself this morning. It turns out I was missing a few PHP modules, and once installed it was fixed. I am running PHP 7.4, and installed the modules in CentOS by running:
sudo yum install php php-common php-opcache php-mcrypt php-cli php-gd php-curl php-mysqlnd php-pdo php-pdo_mysql
Hope this helps
Thanks
Rich
-
I am also experiencing this issue. I have the following config:
CentOS 7
Apache
PHP 7.4
I have tried both the dev and the beta released. All the pre-req's are met, and the database connection tests as 'good'. But the page just reloads when the Configure Database button is clicked. -
Hi
I am installing a new instance of phpVMS in the following configuration:
Server1 = CentOS 7 w/ Apache & PHP 7.4 = PHPVMS Web Server
Server2 = CentOS 7 w/ MariaDB = PHPVMS Database Server
I connect to the website via a nginx reverse proxy and can access the site no problem to start the installation. I can see the pre-requisite page/module page and it shows everything green and ok. I then click to input the database configuration and when I test the db connectivity with the test button, it returns ok and connects. I then click the "Setup database" button, and the page that I am on simply refreshes and nothing happens. According to the documentation, it should start to configure the db and the tables, but it just refreshes and re-displays the input boxes for the db configuration.
Has anyone encountered this?
ThanksRichard
Install stuck after setting the MySQL credentials
in Support
Posted
UPDATE: It looks to be some form of permission issue purely on that directory. As a test I set it to 0777 (not for production) and the database configuration completes.
Sorry about all the updates, but trying to be helpful to anyone else who has this issue