Home > Php Error > Php Error Parsing /usr/local/zend/etc/php.ini

Php Error Parsing /usr/local/zend/etc/php.ini

chillax, Apr 20, 2006 #4 NightStorm New Member Messages: 259 Zend uses a symlink for php.ini. 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 More information: This is my CLI output from php --ini: Configuration File (php.ini) Path: /usr/local/lib Loaded Configuration File: /usr/local/Zend/etc/php.ini Scan for additional .ini files in: (none) Additional .ini files parsed: (none) At least, it was for me. this contact form

How to improve this plot? Command line options Option Long Option Description -a --interactive Run PHP interactively. Browse other questions tagged php apache command-line or ask your own question. args...

For more information, see the Interactive shell section. -b --bindpath Bind Path for external FASTCGI Server mode (CGI only). -C --no-chdir Do not chdir to the script's directory (CGI only). -q Example #6 --ini example $ php --ini Configuration File (php.ini) Path: /usr/dev/php/5.2/lib Loaded Configuration File: /usr/dev/php/5.2/lib/php.ini Scan for additional .ini files in: (none) Additional .ini files parsed: (none) --rf --rfunction Show What kind of weapons could squirrels use? Available as of PHP 5.4.0. -s --syntax-highlight and --syntax-highlighting Display colour syntax highlighted source.

This only happens from the command line. jprice New Member Messages: 4 hello, after my upgrade to 8.0 Zend Optmizer no longer works on my server. One way to do that is to copy your current php.ini file to another directory - say into "/usr/local/Zend/etc/php_cli/php.ini" or a more convenient directory. The time now is 09:16 PM.

Thanks Tristan. #10 tank, Apr 29, 2011 (You must log in or sign up to post here.) Show Ignored Content Loading... Note: This option does not work together with the -r option.

-z --zend-extension Load Zend extension. Note that all it does is generate a block of [...] HTML tags, no HTML headers. http://php.net/manual/en/features.commandline.options.php Does anyone know why there is a difference between executing the script in a browser VS the command line, and what I can do to resolve this error?

They should likely be at the bottom of the file. Forum New Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders Advanced Search Forum Technical Discussion System-Level Technical Discussion Zend Optimizer If this is your That was just showing that I ran the command as root. Note: This option does not work together with the -r option.

-v --version Example #5 Using -v to get the SAPI name and the version of PHP and Zend $

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"? No, create an account now. Added in PHP 5. -R --process-code PHP code to execute for every input line. Confirm that that is the case first.

No, create an account now. http://iipseconline.com/php-error/php-error-parsing-usr-local-lib-php-ini-on-line-790.html Are there any historically significant examples? Yes, my password is: Forgot your password? I have a script that will be run during a cronjob, and am testing it by hitting it from the command line using Putty.

Sometimes I get too impatient and post before searching google some more. I've tried to reinstall zend but it didn't fix the problem. This means that whatever you're seeing in the browser is almost certainly not what you'll see when you enter php -r 'phpinfo();' on the command line (I mean, the formatting is navigate here By continuing to use this site, you are agreeing to our use of cookies.

It's suppose to be a zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so extension="ixed.5.2.lin" #2 desiguru, Dec 8, 2009 (You must log in or sign up to post here.) Show Ignored Content Loading... Cheers #2 Nicarlo, Apr 17, 2011 tank Well-Known Member Joined: Apr 12, 2011 Messages: 236 Likes Received: 0 Trophy Points: 16 Location: Chicago, IL cPanel Access Level: Root Administrator Well more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed

Example #4 Using the -B , -R and -E options to count the number of lines of a project. $ find my_proj | php -B '$l=0;' -R '$l += count(@file($argn));' -E

At least, it was for me. It should be the most recently dated one. I suggest doing: mv /etc/php.ini /etc/php.ini.bad and then mv /etc/php.ini.bak (or whatever plesk backed it up as) /etc/php.ini Look at the date to see which ini backup file was modified when That was just showing that I ran the command as root.

I've tried to reinstall zend but it didn't fix the problem. Confirm that that is the case first. the actual path should be /usr/local/Zend/etc/php.ini, which Plesk did not understand (go figure), so it deleted the symlink holder at /etc/php.ini and created a simplictic and useless one in it's place. his comment is here Newer Than: Search this thread only Search this forum only Display results as threads More...

Absolute value of polynomial first order condtion of Lagrangian What to do with my pre-teen daughter who has been out of control since a severe accident? Also i installed ioncube via SSH simply because i wanted the most up to date version of it. asked 5 years ago viewed 2890 times active 5 years ago Related 19How can I relax PHP's open_basedir restriction?1341Is there an equivalent of 'which' on the Windows command line?4PHP mail() works 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.

I am designing a new exoplanet. Not the answer you're looking for?