douhe3313 2011-01-19 16:26
浏览 37
已采纳

Zend Studio 8 PHP核心功能未重新调整(远程项目)

I'v recently upgraded from Zend Studio 7 to ZS 8 and i can not get ZS8 to reconize default PHP5 functions like explode(), split(), etc. It simply says "call to undefined function" and adds a yellow (warning) line under the call.

Google didn't provide me with any information that actually worked. The .buildpath looks fine:

 <?xml version="1.0" encoding="UTF-8"?>
  <buildpath>
      <buildpathentry kind="src" path=""/>
      <buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/>
  </buildpath>

And the .projects file looks fine too:

<nature>org.eclipse.php.core.PHPNature</nature>

Now i'v noticed that when i start a new project LOCALLY it works fine and the "PHP language library" is added fine, but as soon as i open the 'remote systems' tab and right click on a folder and pick "Create remote project" The "PHP Language Library" is simply not filled. Which explains why it doesnt work.

Now the question is, why doesn't it fill up? How do i fix this? (without having to switch to another editor).

  • 写回答

5条回答 默认 最新

  • doupa9062 2011-02-12 17:51
    关注

    I work with eclipe Indigo M5 package but I had the same problem. I fixed it uploading the content of the php plugin core on my remote server, and add it as external librairy folder.

    The plugin is usualy located there : $HOME/workspace/.metadata/.plugins/org.eclipse.php.core

    Hope this will help !

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(4条)

报告相同问题?