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
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?
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.
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.
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.