Re: PHP-FPM, PHP code in browser

2018-10-07 Thread Federico Bruni
Il giorno lun 8 ott 2018 alle 5:04, Benjamin Smith ha scritto: [...] I have apache/php-fpm running on an ubuntu vm. File layouts are different from fedora but enough is similar that this may help. Again, this is ubuntu... /etc/php/7.2/fpm/php.ini engine = On

Re: PHP-FPM, PHP code in browser

2018-10-07 Thread Benjamin Smith
I've checked all of these to no avail. So I did a firm reset, not only removing RPMs but also deleting any and all stale config files in /etc. Now, after re-installing the RPMs, the default directory (/var/www/html/phpinfo.php) works fine. However, the site config file doesn't work, I get PHP

Re: PHP-FPM, PHP code in browser

2018-10-07 Thread Mike Wright
On 10/07/2018 01:09 PM, Benjamin Smith wrote: I'm unable to get PHP too actually *run* instead of just downloading the PHP sources. Coming from years of experience with Mod PHP wand I know that PHP FPM is different. I've confirmed that both RPMs (native FC 27) are installed, and that PHP-FPM

Re: Hard drive to sleep

2018-10-07 Thread Tim via users
Allegedly, on or about 7 October 2018, Ralf Corsepius sent: > HW-wise you should check if your drive-hardware is suiteable to be > frequently "put to sleep/woken up". Most NAS- or server-class HDDs > are not, most desktop/notbook drives are. All the domestic NASs, that I've seen, put their

Re: PHP-FPM, PHP code in browser

2018-10-07 Thread Eddie O'Connor
I found thisdunno if it will help? https://stackoverflow.com/questions/15023540/how-to-determine-which-script-is-being-executed-in-php-fpm-process#15029578 Sorry if this posts in the wrong positionI'm sending from my phone while out and about! EGO II On Sun, Oct 7, 2018, 4:10 PM

PHP-FPM, PHP code in browser

2018-10-07 Thread Benjamin Smith
I'm unable to get PHP too actually *run* instead of just downloading the PHP sources. Coming from years of experience with Mod PHP wand I know that PHP FPM is different. I've confirmed that both RPMs (native FC 27) are installed, and that PHP-FPM and Apache are installed. I tried moving

Re: Hard drive to sleep

2018-10-07 Thread Patrick Dupre
Hello Thank, However, I am not sure to peak every things. What does it mean HW-wise SW-wise? Sorry for my ignorance. By the way. I would like to make the hard drive sleeping. I can use hdparm -y /dev/sdx or hdparm -B 50 -S 36 /dev/sdx but I would it stays sleeping till next reboot, or that I

Re: Hard drive to sleep

2018-10-07 Thread Ralf Corsepius
On 10/7/18 9:29 AM, Patrick Dupre wrote: Hello, Is it safe to put a hard drive on sleep? Depends on your use-case. SW-wise it is pretty save to "put to sleep" not frequently used drives ("data"/"backup" drives). "Putting to sleep" drives hosting system-partitions or partitions hosting

Hard drive to sleep

2018-10-07 Thread Patrick Dupre
Hello, Is it safe to put a hard drive on sleep? I will have to wake it up, later. (I need to minimize the power consumption during a period of time) Thank. /dev/sdb: ATA device, with non-removable media Model Number: HGST HTS721010A9E630 Serial

Re: copy /home on one laptop to another

2018-10-07 Thread Ed Greshko
On 10/7/18 6:45 AM, Ed Greshko wrote: > my ISP has deployed VLAN technology in their network Sorry to respond to my own post. In case anyone in interested, VLANs operate at Layer 2 of the OSI stack.  Routers, on the other hand, operate at Layer 3. That is why, when 2 devices are on the same