Why my local environment cannot parse the PHP files under subdirectories
Environment is
apache2.2
PHP5.4
The Htdosc in the Apache installation directory is my Web root directory.
The project I created inside cannot parse the PHP file. The
Author: Reinder de Vries, original link, original date: 2016/01/09
Translator: pucca601; proofreading: Indigo K; Final: NUMBBBBB
Editor's note: This article was written by Reinder de Vries, a standalone application developer in learnappmaking.
Here is the configuration file I modified under Nginx
Nginx and PHP-FPM can normally boot 9000 port is also normal, can access HTML files, cannot access PHP files,
To access PHP files directly download, this is my nginx.conf configuration
Location/{
1. hibernate resolves the hibernate.cfg.xml file when the following error occurred.Org.hibernate.HibernateException:Could not parse configuration:/hibernate.cfg.xmlAt Org.hibernate.cfg.Configuration.doConfigure (configuration.java:1542)At
First of all, I appear this problem, not the template really does not exist, I believe many friends will be very depressed, make a littleThere's no confidence.Let me take a look at how to solve this problem.In simple terms,The template file does not
After you modify the image suffix name, the picture Viewer can view the picture but PS Open is the error that pops up like a pieceAt this time the picture file is not damaged, in theory, you can try to right click on the image selection system to
PHP can not parse the judgment fault1./usr/local/apache/bin/apachectl-m//View there is no load php5_module (shared) module;2. Under the/usr/local/apache2/modules/directory, see if the libphp5.so module is loaded;3. Review the compiled configuration
The hibernate framework is often used to perform database operations during the project. However, when the network conditions are poor or the network is not connected, you can add, delete, modify, and query the database, the following exceptions are
(默认: 自动判断 (xml 或 html)) 请求失败时调用时间。参数有以下三个:XMLHttpRequest 对象、错误信息、(可选)捕获的错误对象。如果发生了错误,错误信息(第二个参数)除了得到null 之外,还可能是 "timeout" , "error" , "notmodified" 和 "parsererror"。The first parameter returned by the error event XMLHttpRequest has some useful
Environment is
apache2.2
PHP5.4
The Htdosc in the Apache installation directory is my Web root directory.
The project I created inside cannot parse the PHP file. The connection is reset! or the network is disconnected. Enter this path in the
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.