Using unmodified PHP

Discussion in 'ISPConfig 3 Priority Support' started by ChadRT, Feb 20, 2015.

  1. ChadRT

    ChadRT New Member

    How can I force one of my own sites operating under a client I built for myself that isn't using any of the modified versions?

    I have some PHP scripts that run perfectly when placed in the /var/www and I use the system's IP address. But as soon as I try to run from within a site created by ISPConfig it ceases to function. I need to force it to allow standard PHP without Fast, Mod etc.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Selcet php version "default". This is always the unmodified php version of the operating system.

    The standard that is used when you put something in /var/www folder is mod_php, so if you want to get the exact same results, you have to set it to mod_php. But this makes not much sense as it will run your scripts under a wrong user. You should take a look at the error.log to find out why your script fails and then change that setting or your script to fix that.

Share This Page