Home php教程 php手册 博客乔迁之喜

博客乔迁之喜

Jun 06, 2016 pm 08:07 PM
This year blog

今年事情一直很多,都快几个月没有打理博客了,真是对不住大家了。 最近一段时期,服务器不知道怎么搞的,一直不稳定,经常出问题,很是让人郁闷。其实使用burst的vps已经有两年多了,总体情况还算可以,不知道最近为何这般表现,可能是超售的后遗症吧。本来

今年事情一直很多,都快几个月没有打理博客了,真是对不住大家了。

最近一段时期,服务器不知道怎么搞的,一直不稳定,经常出问题,很是让人郁闷。其实使用burst的vps已经有两年多了,总体情况还算可以,不知道最近为何这般表现,可能是超售的后遗症吧。本来打算这一期到期了再续费呢,看来是不能再继续沉默下去了。

于是在这个难得的周末,选了个新家,经过一天的不懈努力,终于顺利搬家成功,这里要感谢LP大人的理解和支持,哈哈。

搬家的过程中遇到了些小问题,不过都一一解决了。这里有一点需要提及的是:搬家后,发现博客无法正常显示了,页面空白,登录后台还是可以的。经查发现,主题相关的功能出现了问题,无法显示已经安装的主题列表,登录到服务器删除外部主题,只保留wordpress默认主题,后台主题管理页面提示:“主题目录是个空目录或主题目录不存在。请价差主题是否安装妥当。”

更换到默认主题后,前台页面可以正常显示了。折腾了半天,排查了数据库和文件没有任何问题,搜索之后发现原来是环境的问题。由于更新了新的LNMP相关软件,与之前的配置有所不同。其中php的默认配置就导致了这个问题的出现,当然一个巴掌拍不响,wordpress版本升级之后主题列表功能使用到了scandir()函数,而在php.ini的默认设置中是被禁用了的。

找到了原因,解法就比较简单了。打开php.ini文件,搜索disable_functions后仔细查看就可以看到scandir的身影了,对了干掉它就可以了。

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Start from scratch and guide you step by step to install Flask and quickly establish a personal blog Start from scratch and guide you step by step to install Flask and quickly establish a personal blog Feb 19, 2024 pm 04:01 PM

Starting from scratch, I will teach you step by step how to install Flask and quickly build a personal blog. As a person who likes writing, it is very important to have a personal blog. As a lightweight Python Web framework, Flask can help us quickly build a simple and fully functional personal blog. In this article, I will start from scratch and teach you step by step how to install Flask and quickly build a personal blog. Step 1: Install Python and pip Before starting, we need to install Python and pi first

What are the top ten open source PHP blog systems in 2022? 【recommend】 What are the top ten open source PHP blog systems in 2022? 【recommend】 Jul 27, 2022 pm 05:38 PM

Blog, also translated as web log, blog or blog, is a website that is usually managed by individuals and posts new articles from time to time. So how to set up a blog? What are the PHP blog systems? Which blogging system is best to use? Below, PHP Chinese website will summarize and share the top ten open source PHP blog systems with you. Let’s take a look!

Create a simple blog: using PHP and SQLite Create a simple blog: using PHP and SQLite Jun 21, 2023 pm 01:23 PM

With the development of the Internet, blogs have become a platform for more and more people to share their lives, knowledge and ideas. If you also want to create a blog of your own, then this article will introduce how to use PHP and SQLite to create a simple blog. Determine the needs Before starting to create a blog, we need to determine the functions we want to achieve. For example: Create a blog post Edit a blog post Delete a blog post Display a list of blog posts Display blog post details User authentication and permission control Install PHP and SQLite We need to install PHP and S

Build a blog website using the Python Django framework Build a blog website using the Python Django framework Jun 17, 2023 pm 03:37 PM

With the popularity of the Internet, blogs play an increasingly important role in information dissemination and communication. In this context, more and more people are starting to build their own blog sites. This article will introduce how to use the PythonDjango framework to build your own blog website. 1. Introduction to the PythonDjango framework PythonDjango is a free and open source web framework that can be used to quickly develop web applications. The framework provides developers with powerful tools to help them build feature-rich

How to create a simple blog using PHP How to create a simple blog using PHP Sep 24, 2023 am 08:25 AM

How to create a simple blog using PHP 1. Introduction With the rapid development of the Internet, blogs have become an important way for people to share experiences, record life and express opinions. This article will introduce how to use PHP to create a simple blog, with specific code examples. 2. Preparation Before starting, you need to have the following development environment: a computer with a PHP interpreter and Web server (such as Apache) installed, a database management system, such as MySQL, a text editor or IDE3

How to create a blog How to create a blog Oct 10, 2023 am 09:46 AM

You can create a blog by determining the topic and target audience of the blog, choosing a suitable blogging platform, registering a domain name and purchasing hosting, designing the appearance and layout of the blog, writing quality content, promoting the blog, and analyzing and improving it.

A complete guide to installing and building a blog on CentOS A complete guide to installing and building a blog on CentOS Feb 14, 2024 pm 08:27 PM

This article will introduce in detail how to install and build a blog on CentOS system, including the required software installation, configuration and basic usage. At the end of the article, I will share a little Linux knowledge. With the continuous development of Internet technology, more and more people choose to use blogs to record their lives and share knowledge. As a popular Linux distribution, CentOS is stable and secure and is suitable for building blogs. This article will Detailed introduction to the steps of installing and setting up a blog on CentOS. Preparation before installation 1. Make sure that the CentOS operating system has been installed and can be connected to the Internet. 2. Have basic knowledge of Linux command line operations. Install Apache server 1. Open the terminal and use the following command

How to implement blog development in Croogo framework? How to implement blog development in Croogo framework? Jun 03, 2023 pm 03:51 PM

The Croogo framework is a flexible, extensible PHP framework that provides a modular and plug-in architecture that allows developers to customize the functionality and appearance of the website. In this article, we will introduce how to use the Croogo framework for blog development. Install the Croogo framework Before starting to use the Croogo framework to develop a blog, we need to install the Croogo framework. You can download the latest version of Croogo framework from the official website and install it according to the instructions in the official documentation. Install blog module C

See all articles