similar to: Troubleshooting php-fpm with apache on Centos 7

Displaying 20 results from an estimated 200 matches similar to: "Troubleshooting php-fpm with apache on Centos 7"

2017 Aug 08
1
Troubleshooting php-fpm with apache on Centos 7
On 8/8/2017 8:57 ??, John R Pierce wrote: > does the user apache is running as have write access to that folder ? Thank you for your reply, John. Yes, there is write access: # ls -l /var/webs/wwwgreekgeo/log/php* -rw-rw---- 1 root apache 0 Aug 7 22:58 /var/webs/wwwgreekgeo/log/php_error_log # ls -l /var/webs/wwwgreekgeo/ total 8 drwxrwx--- 2 wftpuser apache 4096 Aug 8 03:46 log
2017 Aug 08
0
Troubleshooting php-fpm with apache on Centos 7
On 8/7/2017 10:52 PM, Nikolaos Milas wrote: > As you can see, I have made efforts to enable php debugging, but I > still can't see any php logging, in any php log: > > /var/log/php-fpm/error.log > /var/log/php-fpm/www-error.log > The file: /var/webs/wwwgreekgeo/log/php_error_log remains empty does the user apache is running as have write access to that folder ?
2019 Dec 09
4
PHP handler for .html files - C7
Morning all, I am finally moving some old (F9 thru F17) servers to C7 (Plus PHP7/Pgsql10) boxes. On the old boxes they all had it set so that .htm and .html files were handled by PHP in addition to the normal .php files. This was done with the simple change to: AddHandler php5-script .php .htm .html AddType text/html .php .htm .html in /etc/httpd/conf.d/php.inc. I did the same on my first
2018 Nov 30
1
Php script not running
Hi All, I have centos 7. Apache and php are installed. CGI runs fine - php does not seem to run. I have the /etc/httpd/conf.d/php.conf file php.conf # # Cause the PHP interpreter to handle files with a .php extension. # <FilesMatch \.php$> SetHandler application/x-httpd-php </FilesMatch> # # Allow php to handle Multiviews # AddType text/html .php # # Add index.php to the list of
2015 May 08
0
Apache 2.2 itk - 404 not found
Please also check for the proper security context. Do ls -Z /var/www/html/index.html. The context type httpd_sys_content_t should be present. Regards 2015-05-08 14:32 GMT+02:00 Richard <lists-centos at listmail.innovate.net>: > More specifically -- when you get the "not found" in the browser > there should be an entry logged in the error log. E.g., tail the > error log,
2015 May 08
2
Apache 2.2 itk - 404 not found
More specifically -- when you get the "not found" in the browser there should be an entry logged in the error log. E.g., tail the error log, issue a request, and see what you see. The error log entry will show the details of what is being requested and generally gives strong hints as to why it can't be found (pathing, access, etc.). If you don't get an entry in the error log that
2007 Jul 17
3
.htaccess problems..... Using Drupal
Hi All; I am trying out the web software from www.drupal.org and I have it Installed to a point ok in my www.werren.net domains. Every time I try to use the .htaccess file in the root directory With even one command showing I get a server mis-config error on the site. The default .htaccess is shown below I use Cent OS 4.7 using the Blue Quartz installer from Nuonce Networks
2019 Dec 09
0
PHP handler for .html files - C7
> On Dec 9, 2019, at 3:38 AM, Gary Stainburn <gary.stainburn at ringways.co.uk> wrote: > > Morning all, > > I am finally moving some old (F9 thru F17) servers to C7 (Plus PHP7/Pgsql10) boxes. On the old boxes they all had it set so that .htm and .html files were handled by PHP in addition to the normal .php files. > I do not have an answer to you question, but I?m
2006 Mar 22
8
Premature end of script headers: dispatch.cgi
Hi I am running ruby 1.8.4 and rails 1.0.0 with Apache 2. I made a simple rails application called demo and also created a controller called say and an action called hello which is working fine using webrick. To run it under Apache I created a symlink demo1 which is linked to the demo/public directory. If I run it using www.example.com/demo1 then I get the "Rails- Welcome Aboard"
2004 Jan 12
14
Shorewall FAQ Wiki Online, nearly complete...
Hello, Mike Noyes and myself have populated http://wiki.rettc.com with the shorewall FAQ. This wiki is running MediaWiki, http://www.mediawiki.org. Currently, a couple items are not complete. I have just begun a heavy semester of mathematics/physics studies, and do not have much time to give to this. But, it is online, and seems to be stable. I will keep an eye out for abuse, and limit
2006 Oct 03
4
Apache Re-Write and Directories
Howdy, I am using the ''default'' Apache 2.2 mod_rewrite rules suggested from the Web site and they are working. One thing related to static (non cluster directed) resources: If I have a directory in public called ''static'', if I request it as follows: http://www.domain.com/static/ - then it works If I request it as: http://www.domain.com/static - then it
2017 Feb 01
0
time zone [SOLVED}
Added php_value date.timezone "America/New_York" to /etc/http/conf.modules.d/10.php.conf
2006 Apr 12
13
Public Directory not accessible
Been trying to deploy my rails app on Redhat ES3, Apache2, FastCGI with Plesk all day. Fun stuff. Basically, the issue that I can not solve has to do with access to /public. None of my images, javascripts, etc. are working in the app. Trying to access any of these results in a 404 (or routing error if in developer mode). Oddly, the 404 file it displays is -- you guessed it -- in fact *in*
2015 May 07
1
Apache 2.2 itk - 404 not found
What is showing in the apache error log? ------------ Original Message ------------ > Date: Thursday, May 07, 2015 04:28:16 PM -0400 > From: John <tuxfed at gmail.com> > > Directories permissions: 755 Files permissions: 644 > > On 15-05-07 04:21 PM, John wrote: >> I forgot to mention it. All the files under /var/html are owned >> by apache:apache >>
2012 Apr 24
9
Moving from Puppet 0.25 to Puppet 2.6+ : global scope/variables
Hi, I worked with puppet (< 0.25) back in 2008/2009. We were able to deploy 200 servers from scratch and manage them. It worked fine. I''m now with a new customer and I''m pushing Puppet (and I''m also back to puppet on a side project). We''re considering Puppet 2.6 to manage RHEL/CentOS 5 or 6 hosts. I''m "upgrading myself" to Puppet
2013 Mar 24
5
PHP Questions on move from CentOS 5.x to CentOS 6.x
Greetings, A malfunctioning disk this past week accelerated a lingering decision to move to CentOS 6.x from CentOS 5.x. Most of our content is functioning and being presented as it should be. However, there appear to be php-related issues. Basic squirrelmail (a php-dependent package) works correctly. However, drupal, and other php-dependent parts that call postgresql and mysql databases of
2010 Jul 30
3
Redirecting PHP error messages into a log file
Hello, I'm using CentOS release 5.5 x86_64 with the stock php-5.1.6-27.el5 and would like to redirect PHP messages into /var/log/httpd/php_log First I tried adding that file name to /etc/php.ini: error_log = "/var/log/httpd/php_log" and restarted httpd, but the file didn't appear. I've touched it and changed owner to apache.apache, but that didn't help. Then I've
2007 Jan 25
8
Mongrel with mephisto on a Virtual Private Server
Hello everyone, I am trying to setup Mongrel to work with Apache on a VPS as part of a mephisto installation. Has anyone done this, and if so how did you edit your conf file to make it work? I used the info found on the mongrel site at: http://mongrel.rubyforge.org/docs/apache.html<http://mongrel.rubyforge.org/docs/apache.html> and one time I did get a mephisto splash screen, but it was
2014 Jan 07
1
Security: Best practices, apparmor, -L, -R, -U
Hey List, Hey Guus, I would now like to secure my tinc installation. From the man page I see the following. -L I put EXTRA="-L" in /etc/default/tinc and tinc still works. -R Do I have to put libraries and device files under /etc/tinc/NETNAME to build a functional chroot jail ? Currently lsof reports these open resources for tincd: lsof -p $( pgrep tincd ) -n COMMAND PID USER FD
2019 May 16
2
Error smb_panic(): calling panic action [/bin/sleep 999999999]
Dear all, since a few days I have a panic error in my logfiles on my second joined DC, Samba version 4.3.4. Can anyone help? PANIC (pid 24120): assert failed: VALID_STAT(smb_fname->st) May 16 10:01:43 s4slave smbd[24120]: [2019/05/16 10:01:43.333006, 0] ../source3/lib/util.c:900(log_stack_trace) May 16 10:01:43 s4slave smbd[24120]: BACKTRACE: 30 stack frames: May 16 10:01:43 s4slave