How to enable wordpress debug.log logging and disable PHP warnings and notices
Add following lines to your wp-config.php file
The Missing Administrator Manual
Add following lines to your wp-config.php file
1. Create swap folder By default OpenLiteSpeed use /tmp/lshttpd/swap for temp files. If your /tmp partition is small, disk may get full. To move OpenLiteSpeed swap partition to / partition do the following. 2. Copy configuration file In order to change these options will need to edit the httpd-defaults.conf file located in the /usr/local/lsws/conf/ directory. … Read more
Find file patern Change to the folder with the files. and use the below command the list 10 files to know the file name pattern. Let’s assume the results shown were as below. you can see that the files are in different file paterns. 1481437763.H954P5447.server.hostname.com 1468783501.H490580P22718.server.hostname.com 1475010772.H687029P17227.server.hostname.com 1493274854.H345961P8138.server.hostname.com 1482192789.H301559P16572.server.hostname.com 1489596894.H418001P14490.server.hostname.com 1477925020.H369024P27934.server.hostname.com 1492679074.H264189P23124.server.hostname.com 1472341025.H302369P21273.server.hostname.com 1478050624.H708736P8736.server.hostname.com Delete … Read more
If you are managing a Linux server, you may need to remotely access it from time to time. One way to do this securely is to use SSH (Secure Shell). In this beginner’s guide, we will walk you through the steps to configure an SSH server on a Linux server. What is SSH? SSH is … Read more
The latest versions of php requires you to use parenthesis in nested Conditional Assignment Operators Replace With
# line 122: make it comment Ilias-Setup-Settings:
Error: …… >> checking all the updates and settings the correct files for updating (no mirror problems!), then I get:Traceback (most recent call last):File “/usr/bin/yum”, line 29, in ?yummain.user_main(sys.argv[1:], exit_code=True)File “/usr/share/yum-cli/yummain.py”, line 229, in user_mainerrcode = main(args)File “/usr/share/yum-cli/yummain.py”, line 145, in main Solution: edit /etc/yum/pluginconf.d/fastestmirror.conf set enable=0
If you’re new to Linux server administration, managing users and groups can be a bit confusing. One task that you may encounter is removing a user from a group. In this beginner’s guide, we will walk you through the steps to remove a user from a group on a Linux server. Prerequisites Before we get … Read more
When you try to do yum update, you may get the following error yum updateLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfileCould not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386& repo=os error was14: PYCURL ERROR 6 – “”Error: Cannot find a valid baseurl for repo: base To resolve this, 1) configure resolv.conf open file /etc/resolv.conf and insert 2)configure network … Read more