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

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

Confirm that that is the case first. 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"? chillax, Apr 20, 2006 #2 jprice Guest 0 this is my entire /etc/phi.ini file memory_limit = "32M" include_path = "\".:\"" short_open_tag = "On" file_uploads = "On" safe_mode = "On" safe_mode If you are using vi(m) to edit the file you can type /\[Zend\] and hit enter which should take you to the area you want to be. click site

I'm happy to provide more information as requested. By continuing to use this site, you are agreeing to our use of cookies. for providing its computer software that facilitates the management and configuration of Internet web servers. Forums Search Forums New Posts Resources Most Active Authors Latest Reviews Feature Requests Defects Your 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/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No my response

Example #2 Getting a syntax error when using double quotes $ php -r "$foo = get_defined_constants();" PHP Parse error: syntax error, unexpected '=' in Command line code on line 1 Parse What kind of weapons could squirrels use? are the integers modulo 4 a field?

Contact Us Help Home Top RSS iHax Community Terms and Rules iHax Community iHax Community SMF Support > Server Performance and Configuration Problem with apc (1/2) > >> _Ziggy_: In oktober desiguru Well-Known Member Joined: Aug 27, 2008 Messages: 73 Likes Received: 0 Trophy Points: 6 In my error_log I keep on seeing this error PHP: Error parsing /usr/local/lib/php.ini on line 1136 What's difference between these two sentences? cPanel Forums > cPanel & WHM® (for Linux® Servers) > General Discussion > This site uses cookies.

Similar Threads - PHP Error parsing phpmyadmin error after today upcp tweaker, Oct 13, 2016, in forum: General Discussion Replies: 4 Views: 82 tweaker Oct 14, 2016 HTTP error 404 while How would I recreate php.ini. number and name of the parameters). 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

No, create an account now. To start viewing messages, select the forum that you want to visit from the selection below. Human vs apes: What advantages do humans have over apes? 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

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) https://talk.plesk.com/threads/zend-problem-after-upgrade.65162/ Example #10 --ri example $ php --ri date date date/time support => enabled "Olson" Timezone Database Version => 2009.20 Timezone Database => internal Default timezone => Europe/Oslo Directive => Local Value Variables in single-quoted strings are not expanded by sh/bash. Yes, my password is: Forgot your password?

Newer Than: Search this thread only Search this forum only Display results as threads More... get redirected here I am designing a new exoplanet. You have been warned!

Note: -r is available in the CLI SAPI, but not in the CGI SAPI.

Note: This option is only intended for very basic code, so Code: url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset=" Still getting a parse error.

Anyone know a solution? Note: To pass arguments to a script, the first argument must be --, otherwise PHP will interpret them as PHP options.

-h and -? --help and --usage Output a list 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 navigate to this website Powered by vBulletin Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc.

Join them; it only takes a minute: Sign up open_basedir restriction when running script from command line up vote 2 down vote favorite I'm learning how to use the command line Similar Threads - PHP Error parsing phpmyadmin error after today upcp tweaker, Oct 13, 2016, in forum: General Discussion Replies: 4 Views: 82 tweaker Oct 14, 2016 HTTP error 404 while Check which php.ini file php is using. # php -i | grep 'Configuration File' Open that file and see what Zend Optimizer version and directory is being referenced.

Note: This option does not work together with the -r option.

-m --modules Example #1 Printing built in (and loaded) PHP and Zend modules $ php -m [PHP Modules] xml

You can view the changelog to see when a case hits a set version at http://go.cpanel.net/changelog You can view your existing cPanel version using this command: Code: cat /usr/local/cpanel/version You can The syntax is: -d configuration_directive[=value] # Omitting the value part will set the given configuration directive to "1" $ php -d max_execution_time -r '$foo = ini_get("max_execution_time"); var_dump($foo);' string(1) "1" # Passing This is a known problem where it overwrites your php.ini with a file like you have now. At least, it was for me.

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? How to improve this plot? 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 my review here cPanel Forums > cPanel & WHM® (for Linux® Servers) > General Discussion > This site uses cookies.

What kind of bugs do "goto" statements lead to? This was still useful info, thanks. –Wesley Murch Jul 13 '11 at 22:36 @bob You know, I had thought that there was a fast way to do that, but chillax, Apr 20, 2006 #4 NightStorm New Member Messages: 259 Zend uses a symlink for php.ini.