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

发布于 2021-11-07 15:17:12 字数 1969 浏览 668 评论 1

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

Deprecated
: Assigning the return value of new by reference is deprecated in
 
D:xampphtdocspcgIncludeClassADOadodb.inc.php
 
on line
 
865

Deprecated
: Assigning the return value of new by reference is deprecated in
 
D:xampphtdocspcgIncludeClassADOadodb.inc.php
 
on line
 
871

Deprecated
: Assigning the return value of new by reference is deprecated in
 
D:xampphtdocspcgIncludeClassADOadodb.inc.php
 
on line
 
1178

Deprecated
: Assigning the return value of new by reference is deprecated in
 
D:xampphtdocspcgIncludeClassADOadodb.inc.php
 
on line
 
1943

Deprecated
: Assigning the return value of new by reference is deprecated in
 
D:xampphtdocspcgIncludeClassADOadodb.inc.php
 
on line
 
2963

Deprecated
: Assigning the return value of new by reference is deprecated in
 
D:xampphtdocspcgIncludeClassADOadodb.inc.php
 
on line
 
3489

Deprecated
: Assigning the return value of new by reference is deprecated in
 
D:xampphtdocspcgIncludeClassADOadodb.inc.php
 
on line
 
3529

Deprecated
: Assigning the return value of new by reference is deprecated in
 
D:xampphtdocspcgIncludeClassADOadodb.inc.php
 
on line
 
3548

Parse error
: syntax error, unexpected T_GOTO, expecting T_STRING in
 
D:xampphtdocspcgIncludeClassJS.class.php
 
on line
 
142

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

多彩岁月 2021-11-08 11:03:49

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

Deprecated : Function eregi() is deprecated in  D:xampphtdocspcgIncludeInit.php   on line   32 

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

Deprecated : Assigning the return value of new by reference is deprecated in  D:xampphtdocspcgIncludeClassADOadodb.inc.php   on line   871 

Deprecated : Assigning the return value of new by reference is deprecated in  D:xampphtdocspcgIncludeClassADOadodb.inc.php   on line   1178 

Deprecated : Assigning the return value of new by reference is deprecated in  D:xampphtdocspcgIncludeClassADOadodb.inc.php   on line   1943 

Deprecated : Assigning the return value of new by reference is deprecated in  D:xampphtdocspcgIncludeClassADOadodb.inc.php   on line   2963 

Deprecated : Assigning the return value of new by reference is deprecated in  D:xampphtdocspcgIncludeClassADOadodb.inc.php   on line   3489 

Deprecated : Assigning the return value of new by reference is deprecated in  D:xampphtdocspcgIncludeClassADOadodb.inc.php   on line   3529 

Deprecated : Assigning the return value of new by reference is deprecated in  D:xampphtdocspcgIncludeClassADOadodb.inc.php   on line   3548 

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


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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文