Koozali.org: home of the SME Server

vtiger and php5 problems

Offline riccge

  • **
  • 36
  • +0/-0
vtiger and php5 problems
« on: December 14, 2006, 12:19:54 PM »
I've installed PHP5 as explained here : http://schwarzecker.homelinux.net/index.php
and all went fine but when i try to finish the web installation of vtiger i have a blank page and into log messages there is this error:

Dec 14 12:07:57 servente httpd: PHP Fatal error:  Allowed memory size of 16777216 bytes exhausted (tried to allocate 7 bytes) in /home/e-smith/files/ibays/crm/html/modules/Contacts/contactSeedData.php on line 9569

Any suggestion?

Riccardo
......

Offline xboxer21

  • ***
  • 60
  • +0/-0
php.ini
« Reply #1 on: December 15, 2006, 03:51:31 PM »
riccge,
try this....
Code: [Select]
nano /etc/e-smith/templates/etc/php.ini/20ResourceLimits
change the 30 to 600 as suggested by the installer, also change the Memory Limit if necessary.
Then run
Code: [Select]
expand-template /etc/php.ini
Restart apache by running
Code: [Select]
/etc/init.d/httpd restart

Or do it the the recomended way.....
Code: [Select]
mkdir -p /etc/e-smith/templates-custom/etc/php.ini
cp /etc/e-smith/templates/etc/php.ini/20ResourceLimits /etc/e-smith/templates-custom/etc/php.ini

then follow the steps mentioned above to edit, expand the template and restart httpd.
......