zend-server-ce

Zend Server Community Edition .htaccess issue

浪子不回头ぞ 提交于 2020-01-05 04:50:30
问题 I am a new user of Zend Server. For some reason Apache is not reading my htaccess file in the project folder. please check my settings: Document root:C:\Program Files\Zend\Apache2\htdocs\ project folder: C:\Program Files\Zend\Apache2\htdocs\project1\website\ htaccess path: C:\Program Files\Zend\Apache2\htdocs\project1\website.htaccess Example to of rewrite rule in htaccess: RewriteRule ^([a-zA-Z0-9\-]*)-([0-9]*)-([0-9]*)\.php$ /project1/website/index.php?cat=$2&page=$3 [L] changes in httpd

PHP APC not working with some chars in key?

こ雲淡風輕ζ 提交于 2019-12-24 10:17:29
问题 I have a few test installments of zend server CE (php5.3), one on Mac 10.8.2, one on Linux EC2 instance, both using the default APC implementation (zend data cache) that comes with the installation. On both machines, I call: apc_store("Installation:1234:lastActivity", "x", 120); Then I call apc_fetch for that key. On the Mac, apc_fetch works. On the Linux, apc_fetch returns FALSE and fails. Now for the weird stuff on the Linux box, a few tests I made: 1. If I remove the last char in the key

oci_connect connection failed

China☆狼群 提交于 2019-12-18 05:24:10
问题 I am having serious problem connecting to external ORA DB 11g from local Zend server CE. OCI8 is enabled and running version 1.4.6 (due to phpinfo() ). I have tried many connection options (listed below) with the same error returned: oci_connect(): ORA-28547: connection to server failed, probable Oracle Net admin error After googling for whole day I am only able to say that this error means that PHP was able to comunicate with the server but was unable to connect to a concrete service

Zend Framework 1.10 custom Class inside library folder not found

♀尐吖头ヾ 提交于 2019-12-12 05:37:41
问题 I'm learning zend framework from zendCast and can't find the problem I'm using: -Zend Server CE -Zend Studio 7.2 -Zend Framework 1.10 (created with zend studio) In my library folder I have a folder App and in that folder a php file Countries.php which corresponds to App_Countries class but when I try to create a new App_Countries object it says that class could not be loaded any ideas on how to get rid of the error? Fatal error: Class 'App_Countries' not found in /usr/local/zend/apache2

connecing to mysql with Zend Server CE

岁酱吖の 提交于 2019-12-11 13:37:44
问题 I have recently installed Zend Server Community Edtion on my Opensuse development server and it worked fine. The only problem is that it is not connecting to my MySql server!! It keeps throwing in the error: Message: PDO Connection Error: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) Lookud up in /tmp/ and yes there is no mysql.sock. But i still have no clue what to do.. Do i need to change some apache config file? Or change mysql config? I

Ubuntu Zend Framework cli securityCheck Error

安稳与你 提交于 2019-12-11 07:36:41
问题 I followed all the instructions. I am on Ubuntu 10.10. using Zend Server Ce. In my .bashrc I have ld_library_path, zend framework library, etc. I can run zf, but its giving an error: Fatal error: Uncaught exception 'Zend_Exception' with message 'Security check: Illegal character in filename' in /usr/local/zend/share/ZendFramework/library/Zend/Loader.php:303 Stack trace: #0 /usr/local/zend/share/ZendFramework/library/Zend/Loader.php(128): Zend_Loader::_securityCheck('Zend/Tool/Proje...') #1

php://input returning empty string

好久不见. 提交于 2019-11-29 11:56:52
The following code recently started returning empty strings. It works on other systems, so it doesn't appear to be a problem with the code itself. I literally eliminated all of the server-side code, and it still did the same thing. I also tried using file_get_contents to no avail, just kind of shooting in the dark. $fileStream = fopen('php://input', 'rb'); $fileData = ''; while ($buffer = fread($fileStream, 4096)) { $fileData .= $buffer; } Server: Zend Server 5.1.0 (Apache 2.2.3) Language: PHP 5.3.5 Front-End: Plupload (JavaScript plugin) php://input cannot be opened/read when receiving a

oci_connect connection failed

 ̄綄美尐妖づ 提交于 2019-11-29 08:53:01
I am having serious problem connecting to external ORA DB 11g from local Zend server CE. OCI8 is enabled and running version 1.4.6 (due to phpinfo() ). I have tried many connection options (listed below) with the same error returned: oci_connect(): ORA-28547: connection to server failed, probable Oracle Net admin error After googling for whole day I am only able to say that this error means that PHP was able to comunicate with the server but was unable to connect to a concrete service/database and that the error shouldn't come from PHP itself... I have set environment variable TNS_ADMIN to c:

php://input returning empty string

谁都会走 提交于 2019-11-28 06:15:08
问题 The following code recently started returning empty strings. It works on other systems, so it doesn't appear to be a problem with the code itself. I literally eliminated all of the server-side code, and it still did the same thing. I also tried using file_get_contents to no avail, just kind of shooting in the dark. $fileStream = fopen('php://input', 'rb'); $fileData = ''; while ($buffer = fread($fileStream, 4096)) { $fileData .= $buffer; } Server: Zend Server 5.1.0 (Apache 2.2.3) Language: