lemankk / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Can't set include_path in some environments #182

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Minify version:2.1.3
PHP version:5.2.10

What steps will reproduce the problem?
1.Copying min files into httpdocs folder
2.browe to /min/index.php or any of the php files in the unittests directory

Expected output:
correct php page

Actual output:
blank html page is served

Did any unit tests FAIL? (Please do not post the full list)
they won't run - the html/js unit test worked fine.

Please provide any additional information below. If this has to do with URI
rewriting, please include your DOCUMENT_ROOT, the
document_root test was fine (no trailing slash).
I installed this on a subdomain of the same web server and it works fine
there.  This is the main domain and it won't work - I've set permissions to
777 on everything but it doens't help.

Original issue reported on code.google.com by pats...@gmail.com on 6 Jun 2010 at 12:56

GoogleCodeExporter commented 9 years ago
The issue was that my host had set the include_path using php_admin_value in the
vhost.conf above my site directory so minify can't overwrite it.  I'm not sure 
how
common that is, but it might be worth considering writing it differently so the 
lib
doesn't have to be added to the include_path - the other 6 applications I run 
on my
site don't have such a requirement. 

Original comment by pats...@gmail.com on 7 Jun 2010 at 12:29

GoogleCodeExporter commented 9 years ago
The next major release :) For 2.1.4 maybe I can at least throw an error when the
include_path fails to change.

Original comment by mrclay....@gmail.com on 7 Jun 2010 at 2:33

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/minify/downloads/detail?name=minify_2.1.4_beta.zip
Has a check in the builder app for the failure of set_include_path(). That will 
have to do for 2.1.4.

Original comment by mrclay....@gmail.com on 8 Jul 2010 at 4:53