문제

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

도움이 되었습니까?

해결책

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.

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top