[SOLVED] Apache PHP Configuration
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2006
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Apache PHP Configuration

    Hi,

    I'm using Fedora 27 with apache and php 7.1.13 and was trying to change the upload_max_filesize and post_max_size in /etc/php.ini but it didn't seem like the changes would take after I restarted httpd. phpinfo() would still show the same values. So I tried renaming /etc/php.ini and /etc/php.d/ to some other values, restarted httpd and found via phpinfo() that it was still loading /etc/php.ini and a whole bunch of conf files from /etc/php.d/ even though the real root versions of them were now renamed.

    Could someone help me figure out what is going on? Is default Apache chrooted? Where is it getting its configurations from? How can I tell if my binaries are good? (in case my system has been compromised)

  2. #2
    Join Date
    Jul 2006
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Apache PHP Configuration

    I think I figured it out. I believe I also have to restart php-fpm.service (via systemctl)

  3. #3
    Join Date
    Sep 2004
    Location
    Champagne
    Posts
    130
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Apache PHP Configuration


Similar Threads

  1. Apache Configuration
    By jbuckley2004 in forum Servers & Networking
    Replies: 12
    Last Post: 25th June 2014, 04:31 AM
  2. Apache configuration
    By mbarrameda3 in forum Using Fedora
    Replies: 3
    Last Post: 14th March 2011, 08:10 PM
  3. Apache Configuration
    By gihad in forum Servers & Networking
    Replies: 6
    Last Post: 16th June 2010, 06:06 PM
  4. Apache configuration
    By chrisk in forum Servers & Networking
    Replies: 55
    Last Post: 26th November 2008, 05:49 PM
  5. Apache configuration question
    By leaded in forum Servers & Networking
    Replies: 2
    Last Post: 30th August 2006, 08:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •