what is the differences between (libapache2-mod-php5 ) and ( libapache2-mod-php5filter)

Posted by tawfekov on Server Fault See other posts from Server Fault or by tawfekov
Published on 2010-12-31T23:18:06Z Indexed on 2010/12/31 23:55 UTC
Read the original article Hit count: 395

Filed under:
|
|

i had noticed that some code doesn't play nice when i use libapache2-mod-filter while it working as expected in libapache2-mod-php5

the error was generated by doctrine + it's very simple like :

  $db = new self();
        $db["name"] = $name;
        $db["desc"] = $desc;
  $db->save();  /// it throw the error here 

error message like :

Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc) VALUES ('aaaaaaaaaaa', 'aaaaaaaaaaaa')' at line 1

so what is the real difference between the both modules for php5 ???

© Server Fault or respective owner

Related posts about ubuntu

Related posts about apache2