I need to enable php_intl
extension only in a subdomain of my website, so i use the .htaccess
file to do it with this code.
<IfModule mod_php4.c>
php_extension_dir php_intl.dll
php_extension php_intl.dll
</IfModule>
But not work. Someone helpe me, please?
The directive php_extension_dir
should be:
php_extension_dir <path_to__php_extensions>
Where <path_to_php_extensions>
is the absolute path to where your PHP extensions are installed. Simply putting the file name here does nothing, since a path value is expected.
If this still does not work, then PHP is set up as CGI and therefore cannot use htaccess to load modules. Take a look here if that is the case.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.