这2天网上转悠,发现一个好东东PHPmotion
PHP motion is a free to download and free to use video sharing software. A PHP video script to make your own Youtube (tm) like website.赶紧安装测试
安装过程遭遇1个错误,特记录处理方法如下
Warning: dl() [function.dl]: Temporary module name should contain only filename in /home/wanjie/v.wanjie.info/classes/config.php on line 2
PHP script /home/wanjie/v.wanjie.info/config.php is protected by phpSHIELD and requires the phpSHIELD loader phpshield.5.2.lin. The phpSHIELD loader has not been installed, or is not installed correctly. Please visit the phpSHIELD php encoder site to download required loader.
查了一下 phpSHIELD 是一个php脚本保护程序吧,随意挑了几个php打开看,全部是加密后的文字。呵呵。
于是goolge ,走了一圈弯路,
phpmotion 论坛转了一圈,N多提这个问题的,解释也挺含糊, http://phpmotion.com/forum
后来找到这篇。
PHP script protected by phpSHIELD 不过我的环境是虚拟主机,不是vps,呵呵。没用。
无意中又转到dreamhost的wiki ,参考了2篇文章,搞定
http://wiki.dreamhost.com/Custom_PHP.ini 以及 http://wiki.dreamhost.com/Installing_php_loaders
发现了2个好东东,傻瓜话自定义dreamhost的php.ini文件
1,http://phpmotion.com/forum/index.php/topic,17892.msg97621.html#msg97621
2,phpShield auto-installer 有自动安装phpshield扩展并修改php.ini文件的傻瓜程序
当然 Custom PHP.INI auto-installer 这个备用
大概来讲就是首先修改 .htaccess 文件,加上以下几个字段。
#--- DH-PHP handlers ---
AddHandler fastcgi-script fcg fcgi fpl
AddHandler php-fastcgi .php
Action php-fastcgi /cgi-bin/dispatch.fcgi
相应的cgi-bin目录下放上 dispatch.fcgi已经修改后的php.ini文件
本文中php.ini加了如下3个字段,这样就搞定了虚拟主机自定义php.ini文件,顺便解决程序调用phpshield失败的问题。
enable_dl=On
extension_dir="/home/wanjie/v.wanjie.info/"
extension=phpshield/phpshield.5.2.lin
另本次测试站点 v.wanjie.info 欢迎踊跃测试
文章评论
Step Two: Acquire a huge marijuana along with this against your hobs. Add a flower petals not to mention strain alkaline fluids. I like to employ alkaline waters as things are made from reduced substances. It can generate far more mineral water to your raised petals and leaves, in doing so taking out more basis.
您好,我在安装时第二步就什么都没有了,页面上什么都不显示,用chrome 提示http 500,为什么会这样?
500是程序配置问题,应该是那个地方出错了。你看下日志吧。