problem about php5.3-Collection of common programming errors


  • Stephen Orr
    php-apc php5.3 open-basedir symfony
    I’m currently setting up a shared staging environment for one of our applications, written in PHP5.3 and using the Symfony2 framework.If I only host a single instance of the application per server, everything works as it should.However, if I then deploy additional instances of the application (which may or may not share the exact same code, dependent on client customisations), I get errors like this:[Tue Nov 06 10:19:23 2012] [error] [client 127.0.0.1] PHP Warning: require(/var/www/vhosts/appli

  • Coombesy
    centos5 php5.3
    I’m tring to install phpdox https://github.com/theseer/phpdox using composer. I’ve successfully installed it locally, but when I try on my server (centos 5.9) composer declares all is ok, but running phpdox throws:Warning: require(TheSeer/DirectoryScanner/autoload.php): failed to open stream: No such file or directory in /opt/phpdox/phpdox.php on line 45 Fatal error: require(): Failed opening required ‘TheSeer/DirectoryScanner/autoload.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /

  • Razor
    windows-server-2008-r2 iis7.5 imagemagick php5.3
    I have managed to get imagemagick working (tested using the command line example on their website) It also appears that the php extension is correctly installed: I can see it listed in my phpinfo(); list.However, when I try to run the following code:$im = new imagick( ‘examples.jpg’ );$im->thumbnailImage( 200, 0);$im->writeImage( ‘a_thumbnail.jpg’ );The execution stops at the second line, because it cannot find the thumbnailImage method.What I can think of is that some user doesn’t have en

  • strimpak
    apache2 swap memory-leak php5.3
    Okay, this one’s weird for me. I have a wordpress mu site under a dedicated server. It runs Apache 2.2.21 and php 5.3.10. When msn and google bots crawls my site the system crashes. The system crashes and on other occasions, that I have not got clear. But once before it crashed, I run netstat -an and find those interesting things: (supposing my ip is a.b.c.d)Local Address Remote Address ——————– ——————– a.b.c.d.xxxx a.b.c.d.80a lot of times and more p

  • codeKudu
    php5.3
    I have php version 5.3.22 on Centos Linux. I currently have this in my phpinfo() output:./configure’ ‘–disable-fileinfo’ ‘–disable-pdo’ If I run:pecl install PDOI get:WARNING: “pecl/PDO” is deprecated in favor of “channel://http://svn.php.net/viewvc/php/php-src/trunk/ext/pdo//ext/PDO” downloading PDO-1.0.3.tgz … Starting to download PDO-1.0.3.tgz (52,613 bytes) ………….done: 52,613 bytes 12 source files, building running: phpize Configuring for: PHP Api Version: 20090626 Zend Mo

Web site is in building