Jump to content

centos 6

Featured Replies

 

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.
  • Replies 83
  • Views 1.8k
  • Created
  • Last Reply
  • 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

  • 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.
 

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
  • Author

its actually there just reporting as not. hmm..

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*

  • Author

have not run but I know file is in both.
run from shell correct?

  • 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?

How did you install APC?

  • Author

from WHM.
thinking I should maybe from shell, some say they had to from reading I have done

  • Author

I'll try that in morning.

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

  • 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 :)

what the ...?

what is the result of

ls -l  /usr/local/lib/php/extensions/no-debug-non-zts-20090626/



you should see apc.so

  • 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*

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

  • 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.

 

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.
  • 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.

  • 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.

  • 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.

 

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.




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
 

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.
  • Author

hmm I misread it.
thats damn odd, wonder if its openVZ issue.

time to start over on that one I guess.

  • 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.

Recently Browsing 0

  • No registered users viewing this page.