alexweber15 Posted September 11, 2008 Share Posted September 11, 2008 taking a look at my local phpinfo() and remote phpinfo() configs i see some differences that im not sure i should be worried about (both are v5.2.6 btw): setting:localremote Server API:Apache 2.0 HandlerCGI Thread Safety :enableddiabled mysql (plan on using persistent connections) mysql.allow_persistent:localremote mysqli (what i actually use for all db stuff) Client API library version:5.0.51b 5.0.45 Client API header version:5.0.51a 5.0.22 CGI INFO btw (in case its useful): DirectiveLocal ValueMaster Value cgi.check_shebang_line:11 cgi.fix_pathinfo:11 cgi.nph:00 cgi.rfc2616_headers:00 - my main worry is running PHP as CGI (never done it before) - also what are the implications of disabled thread safety and the slightly not as up to date as my local apache's mysqli directives? i use a few API features basides the "bread and butter" (connect, close, select_db, query, error, errno, insertID, affected_rows), namely: commit, rollback, use/store_result, and 1 or more i cant think of off the top of my head... should i hassle them and get them to update? (all shared servers, so gonna be a pain in the ass and take forever) or are these differences negligeable? thanks!!! Quote Link to comment Share on other sites More sharing options...
alexweber15 Posted September 11, 2008 Author Share Posted September 11, 2008 sorry dont mean to autobump (at least not 5 mins after posting) but i couldnt find the EDIT button... - for the mysql directives i meant persistance is ON for local | and OFF for remote Also, on a side-note, do these mysql extension options affect the newer mysqli? afaik mysqli has no explicit persistance directive... thanks! Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted September 12, 2008 Share Posted September 12, 2008 You needn't worry about that. When using Apache there are two ways you can run PHP: as a module or as CGI. See: http://php.net/manual/en/install.unix.commandline.php and http://php.net/manual/en/security.cgi-bin.php Quote Link to comment Share on other sites More sharing options...
alexweber15 Posted September 12, 2008 Author Share Posted September 12, 2008 strange i cant seem to use sessions with php as CGI... man i hate my hosting company thx for the reply Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.