HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Programming/Scripts (http://www.howtoforge.com/forums/forumdisplay.php?f=7)
-   -   Wrong php.ini? (http://www.howtoforge.com/forums/showthread.php?t=45)

roadrunner 26th April 2005 15:13

Wrong php.ini?
 
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
Code:

/etc/php4/apache2/php.ini
might have been the wrong file to edit? Is there another php.ini?

falko 26th April 2005 15:29

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

Code:

/etc/php4/cli/php.ini


All times are GMT +2. The time now is 15:11.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.