Fixing integration issues of manually installed WordPress, M_MySQL

php中文网
发布: 2016-06-01 13:13:30
原创
1126人浏览过

WordPress

error#1:

Your PHP installation appears to be missing the MySQL extension which is required by WordPress.

image

Fix:Enable MySQL Extension for Php via php.ini as shown below:

;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;

; If you wish to have an extension loaded automatically, use the following
; syntax:
;
;   extension=modulename.extension
;
; For example, on Windows:
;
;   extension=msql.dll
;
; … or under UNIX:
;
;   extension=msql.so
;
; … or with a path:
;
;   extension=/path/to/extension/msql.so
;
; If you only provide the name of the extension, PHP will look for it in its
; default extension directory.
;
; Windows Extensions
; Note that ODBC support is built in, so no dll is needed for it.
; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
; extension folders as well as the separate PECL DLL download (PHP 5).
; Be sure to appropriately set the extension_dir directive.
;

extension=php_mysql.dllimage

and also add up below locations to:

;;;;;;;;;;;;;;;;;;
; Fopen wrappers ;
;;;;;;;;;;;;;;;;;;

extension_dir = “C:/php55/ext/”
error_log = “C:/windows/Temp/php-5.5.12_errors.log”
upload_tmp_dir = “C:/windows/Temp/”
cgi.force_redirect = 0
cgi.fix_pathinfo = 1
fastcgi.impersonate = 1
fastcgi.logging = 0 

image

Error#2:

HTTP Error 500.0 – Internal Server Error

C:/php55/php-cgi.exe – The FastCGI process exited unexpectedly

Module

FastCgiModule

Notification

ExecuteRequestHandler

Handler

PhpWin55

Error Code

0x000000ff

Tavus
Tavus

Tavus是一个AI视频生成平台,可以自动将你的视频个性化给每个观众。

Tavus 128
查看详情 Tavus

Requested URL

http://www.psp.com:80/index.php

Physical Path

C:/PSP/index.php

Logon Method

Anonymous

Logon User

Anonymous

image

Troubleshooting: Install Php Manager for IIS to see what’s going wrong with your Php.ini

image

Verify the FastCGI settings at Server level that gets inherits to the web sites

image

Fix:

Delete the Web.Config from your Web site root and Restart IIS to recreate it afresh. Ensure it has the Handler and Default document config entered as shown below

<?xml version="1.0" encoding="UTF-8"?><configuration>	<system.webServer>		<handlers>			<add name="PhpWin55" path="*.php" verb="*" modules="FastCgiModule" scriptProcessor="C:/php55/php-cgi.exe" resourceType="Either" requireAccess="Script" />		</handlers>		<directoryBrowse enabled="false" />		<defaultDocument>			<files>				<clear />				<add value="index.php" />				<add value="Default.htm" />				<add value="Default.asp" />				<add value="index.htm" />				<add value="index.html" />				<add value="iisstart.htm" />				<add value="default.aspx" />			</files>		</defaultDocument>	</system.webServer></configuration>
登录后复制

p>Upon Successful configuration of Php for IIS, you’ll see Php Manager reporting as below:

image

WPS零基础入门到精通全套教程!
WPS零基础入门到精通全套教程!

全网最新最细最实用WPS零基础入门到精通全套教程!带你真正掌握WPS办公! 内含Excel基础操作、函数设计、数据透视表等

下载
来源:php中文网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号