Sponsored Content
Top Forums UNIX for Advanced & Expert Users PHP FPM and HTTP configuration Post 303045063 by busyboy on Wednesday 11th of March 2020 10:51:13 AM
Old 03-11-2020
as far as I can see your new box is ready to serve PHP from within the HTTPd server -- provided

You have php-fpm package installed for your server -- which is a YES from your list of php packages.

just place a file in /var/www/html/ like feeka.php and try browsing it?
use this code

Code:
echo "<?php echo phpinfo(); ?>" > /var/www/html/feeka.php

then try browsing the page in your browser with http://IP_OF_YOUR_MACHINE/feeka.php

or do a curl
curl http://IP_OF_YOUR_MACHINE/feeka.php

this should given your an output which will set your direction for next steps.
 

7 More Discussions You Might Find Interesting

1. Linux

http(port 80) configuration inet file

Hello everybody !! I am new to Linux and need your help. I want to configure http(port 80) in Linux inet file. This will help me give http access to outside users .Could anybody help me in this regard ? Thanks in advance (1 Reply)
Discussion started by: vikasdeshmukh
1 Replies

2. Shell Programming and Scripting

php http exploit method - pbsync hack question

I'm dealing with a website that was recently blocked by the webhost because pbsync was found on the server. I'd like for someone to give me 'a tutorial' if you will or guidance on how they are able to accomplish the below scenario.. index.php consist primarily of these tables with the following... (2 Replies)
Discussion started by: phpfreak
2 Replies

3. Programming

sending http url through http socket programming..

hi am senthil am developing a software to send and receive SMS using HTTP connection first of all am forming a URL and sending that URL to a remote server using my Client Program i send that url through Socket(using Send() Function) if i send more than one URL one by one using the same... (0 Replies)
Discussion started by: senkerth
0 Replies

4. Programming

Need a help in automating the http authenticated web page - via PHP scripting

Hi all, Need a help in PHP scripting. Am automating a process in web page. The process is 1. i have to open that web page using the user credentials (Username and password). 2. select a drop down and click submit button. 3. Then check for the status of the page. Please help me how to... (1 Reply)
Discussion started by: vidhyaS
1 Replies

5. Shell Programming and Scripting

awk script to find time difference between HTTP PUT and HTTP DELETE requests in access.log

Hi, I'm trying to write a script to determine the time gap between HTTP PUT and HTTP DELETE requests in the HTTP Servers access log. Normally client will do HTTP PUT to push content e.g. file_1.txt and 21 seconds later it will do HTTP DELETE, but sometimes the time varies causing some issues... (3 Replies)
Discussion started by: Juha
3 Replies

6. Red Hat

Settings in php-fpm

hi I have created several pools , In the directory /etc/php-fpm.d/ The pool's requirements are as follows listen = 127.0.0.1:9001 listen.owner = mn listen.group = mn And other settings Virtual Host Settings <VirtualHost 192.168.20.245:80> ServerName mn DocumentRoot... (0 Replies)
Discussion started by: mnnn
0 Replies

7. Web Development

Problem in settings php-fpm

hi I've used apache and php-fpm Handlers on my web server Web pages open at very low speeds And some pages give 503 errors I get the following warnings in php-fpm Alerts in php-fpm NOTICE: child 17630 started WARNING: child 16165 exited on signal 15 (SIGTERM) after 666.682314... (1 Reply)
Discussion started by: mnnn
1 Replies
php-config(1)                                                   Scripting Language                                                   php-config(1)

NAME
php-config - get information about PHP configuration and compile options SYNOPSIS
php-config [options] DESCRIPTION
php-config is a simple shell script for obtaining information about installed PHP configuration. OPTIONS
--prefix Directory prefix where PHP is installed, e.g. /usr/local --includes List of -I options with all include files --ldflags LD Flags which PHP was compiled with --libs Extra libraries which PHP was compiled with --man-dir The directory prefix where the manpages is installed --extension-dir Directory where extensions are searched by default --include-dir Directory prefix where header files are installed by default --php-binary Full path to php CLI or CGI binary --php-sapis Show all SAPI modules installed on the Debian system --configure-options Configure options to recreate configuration of current PHP installation --version PHP version --vernum PHP version as integer SEE ALSO
php(1) VERSION INFORMATION
This manpage describes php, version 7.0.33-6+ubuntu18.04.1+deb.sury.org+3. COPYRIGHT
Copyright (C) 1997-2017 The PHP Group This source file is subject to version 3.01 of the PHP license, that is bundled with this package in the file LICENSE, and is available through the world-wide-web at the following url: http://www.php.net/license/3_01.txt If you did not receive a copy of the PHP license and are unable to obtain it through the world-wide-web, please send a note to license@php.net so we can mail you a copy immediately. The PHP Group 2017 php-config(1)
All times are GMT -4. The time now is 09:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy