搭建好PHPGEN后无法使用。。。

云生 发布于 2011/08/27 16:06
阅读 1K+
收藏 0

Serverless 架构就不要服务器了?>>>

使用xampp放到htdocs目录下http://localhost/pcg访问出现下面提示。。
Deprecated : Function eregi() is deprecated in   D:\xampp\htdocs\pcg\Include\Init.php   on line   32

Deprecated : Assigning the return value of new by reference is deprecated in   D:\xampp\htdocs\pcg\Include\Class\ADO\adodb.inc.php   on line   865

Deprecated : Assigning the return value of new by reference is deprecated in   D:\xampp\htdocs\pcg\Include\Class\ADO\adodb.inc.php   on line   871

Deprecated : Assigning the return value of new by reference is deprecated in   D:\xampp\htdocs\pcg\Include\Class\ADO\adodb.inc.php   on line   1178

Deprecated : Assigning the return value of new by reference is deprecated in   D:\xampp\htdocs\pcg\Include\Class\ADO\adodb.inc.php   on line   1943

Deprecated : Assigning the return value of new by reference is deprecated in   D:\xampp\htdocs\pcg\Include\Class\ADO\adodb.inc.php   on line   2963

Deprecated : Assigning the return value of new by reference is deprecated in   D:\xampp\htdocs\pcg\Include\Class\ADO\adodb.inc.php   on line   3489

Deprecated : Assigning the return value of new by reference is deprecated in   D:\xampp\htdocs\pcg\Include\Class\ADO\adodb.inc.php   on line   3529

Deprecated : Assigning the return value of new by reference is deprecated in   D:\xampp\htdocs\pcg\Include\Class\ADO\adodb.inc.php   on line   3548

Parse error : syntax error, unexpected T_GOTO, expecting T_STRING in   D:\xampp\htdocs\pcg\Include\Class\JS.class.php   on line   142
加载中
0
云生
云生

目前解决了部分问题,主要原因是使用的php5.3版本与开发phpgen的版本不一致,兼容性导致

Deprecated : Function eregi() is deprecated in  D:\xampp\htdocs\pcg\Include\Init.php   on line   32 


eregi()函数5.3不支持使用preg_match替换即可;



Deprecated : Assigning the return value of new by reference is deprecated in  D:\xampp\htdocs\pcg\Include\Class\ADO\adodb.inc.php   on line   871 

Deprecated : Assigning the return value of new by reference is deprecated in  D:\xampp\htdocs\pcg\Include\Class\ADO\adodb.inc.php   on line   1178 

Deprecated : Assigning the return value of new by reference is deprecated in  D:\xampp\htdocs\pcg\Include\Class\ADO\adodb.inc.php   on line   1943 

Deprecated : Assigning the return value of new by reference is deprecated in  D:\xampp\htdocs\pcg\Include\Class\ADO\adodb.inc.php   on line   2963 

Deprecated : Assigning the return value of new by reference is deprecated in  D:\xampp\htdocs\pcg\Include\Class\ADO\adodb.inc.php   on line   3489 

Deprecated : Assigning the return value of new by reference is deprecated in  D:\xampp\htdocs\pcg\Include\Class\ADO\adodb.inc.php   on line   3529 

Deprecated : Assigning the return value of new by reference is deprecated in  D:\xampp\htdocs\pcg\Include\Class\ADO\adodb.inc.php   on line   3548 


php5.3开始后,废除了php中的”=&”符号,所以要想复制,直接用=引用即可


Parse error : syntax error, unexpected T_GOTO, expecting T_STRING in  D:\xampp\htdocs\pcg\Include\Class\JS.class.php   on line   142
好像是用户自定义了一个goto函数导致,还有就是使用zend的框架问题,在网上找了几处还没解决,又发现了一些新问题,大多都是由于版本原因导致,现在都不想用这个了,希望作者能够更新下,我是菜鸟刚看php搞不定。。。

返回顶部
顶部