ovh

Laravel Session files not cleaning from the framework/sessions folder

送分小仙女□ 提交于 2019-12-06 04:49:27
I am on a shared host (OVH pro) using Laravel 5.2 on production (PHP 7.0.5). I am using the file session driver , and everything was working fine on my previous host (with the same app), but since I moved to OVH, the session files keep being created and are never deleted by the PHP garbage collection. I have to manually erase the files ( over 5000 files are created per day ). My config/session.php file is set up correctly: 'driver' => 'file', 'lifetime' => 120, 'lottery' => [2, 100], And my folders storage , storage/framework , storage/framework/sessions are all set with a 0755 permission. I

Private network creation with Terraform on OVH's Openstack

假装没事ソ 提交于 2019-12-06 00:48:11
I'm trying to deploy some Openstack instances on OVH's Public Cloud using Terraform. The point is (for now) to have two instances on two networks. Each instance should have an external IP address (which isn't a problem) and a internal IP address on a private network (which causes me troubles). My terraform file is : resource "openstack_compute_keypair_v2" "keypair" { provider = "openstack.ovh" name = "jpin" public_key = "${file("~/.ssh/id_rsa.pub")}" region = "GRA3" } resource "openstack_networking_network_v2" "network_1" { provider = "openstack.ovh" name = "network_1" admin_state_up = "true"

Ionic as a web server

会有一股神秘感。 提交于 2019-12-03 09:56:44
问题 I have an Ionic project and I want it to work as if it is a web server (say mamp + php). Since ionic is able to display a project in browser localy (using ionic serve), I am pretty sure it is able to do that. I have a simple ovh server. How could I do that ? 回答1: You gonna need send all your project files (www folder) and dependencies to an web server. You can try. Local $ cd [ionic project] $ ionic platform add browser $ cd [ionic project]/platforms/browser/ and move your www folder to your

Ionic as a web server

*爱你&永不变心* 提交于 2019-12-03 00:25:51
I have an Ionic project and I want it to work as if it is a web server (say mamp + php). Since ionic is able to display a project in browser localy (using ionic serve), I am pretty sure it is able to do that. I have a simple ovh server . How could I do that ? You gonna need send all your project files (www folder) and dependencies to an web server. You can try. Local $ cd [ionic project] $ ionic platform add browser $ cd [ionic project]/platforms/browser/ and move your www folder to your server [webapp] folder. Server In your server: 1.Install Node.js Install connect and serve-static $ cd