Jump to content

centos 6


Recommended Posts

Posted

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
  • Created
  • Last Reply
Posted

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

Posted

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*

Posted

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

Posted

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

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*

Posted

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

Posted

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.

Posted

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

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.

Posted

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

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...