I canโt understand for life how I can enable memcache on Mac OSX to work with apache. I installed memcache and can verify that it works through the php command line.
Next command:
php --ri memcache
reports that memcache is supported.
However, if I download a local script test that runs phpinfo () in my browser, it does not report that memcahe is installed. Running a script in my browser that creates new reports of memcache objects:
Fatal error: Class โMemcacheโ not found
I edited php.ini and added extensions = memcache.so
I restarted apache by going to "System Preferences"> "Sharing" and "Disable" and turn on "Web Access". I even tried restarting apache from the w / sudo apachectl restart command line.
, php memcache ?
!
halbert