Jump to content

Search the Community

Showing results for tags 'opcache'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 1 result

  1. Hi, I am having problems with my local server whenever I enable the PHP extension, ZendOPCache. I am able to access my websites without any problems while OPCache is disabled. I disable it by commenting out the include in my php.ini files. The include reads zend_extension="usr/lib/php5/20090626/opcache.so". When this is done my phpinfo page does not display the extension and my websites work fine. When I want my phpinfo to display ZendOPCache and all of it's settings I uncomment the line. However whenever this line is uncommented and my phpinfo displays the extension, I cannot open my sites. I can open certain .php files if they are sitting directly in my /var/www directory, like info.php or pearcheck.php, but when I try to open a directory such as localhost/phpmyadmin I get a browser error reading that "the server sent no data". My config setting in the php.ini files that my server uses are below. I am using OPCache as a suggested extension for hosting a Learning Management System named Moodle and the configuration was the one suggested in their documentation. [opcache] opcache.enable = 1 opcache.memory_consumption = 128 opcache.max_accelerated_files = 4000 opcache.revalidate_freq = 60 ; Required for Moodle opcache.use_cwd = 1 opcache.validate_timestamps = 1 opcache.save_comments = 1 opcache.enable_file_override = 0 ; If something does not work in Moodle opcache.revalidate_path = 1 ; May fix problems with include paths ; Experimental for Moodle 2.6 and later ;opcache.fast_shutdown = 1 ;opcache.enable_cli = 1 ; Speeds up CLI cron ;opcache.load_comments = 0 ; May lower memory use, might not be compatible with add-ons and other apps. If anyone has any help to offer please don't hesitate. Regards Bluekable
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.