CodeIgniter Forums

Full Version: PHP 7.2 released
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
I had problems at first to with custom fonts.

Here is how I fixed it using the .htaccess file.

Code:
    # Add Font Types
    AddType application/vnd.ms-fontobject .eot
    AddType font/truetype .ttf
    AddType font/opentype .otf
    AddType font/opentype .woff
    AddType font/opentype .woff2
    AddType image/svg+xml .svg .svgz

    <FilesMatch ".(eot|ttf|otf|woff|woff2|svg|svgz)">
        Header set Access-Control-Allow-Origin "*"
    </FilesMatch>

Add that to your ,htaccess file and you should be good to go,
I think it has to do with the https:// stuff being added.
Upgraded my XAMPP install to use 7.2 last night. No issues with CI3.1.6 so far.
You do know that PHP 7.2.4 is out right?
wow.... good to know that the new veriosn of php got release. Thanks for the update Smile but what do you mean by further problems?
Some users have been having problems with the PHP opcache.
PHP Version 7.2.5 Has been released.
thanks Blush Blush
In php 7.2 the each function is deprecated. This is used in xss_clean in Security.php and gives some problems. Not sure if this has been reported before.
They know about it, it also effects the HMVC Modules.
(05-23-2018, 07:55 AM)stef25 Wrote: [ -> ]In php 7.2 the each function is deprecated. This is used in xss_clean in Security.php and gives some problems. Not sure if this has been reported before.

it is fixed since 3.1.4

Codeigniter 3.1.4 release was 20.3.2017
Pages: 1 2 3 4