osTicket reading only global php.ini (solved)

2 posts / 0 new
Last post
#1 Tue, 05/17/2011 - 17:56
Yorkki

osTicket reading only global php.ini (solved)

Virtualmin version 3.84 Pro PHP version 5.3.6 Apache version 2.2.3 short_open_tag On (in VS php.ini, not in global) Server API: CGI/FastCGI

Hi,

basically simple question: any idea how to make osTicket read VS php.ini instead of global?

I have tested this and osTicket reads only global php.ini ignoring any changes in Virtual Server php.ini, eg. /home/server/etc/php5/php.ini, but works if i change global php.ini. Everything else is working good, but when enabling crontab for mail fetching, i get short_open_tag failure (and i would really like this to be enabled only in "local" php.ini, not serverwide)

EDIT: also the phpinfo() says that: Loaded Configuration File /home/myserver/etc/php5/php.ini , which makes this weird and propably is osTicket issue...

  • Yorkki
Wed, 05/18/2011 - 16:42
Yorkki

Well, was my bad really. I got error messages from runnung cron job (fetching mail). I had not specified the ini file to use in that job, so ofcouse it used /etc/php.ini as it was just command-line php command... duh!

  • Yorkki
Topic locked