Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
January 24, 201213 yr 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.
January 25, 201213 yr Author 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
January 25, 201213 yr Author is an issue with apc The APC.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20090626 seems to be common with whm installs.
January 25, 201213 yr 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
January 25, 201213 yr 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*
January 25, 201213 yr Author 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?
January 25, 201213 yr Author from WHM. thinking I should maybe from shell, some say they had to from reading I have done
January 25, 201213 yr 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
January 25, 201213 yr Author 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/ and root@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 :)
January 25, 201213 yr what the ...? what is the result of ls -l /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ you should see apc.so
January 25, 201213 yr Author 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*
January 25, 201213 yr 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
January 25, 201213 yr Author 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.
January 25, 201213 yr 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.
January 25, 201213 yr Author 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.
January 25, 201213 yr Author 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.
January 25, 201213 yr Author 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.
January 26, 201213 yr 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
January 27, 201213 yr 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.
January 27, 201213 yr Author hmm I misread it. thats damn odd, wonder if its openVZ issue. time to start over on that one I guess.
January 27, 201213 yr Author 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
Archived
This topic is now archived and is closed to further replies.