Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Style

Pages: [1]
1
How to / How to change the php version to an specific folder
« on: February 09, 2023, 03:07:01 PM »
hello im trying to set php 8.1 to a folder using the next code in my .htacess, using your instructions:

url:

http://wiki.centos-webpanel.com/php-selector

code:

AddHandler application/x-httpd-php81 .php

but I have the next error:

"/opt/alt/php81/usr/bin/php-cgi" failed: No such file or directory

Maybe I have this error because I use php-fpm and the correct path is /opt/alt/php-fpm81
but there is not a php-fpm code :/

Could please help me?

Pages: [1]