0
votes
0answers
37 views

php.ini changes doesn't apply in virtualmin nginx

I can't make changes to php.ini in virtualmin-nginx for mysite.com. phpinfo() says: Loaded Configuration File /home/mysite/etc/php5/php.ini So, I edited the file /home/mysite/etc/php5/php.ini ...
1
vote
3answers
158 views

PHP cli uses different php.ini file when run by cron

My CakePHP console script is having problems executing under cron. It complains about missing Mysql connections and such. After a little investigating I found that php run by cron uses a different ...
0
votes
0answers
396 views

Allowed memory size of 262144 bytes exhausted

Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 4864 bytes) I Increased my memory limit to 300mb, and it's still showing this error. I've restarted Apache too. Still ...
6
votes
3answers
13k views

php writing deprecated errors to apache error log

I just upgraded from Debian Lenny to Squeeze and noticed that my /var/log/apache2/errors.log is getting bombarded with the following errors: <b>Warning</b>: Directive 'magic_quotes_gpc' ...
0
votes
1answer
1k views

How to customize PHP configuration per Virtual Host under Plesk

i have a dev server (debian) managed via Plesk (9.5.2). Im wondering if is possible to change the php.ini settings for a single host while PHP is running as FastCgi/CGI application. If i run PHP as ...
1
vote
1answer
118 views

Limit sending emails via php

Is there any way to limit amount of emails user can send per day ? I run different php.ini for every user so ideal would be to limit this in .ini file ty.