Apc.php and memcache.php

I have two php i would like to use tho everytime i try and log in (even tho the login and password are 110% Right!) it say’s login failed same file’s on my none virtualmin work fine(also works on my mate’s server and xampp)

here there are and any idea’s why virtalmin is stopping me log in?

http://pastebin.com/pxjyJDJh
http://pastebin.com/G8TyATBu

Thank’s

Well, Virtualmin isn’t preventing you from logging into your PHP app, as Virtualmin is just a control panel :slight_smile: But something on this server may be configured differently than your other server.

So what’s different? I have no idea :slight_smile:

You may want to start by looking in your Apache error logs for clues – that would be in $HOME/logs/error_log.

You may also want to review the requirements for the script you’re using to make sure your server has all the correct dependencies installed, and that it doesn’t require any special configuration.

Lastly, if none of that helps, you might try changing the PHP Execution Mode to mod_php, in case that particular script isn’t working well under FCGID or CGI mode. You can do that in Server Configuration -> Website Options.

-Eric

Hmm eric i got this from the log’s

Thu Feb 24 15:56:46 2011] [error] [client 86.19.124.89] PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php5/20060613/ps.so’ - /usr/lib/php5/20060613/ps.so: cannot open shared object file: No such file or directory in Unknown on line 0

http://pastebin.com/2MQ9mLCg

Over and over again
if this is anything to do with it?

found this also
http://ubuntuforums.org/showthread.php?t=852967

It looks like PHP for that domain is configured to load a module called “ps.so”, but that particular module isn’t actually installed on the server.

If your web app relies on ps.so to work, but that’s not installed, that could certainly cause the trouble you’re seeing :slight_smile:

The Ubuntu forum you linked to mentions how to install that, by first installing the libgd2-xml-dev package (which may be named differently if you’re using CentOS), following by running “pecl install ps”.

-Eric

problem with them error’s fixed

Only seem’s to work with changing the PHP Execution Mode to mod_php

Why is that

Anyway’s thanks again Eric

It would seem you’re trying to run an opcode cacher (APC and Memcache are such), those work best in mod_php mode.

I also managed to get XCache running under FCGId (did not try and other cacher), but the problem is that every website gets its own separate copy of the cache then, which a) reduces performance and b) can cause memory usage to go through the roof.