我可以在php.ini中设置任何这些语句

I have the following code in one of the php files:

    session_set_cookie_params(0, '/', '', false);
    session_cache_limiter('private_no_expire');
    session_cache_expire(7200);   // minutes

and wonder whether I can remove any of these statements and move them in php.ini file. After searching for something similar I have not found anything.

Is it possible to do this?

You should be able to find the documentation of the ini settings corresponding to the function calls here.

Quote from the docs:

session.cookie_lifetime specifies the lifetime of the cookie in seconds which is sent to the browser. The value 0 means "until the browser is closed." Defaults to 0. See also session_get_cookie_params() and session_set_cookie_params().

You may check the manual which says about all of them. For example:

session_cache_expire

The cache expire is reset to the default value of 180 stored in session.cache_expire at request startup time