Install xammp in the/OPT directory. The WWW directory is/opt/lampp/htdocs/
(1) create a web directory phphbase[Root @ gd02 htdocs] # mkdir-P/opt/lampp/htdocs/phphphbase/[Root @ gd02 htdocs] # cd/opt/lampp/htdocs/phphphbase{View the example file
Nginx pathinfo that supports thinkphp now finds two problems:
1 does not support PATHINFO.
Localhost /? M = login is accessible, while localhost/login is not.
2. the address generated by the U method of THINKPHP is incorrect.
The address generated
Method one, by modifying PHP to change the Ueditor editor picture upload directory
Ueditor image upload needs to set up their own function to normal. At the same time, as shown in the following picture, the image upload plug-in "online management", "
1. Close the firewall
[Root@centos ~]# chkconfig iptables off
2. Close SELinux
Vi/etc/sysconfig/selinux
Modify the selinux=enforcing to disabled and restart the active
3, configure CentOS 6.0 third party yum source (centos default standard source
About Linux environment Nginx installation and debugging and PHP installation reference this article can be: http://blog.csdn.net/unix21/article/details/8544922
Linux version: 64-bit CentOS 6.4
Nginx Version: nginx1.8.0
PHP Version: php5.5.28 &
For details about how to install pear, phpunit, and xdebug in the PHP environment, refer to. First of all, this article is based on the wamp environment. Therefore, if you see that the wamp environment has not yet been set up, you mind setting up
I use Nginx configuration two sites, one site to be configured for HTTPS access, one is HTTP to access?
server {
Listen 443; server_name www.gzjjhd.com; SSL on; Ssl_certificate E:/WEBSERVER/NGINX/SSLKEY/WOSIGN.COM.CRT;
Compile your own php extension functions (1 ). I have been writing my own php extension function YorgoSun20020122php for a long time. Naturally, I am familiar with the functions provided by him. I really think it is very easy to use the many
Detailed steps for installing xdebugphp in php to install pearphpunit (figure ). First of all, this article is based on the wamp environment, so if you see that the wamp environment has not been set up here, you mind setting up the environment first,
1. After installing the system, turn on the sshd, close the firewall (otherwise the link is not access to Apache) shut down the security system SELinux (otherwise reported 403 access page error)Permanently effective after rebootChkconfig sshd on
Apache + Nginx + MySql + PHP configuration introduction. For more information, see
1. Enable sshd after installing the system and disable the firewall (otherwise, the external link cannot access apache). disable the security system SELinux
The first step in learning PHP is to install the PHP environment, of course, this article will not introduce a similar phpmyadmin this one-button installation of the environment to build, this installation method only need to go crazy point next
This article mainly introduces how to connect PHP to the Nginx server and parse Nginx logs. PHP + Nginx is also a very popular server construction solution. For more information, see
This article mainly introduces how to connect PHP to the Nginx
I used the anonymous (anonymous) CVS service to obtain the latest PHP version ,. If you have the GNUautoconf suite, you can generate the configure configuration file from the configure. in file. After downloading PHP from the CVS server and
: This article mainly introduces the Nginx configuration file and ReWriteUrl ~, If you are interested in the PHP Tutorial, refer. Nginx Rewrite rule-related commands
Commands related to Nginx Rewrite rules include if, rewrite, set, return, and break.
Why use 301 redirection?
There are many situations where webpage redirection is required during website construction, such as webpage directory structure change, webpage rename, webpage extension change, and website domain name change. If no
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.