Php Error Parsing /usr/local/zend/etc/php.ini
Plans & Pricing Partners Support Resources Preview Forums Forums Quick Links Search Forums New Posts Search titles only Posted by Member: Separate names with a comma. Newer Than: Search this thread only Search this forum only Display results as threads More... Useful Searches Recent Posts Resources Resources Quick Links Search Resources Most Active Authors Latest Reviews Feature Requests Defects Menu Log in Sign up The Community Forums Interact with an entire community of cPanel & WHM users! cPanel Forums > cPanel & WHM® (for Linux® Servers) > General Discussion > This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More. PHP: Error parsing /usr/local/lib/php.ini on line 827 Discussion in 'General Discussion' started by Nicarlo, Apr 17, 2011. Nicarlo Member Joined: Jul 31, 2003 Messages: 11 Likes Received: 0 Trophy Points: 1 cPanel Access Level: Root Administrator Hi guys, I hoping someone could help me out with an issue i seem to be having. When I do a php -v Code: php -v PHP: Error parsing /usr/local/lib/php.ini on line 827 PHP 5.2.9 (cli) (built: Mar 28 2011 20:13:57) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd. On line 827 in php.ini I have the following Code: ; url_rewriter.tags: (ini file field description not available) url_rewriter.tags = a=href,area=href,frame=src,input=src,form=,fieldset= Any ideas what may be wrong? #1 Nicarlo, Apr 17, 2011 Nicarlo Member Joined: Jul 31, 2003 Messages: 11 Likes Received: 0 Trophy Points: 1 cPanel Access Level: Root Administrator Aaah.. Sometimes I get too impatient and post before searching google some more. Turns out the issue was with Code: url_rewriter.tags = a=href,area=href,frame=src,input=src,form=,fieldset= It should have been Code: url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset=" Missing the quotes " " Hope this helps someone else out. Cheers #2 Nicarlo, Apr 17, 2011 tank Well-Known Member Joined: Apr 12, 2011 Messages: 236 Likes Received: 0 Trophy Points: 16 Lo
and Objects Namespaces Errors Exceptions Generators References Explained Predefined Variables Predefined Exceptions Predefined Interfaces and Classes Context options and parameters Supported Protocols and Wrappers Security Introduction General considerations Installed as CGI binary Installed as an Apache module Session Security Filesystem Security Database Security Error Reporting Using Register Globals User Submitted Data Magic Quotes Hiding PHP Keeping Current Features HTTP authentication with PHP Cookies Sessions Dealing with https://forums.cpanel.net/threads/php-error-parsing-usr-local-lib-php-ini-on-line-827.204171/ XForms Handling file uploads Using remote files Connection handling Persistent Database Connections Safe Mode Command line usage Garbage Collection DTrace Dynamic Tracing Function Reference Affecting PHP's Behaviour Audio Formats Manipulation Authentication Services Command Line Specific Extensions Compression and Archive Extensions Credit Card Processing Cryptography Extensions Database Extensions Date http://php.net/manual/en/features.commandline.options.php and Time Related Extensions File System Related Extensions Human Language and Character Encoding Support Image Processing and Generation Mail Related Extensions Mathematical Extensions Non-Text MIME Output Process Control Extensions Other Basic Extensions Other Services Search Engine Extensions Server Specific Extensions Session Extensions Text Processing Variable and Type Related Extensions Web Services Windows Only Extensions XML Manipulation Keyboard Shortcuts? This help j Next menu item k Previous menu item g p Previous man page g n Next man page G Scroll to bottom g g Scroll to top g h Goto homepage g s Goto search(current page) / Focus search box Usage » « Differences to other SAPIs PHP Manual Features Command line usage Change language: English Brazilian Portuguese Chinese (Simplified) French German Japanese Korean Romanian Russian Spanish Turkish Other Edit Report a Bug Command line options The list of command line
that. There is an error which seems to be caused by apc.This is the http://www.simplemachines.org/community/index.php?topic=447086.0;imode error:# php -mPHP: Error parsing /usr/local/Zend/etc/php.ini on line 1117[PHP Modules]apcbcmathbz2calendarctypecurldatedbadbasedomexiffilterftpgdgettextgmphashiconvimapionCube http://forum.directadmin.com/showthread.php?t=39804 LoaderjsonldaplibxmlmbstringmcryptmhashmssqlmysqlmysqlincursesodbcopensslpcntlpcrePDOpdo_mysqlPDO_ODBCpdo_pgsqlpdo_sqlitepgsqlposixpspellreadlineReflectionsessionshmopSimpleXMLsnmpsoapsocketsSPLstandardsysvmsgsysvsemsysvshmtidytokenizerwddxxmlxmlreaderxmlrpcxmlwriterxslzipzlib[Zend Modules]the ionCube PHP LoaderLine 1117 is allmost at the end of php.ini ="extension=apc.so"(The "" are included in the php.ini as well. I have tried removing them, but then it returns "Fatal error").I have included my php.ini as an attachment. php error I hope someone can help me with this. 青山 素子: Try updating APC. There has been a lot of work done since your last update.Also, try moving the apc extension line up to be with the other standard extensions. _Ziggy_: Thanks for your answer!I have tried updating APC, but it fails. php error parsing I have included a Notepad file with the Putty output.Where should I insert the apc extention line?Before which line should it be inserted?(To be honest, I have no idea what I am doing ??? ). dogphilosophy: I'm not sure which OS you are hosted on or the specifics but on my OS;php makes a folder in /usr/local/etcyou want to look for extensions.ini in /usr/local/etc/php/the path would be, for me at least /usr/local/etc/php/extensions.inithis file is where all your extensions should be. If you have that file, than remove the line from your php.ini file and enter it into the extensions.ini file 青山 素子: --- Quote from: _Ziggy_ on August 18, 2011, 03:37:32 PM ---Thanks for your answer!I have tried updating APC, but it fails. I have included a Notepad file with the Putty output.--- End quote ---You need to install the PCRE headers.For RPM-based distributions, this package is likely "libpcre-devel".--- Quote ---/usr/in
this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Results 1 to 4 of 4 Thread: Zend Optimizer Thread Tools Show Printable Version Email this Page… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 03-26-2011,01:00 PM #1 seachen View Profile View Forum Posts Verified User Join Date Feb 2007 Posts 486 Zend Optimizer [root@server1 custombuild]#./build zend File already exists: ZendOptimizer-3.3.3-linux-glibc23-x86_64.tar.gz Failed loading /usr/local/Zend/lib/ZendExtensionManager.so: /usr/local/Zend/lib/ZendExtensionManager.so: cannot open shared object file: No such file or directory Zend Optimizer has been installed. Like this is it Zend not running ? Reply With Quote 03-26-2011,03:46 PM #2 santovito View Profile View Forum Posts Verified User Join Date Nov 2008 Posts 120 if you type: "php -v"? you can try this: rm ZendOptimizer-3.3.3-linux-glibc23-x86_64.tar.gz ./build zend Reply With Quote 03-27-2011,09:22 PM #3 seachen View Profile View Forum Posts Verified User Join Date Feb 2007 Posts 486 [root@server1 ~]#php -v PHP: Error parsing /usr/local/etc/php5/cgi/php.ini on line 1294 Failed loading /usr/local/Zend/lib/ZendExtensionManager.so: /usr/local/Zend/lib/ZendExtensionManager.so: cannot open shared object file: No such file or directory PHP 5.2.17 (cli) (built: Feb 2 2011 09:13:10) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies with the ionCube PHP Loader v4.0.5, Copyright (c) 2002-2011, by ionCube Ltd. [root@server1 ~]# It show this. Reply With Quote 03-28-2011,12:18 AM #4 SeLLeRoNe View Profile View Forum