Enkidu Posted January 24, 2012 Posted January 24, 2012 installed, no idea if its doing anything though but site ain't dead so... :smile: it is doing. Now go to whm -> plugins and configure/fine-tune your nginx from there. You should add a cron to delete the temp files and you'll find instruction on how to do that there.
Dmacleo Posted January 25, 2012 Author Posted January 25, 2012 was looking at that but before I do anything I need to read on what it is. any suggestions on what to look at? I appreciate the adice you've been giving.Total Server Memory 4096 MB Available Server Memory 3671 MB well thats a LOT better. only change was installing nginx
Dmacleo Posted January 25, 2012 Author Posted January 25, 2012 is an issue with apcThe APC.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20090626 seems to be common with whm installs.
Enkidu Posted January 25, 2012 Posted January 25, 2012 is an issue with apc seems to be common with whm installs. copy it to there it could be here/usr//lib/php/extensions/no-debug-non-zts-20090626
Dmacleo Posted January 25, 2012 Author Posted January 25, 2012 its actually there just reporting as not. hmm..
Enkidu Posted January 25, 2012 Posted January 25, 2012 what is the result of ls -l /usr/local/lib/php/extensions/no-debug-non-zts-20090626/APC* and ls -l /usr/lib/php/extensions/no-debug-non-zts-20090626/APC*
Dmacleo Posted January 25, 2012 Author Posted January 25, 2012 have not run but I know file is in both. run from shell correct?
Dmacleo Posted January 25, 2012 Author Posted January 25, 2012 get/bin/ls: cannot access /usr/local/lib/php/extensions/no-debug-non-zts-20090626/A PC*: No such file or directory for both. permission issue?
Dmacleo Posted January 25, 2012 Author Posted January 25, 2012 from WHM. thinking I should maybe from shell, some say they had to from reading I have done
Enkidu Posted January 25, 2012 Posted January 25, 2012 it should've worked. the message you received means the directory doesn't exist. So what do we have for ls -l /usr/local/lib/php/extensions/ and cat /usr/local/lib/php.ini | grep extension_dir
Dmacleo Posted January 25, 2012 Author Posted January 25, 2012 root@vps1 [~]# ls -l /usr/local/lib/php/extensions/ total 12 drwxr-xr-x 3 root root 4096 Jan 23 17:23 ./ drwxr-xr-x 15 root root 4096 Jan 23 17:23 ../ drwxr-xr-x 2 root root 4096 Jan 24 20:55 no-debug-non-zts-20090626/ androot@vps1 [~]# cat /usr/local/lib/php.ini | grep extension_dir extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20090626" ; extension_dir directive above. root@vps1 [~]# reading the output I realize something....I got no idea what I am reading LOL :)
Enkidu Posted January 25, 2012 Posted January 25, 2012 what the ...? what is the result of ls -l /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ you should see apc.so
Dmacleo Posted January 25, 2012 Author Posted January 25, 2012 total 960 drwxr-xr-x 2 root root 4096 Jan 24 20:55 ./ drwxr-xr-x 3 root root 4096 Jan 23 17:23 ../ -rw-r--r-- 1 root root 738793 Jan 24 21:20 apc.so -rwxr-xr-x 1 root davemac 224175 Jan 23 18:05 suhosin.so*
Enkidu Posted January 25, 2012 Posted January 25, 2012 then where is the problem? the APC extension is there. The extension directory is there. Can it be a wrong setting in php.ini? cat /usr/local/lib/php.ini | grep -i apc and php -i | grep -i apc
Dmacleo Posted January 25, 2012 Author Posted January 25, 2012 thats what I am wondering about, need to verify the ini actually has it I think. its listed in php config in whm. working on deleting my old vps and nameservers right now (always fun..) and had just thought about the ini a few moments ago.
Enkidu Posted January 25, 2012 Posted January 25, 2012 thats what I am wondering about, need to verify the ini actually has it I think. its listed in php config in whm. working on deleting my old vps and nameservers right now (always fun..) and had just thought about the ini a few moments ago. the only thing I'm thinking of is that the installation of apc failed and you haven't noticed that. Have you installed pecre before installing apc through pecl? CentOS doesn't come with pecre ASAIK. So you need to do that first.
Dmacleo Posted January 25, 2012 Author Posted January 25, 2012 iirc I did, iirc had to do it through shell. from what I have read uninstalling then doing through shell has corrected for people too, may take a look at that manner.
Dmacleo Posted January 25, 2012 Author Posted January 25, 2012 odd php test file show its there....just that error is in whm when instal or updating. tried doing through shell too, same thing. some say php 5.3 issue...dunno.
Dmacleo Posted January 25, 2012 Author Posted January 25, 2012 going to try CSF now as suggested, anything to be aware of when installing? again thank you for the help. also, even with the whm error, apc seems to be working.
Enkidu Posted January 26, 2012 Posted January 26, 2012 odd php test fileshow its there....just that error is in whm when instal or updating. tried doing through shell too, same thing. some say php 5.3 issue...dunno. if it's there then let's ignore whm for the while going to try CSF now as suggested, anything to be aware of when installing? again thank you for the help. nothing I can remember. It will configure itself for whm (open the necessary ports and what alike) the good thing about csf is that it will give you recommendations about improving the security of your server...very handy. and it has pre-sets for the level of security. it can also monitor files modifications but I even haven't scratched the serface
Grumpy Posted January 27, 2012 Posted January 27, 2012 going to try CSF now as suggested, anything to be aware of when installing? again thank you for the help. also, even with the whm error, apc seems to be working.Actually, it shows apc NOT working. Uptime = 0 cached files = 1.
Dmacleo Posted January 27, 2012 Author Posted January 27, 2012 hmm I misread it. thats damn odd, wonder if its openVZ issue. time to start over on that one I guess.
Dmacleo Posted January 27, 2012 Author Posted January 27, 2012 gonna try php 5.2.17 as some reports said that worked. if it works then will try 5.3.8 (I was 5.3.9) and see
Recommended Posts
Archived
This topic is now archived and is closed to further replies.