I have a dev server with several virtual hosts on it. Each one needs to be able to run the command: propel-gen ./ creole That script executes some php that reverse-engineers the database... BUT the php it executes needs to be included to do so.
There is no include_path set in the php.ini because it would be global to all virtual hosts. I need the include_path to be unique for each vhost.
How can I have this work on the command-line? (note: htaccess won't work, because command-line doesn't go through apache).
Is there another way around this problem? Perhaps passing a command-line param to set an include path? Perhaps setting something in .bashrc? :(
P.S. - The script works fine on my mac, which has a hard-coded include path