PHP Memory limit on FC4

Discussion in 'Installation/Configuration' started by comclusive, Oct 5, 2006.

  1. comclusive

    comclusive New Member

    php.ini not found on FC4

    I have followed the FC4 perfect setup, and have not installed ISPConfig. I had to go down to PHP4 for a single app, but have now gone back up to PHP5, however it now reports memory limit as 8m, yet in /etc/php.ini it is set at 24mb.

    The path for the config file is /etc in phpinfo(), but it appears that it is actually looking elsewhere?

    any help greatly appreciated


    I have found out that even though my php is configured with --with-config-file-path=/etc, in phpinfo the configuration file is shown as /etc and not /etc/php.ini, which leads me to believe the php.ini is not being found. It is looking in the right directory, so why could this be?
    Last edited: Oct 6, 2006
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    please post the output of:

    locate php.ini
  3. comclusive

    comclusive New Member


    I have investigated all possibilities that I know of. If I drop a php.ini into php.d, it finds that one and takes on the config options in it.
  4. sjau

    sjau Local Meanie Moderator

    Just a general note:

    If you have multiple php.ini on your server then make this php script:

    <? phpinfo(); ?>
    And run that in the browser. It will tell you which php.ini is being used :) It's pretty much on top (entry #6) and looks somewhat like this:
  5. comclusive

    comclusive New Member

    Not sure if you read my first post, but I did say that in phpinfo it is showing correctly... :cool:

    The phpinfo reports the config path as /etc, which if you read up, means that the php.ini is not being found. The config path is set in the php config as /etc which is correct. The php.ini is in /etc, but it is not being seen...
  6. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    ls -l /etc/php.ini

Share This Page