By Daniel Pierce on Tuesday, 17 April 2018
Replies 3
Likes 0
Views 835
Votes 0
Support,

I'm setting up a new Ubuntu 16.04 web server for EasySocial deployment and wanted to make sure it met the system configuration requirements.

Looking at the EasySocial Documentation under Recommended Configuration it has the following:

PHP: [passthru = On].
PHP: [upload_max_filesize = 128MB].
PHP: [post_max_size = 128MB].
PHP: [magic_quotes_gpc = Off].

I can find the majority of the settings in the /etc/php/7.0/apache2/php.ini file, BUT NOT

passthru = On
magic_quotes_gpc = Off

Can you please tell me where I can find these settings.

Just want to make sure I have everything set up properly, so I don't have an issue down the road.
Thanks
Dan
Hey Daniel,

If I am not wrong, this PHP passthru no need to enable it, is because it already enabled by default, just that you do not add this passthru inside your PHP disable function section.

By right this magic_quotes_gpc should disabled from your server level, but I am not really sure ubuntu server, perhaps you can consult with your webhosting provider and see how it goes.

Or you can try add these following code into your php.ini file


[gist type="php"]
; Magic quotes for incoming GET/POST/Cookie data.
magic_quotes_gpc = Off

; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
magic_quotes_runtime = Off

; Use Sybase-style magic quotes (escape ' with '' instead of \').
magic_quotes_sybase = Off

[/gist]
·
Tuesday, 17 April 2018 15:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Arlex,

I added the configuration information to my php.ini file.

Appreciate your guidance.

Dan
·
Wednesday, 18 April 2018 04:05
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome.
·
Wednesday, 18 April 2018 10:05
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post