Wrong php.ini?

Discussion in 'Programming/Scripts' started by roadrunner, Apr 26, 2005.

  1. roadrunner

    roadrunner New Member

    I habe a PHP script that needs to be run from the command line and which needs more memory than PHP's default value of 8 MB. I'm running Debian Sarge and found that my php.ini is under /etc/php4/apache2/php.ini. So I increased PHP's memory limit in the file, but whenever I run my PHP script it stops immediately moaninig about not having enough memory.
    So I guess that
    might have been the wrong file to edit? Is there another php.ini?
  2. falko

    falko Super Moderator Howtoforge Staff

    I think the right php.ini for your command line PHP is


Share This Page