I have the following on 2 lines in my php.ini.
Line: 796
Code:
; url_rewriter.tags: (ini file field description not available)
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
Line: 1598
Code:
; The URL rewriter will look for URLs in a defined set of HTML tags.
; form/fieldset are special; if you include them here, the rewriter will
; add a hidden <input> field with the info which is otherwise appended
; to URLs. If you want XHTML conformity, remove the form entry.
; Note that all valid entries require a "=", even if no value follows.
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
Line 796 originally did NOT have quotes around it but 1598 did. If I comment out 796 php will not run anything. If I remove the quotes it runs but Zend will not fully load.
Code:
# cat /usr/local/cpanel/version
11.28.76-RELEASE_51149
EasyApache was not manually run before this started. I did run it 2 times after while trying to fix the problem.
After I make a backup then rebuild the php.ini using the script I only have one "url_rewriter.tags" line in the file. I then readded the following to then end if the file re-enable Zend and thus seems to be working.
Code:
; zend_extension: (ini file field description not available)
zend_extension="/usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so"
After going back into WHM -> PHP Configuration Editor -> Advanced to make some changes and saving I then get this with a once again broken Zend:
Code:
# php -v
PHP: Error parsing /usr/local/lib/php.ini on line 826
PHP 5.2.16 (cli) (built: Feb 3 2011 17:19:53)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
Line: 826
Code:
url_rewriter.tags = a=href,area=href,frame=src,input=src,form=,fieldset=
Also Line: 1212
Code:
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
So right now I have everything working (or appears to be) but I can not use the WHM -> PHP Configuration Editor to make changes. I'm manually editing the php.ini for the time being. It also appears that the WHM editor is not placing double quotes around many of the string values when it goes to save the php.ini file. I honestly don't know how many of the Cpanel scripts work but this is what I see in the 'diff php.ini php.ini.bak' results.