LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   upgraded apache and php now php breaks on ' and special characters (http://www.linuxquestions.org/questions/linux-server-73/upgraded-apache-and-php-now-php-breaks-on-and-special-characters-593636/)

ckob 10-22-2007 07:10 AM

upgraded apache and php now php breaks on ' and special characters
 
I upgraded apache and php and now some of my websites break on special characters mainly ' . I tried using the php setting Magic quotes but that did nothing. If someone could shed some light on this I would appreciate it.

wolfperkins 10-22-2007 09:10 AM

Are there parse errors in the apache logs?

What version of PHP?

What version of Apache?

ckob 10-22-2007 09:34 AM

none that i can see.

apache 2
php 5.16

an example would be if I do this.

query ("my hat's");

i'll get an error because "'" is in there if I take it out it works fine im sure its a setting somewhere I missed.

stickman 10-22-2007 09:18 PM

Check the value of the various magic quotes variables in your php.ini file.

TheZodiac 10-22-2007 10:28 PM

What's your "php.ini" config look like? I'll have a look at it to see what's wrong.


All times are GMT -5. The time now is 03:53 AM.