Jump to content

Jimmy99

New Members
  • Posts

    3
  • Joined

  • Last visited

Jimmy99's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Can you point me in the right direction to understand how one would debug a php application? From my perspective I am a little familiar with MS Visual Studio, where you can step into the code and check variable values as you go along. Does php have something similar, or what is the preferred method to debug a php script?
  2. I increased the memory available to the script to 1Gb and it consumed all themeory and then some. how do you know that the problem is in pipe.php and not class.osticket.php? <support@mydomain.com>: Command died with status 255: "/usr/bin/php -q /var/www/html/support/api/pipe.php". Command output: PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 262097 bytes) in /var/www/html/support/include/class.osticket.php on line 263 PHP Warning: Unknown: Error occured while closing statement in Unknown on line 0
  3. I have osTicket installed on a Centos 5 Os with php5.3.3 I upgraded the osTicket from v1.9.1 to 1.9.4 I now get the following mail when I create a ticket by mailing in the support ticket This is the mail system at host mail.mydomain.com. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to <postmaster> If you do so, please include this problem report. You can delete your own text from the attached returned message. The mail system <support@mydomain.com>: Command died with status 255: "/usr/bin/php -q /var/www/html/support/api/pipe.php". Command output: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 76 bytes) in /var/www/html/support/include/class.osticket.php on line 261 PHP Warning: Unknown: Error occured while closing statement in Unknown on line 0 The osticket guys have pointed out to me that this is a php error, but I never made any changes to the php config When I increase the memory in php.ini to 512Mb or even 1024Mb the error persists. Anyone have any ideas of whether the memory is set/can be set somewhere else or overriding what is in php.ini ?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.