After executing the following commands to install and start memcached on a VPS server, I get a 500 internal server error when accessing any files from a web browser:
$ yum install memcached php-pecl-memcache perl-Cache-Memcached python-memcached
$ /etc/init.d/memcached start
$ service httpd graceful
My apache error log shows the following error every time I attempt to load a file:
Premature end of script header: <filename>
Something else that I noticed is that I'm still able to run php files from the command line without producing any errors.
Is there something else that I need to do after installing memcached on my server in order to avoid a 500 error?