Cpanel 多版本php切换 .htaccess


<IfModule mod_fcgid.c>
FcgidWrapper /usr/local/cpanel/cgi-sys/php53 .php



root@host [/usr/local/cpanel/cgi-sys]# cat php53

# If you customize the contents of this wrapper script, place
# a copy at /var/cpanel/conf/apache/wrappers/php5
# so that it will be reinstalled when Apache is updated or the
# PHP handler configuration is changed

exec /usr/php53/bin/php-cgi -d open_basedir=/home/`whoami`:/tmp

发表评论 0

Your email address will not be published. Required fields are marked *