Questions tagged as 'linux'

0
answers

You can use different PHP versions in lampp

I'm using linux Manjaro with the local lampp server, however the version of my php is 7.2 but I want to use the 5.6 to do some tests, my question is is it possible for me to do this procedure using the lampp?     
asked by 03.04.2018 / 04:26
0
answers

Call to undefined function fastcgi_finish_request ()

I have a Linux server where php is configured with nginx + fcgi. The fastcgi_finish_request function works correctly as expected. I have another machine with Windows 10, configured with apache + fcgi. The windows httpd.conf file has the...
asked by 28.02.2017 / 14:26
1
answer

Change default address used by Docker (172.17.0.1)

I would like to change (or remove) the address 172.17.0.1 used by docker networks, can you do that? I use docker for php development and I have a remote repository (git) configured through a VPN using the IP range 172.17.X.X. Whenever my c...
asked by 14.09.2018 / 14:00
2
answers

Problems with permissions when creating folders on Linux server using mkdir

I have a PHP system using Laravel 4.2 where I use the mkdir command to create a folder in the storage / pdf directory, the command works in the Windows Dev environment, but when uploading to the UOL server the folders are not created properly, I...
asked by 11.07.2017 / 16:35
0
answers

502 Bad Gateway - Linux, php7, nginx. How to solve this error?

I'm having a 502 error that represents some configuration on the server, when I try to open a site using linux, nginx, and php7. Searching for other POSTS , < a href="https://en.stackoverflow.com/questions/4372/how-do-not-in-new-model-in-the-ap...
asked by 06.07.2016 / 12:13
0
answers

Application in C Client-server for file transfer with TCP socket and thread [closed]

I would like to ask the forum help to make safe (encrypt) the transfer of a file between two computers. Below is the C source code of a client-server application for file transfer using TCP socket but without encryption of the transferred data....
asked by 25.11.2015 / 20:14
2
answers

Remove all line breaks from only one column of a csv file on Linux

I have a csv file with more than 500k of rows and need to remove row breaks from just one column in an efficient way besides exclude all the links that contain it, an excerpt from the file: "created_at","text","location","name","screen_...
asked by 07.03.2017 / 01:08
2
answers

Encrypt ini files

I need a script that compiles a .ini to avoid an easy reading. The file should be read with PHP. It seems that C # has a similar feature. The question is how do I do this and then I read .ini with PHP. Example of file .ini...
asked by 10.12.2014 / 22:01
0
answers

Linux Script - Search, Copy, Paste and Change file values te texto [closed]

I have these 3 files: Access.txt : Large text file with records per row and columns separated by " ; ". < br> NewAcess.txt : List of new hits to add. NewUsers.txt : List of new users to add. Sample Files:...
asked by 08.04.2015 / 20:02
2
answers

Is the dot-comma character (;) allowed in file names?

Is the " ; " character allowed in the file name? In windows you can use the character " ; " in naming of files with no problem, but I do not know if the same rule is for Mac or Linux. I researched file naming, and I found several top...
asked by 15.08.2018 / 06:53