PHP Google AppEngine - php.ini - differentiate between local and dev environment

0 views
Skip to first unread message

XCode Warrier via StackOverflow

unread,
Nov 29, 2015, 7:33:03 AM11/29/15
to google-appengin...@googlegroups.com

Due to a quirk with Google's CURL implementation, I want to use extension = "curl.so" locally within my php.ini and curl lite within the production environment. I'm currently changing the php.ini manually each time before running appcfg.py update . but is there a way to set this automagically?

; Local dev env
extension = "curl.so"

; Production env
; google_app_engine.enable_curl_lite = "1" 


Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/33982770/php-google-appengine-php-ini-differentiate-between-local-and-dev-environment
Reply all
Reply to author
Forward
0 new messages