简体   繁体   中英

How do disable INTL extension in PHP

Is any possibility to both use INTL extension and define own Locale class in other projects? How can I disable this extension?

Here's what I did on Ubuntu 12.04 to disable Intl:

Edit /etc/php5/apache2/conf.d/intl.ini

Comment all lines insinde:

; extension=intl.ini

Restart Apache:

service apache2 restart

I am not sure if I am understanding you correctly, but you could take a look at PHP 5.3's namespaces . Within a namespace you can choose any class name you want.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM