Php Error Parsing /usr/local/lib/php.ini On Line 786
line 108 Pages: 1 #1 2012-05-23 08:17:59 diederick76 Member From: Amsterdam Registered: 2010-02-14 Posts: 65 Website PHP: syntax error, unexpected '&' in /etc/php/php.ini on line 108 Hi all,I have a peculiar problem. My http error log show these lines repeatedly:PHP: syntax error, unexpected '&' in /etc/php/php.ini on line 107 PHP: syntax error, unexpected '&' in /etc/php/php.ini on line 108My /etc/php/php.ini's lines 104 through 109 are:104 ; error_reporting 105 ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED 106 ; Development Value: E_ALL 107 ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT 108 109 ; html_errorsSo the https://x10hosting.com/community/threads/parsing-error-in-php-ini-when-running-cron-jobs.155061/ &s on line 107 are to be expected, and line 108 is empty. Does anyone have any idea what's going on here?Thanks ! Offline #2 2012-05-23 11:47:14 XT Member Registered: 2012-05-21 Posts: 14 Re: PHP: syntax error, unexpected '&' in /etc/php/php.ini on line 108 As line 108 is empty, my first guess would be a chroot for your webserver / PHP interpreter. Is PHP https://bbs.archlinux.org/viewtopic.php?id=142015 really using the file you are looking at? Offline #3 2012-05-23 11:51:42 diederick76 Member From: Amsterdam Registered: 2010-02-14 Posts: 65 Website Re: PHP: syntax error, unexpected '&' in /etc/php/php.ini on line 108 It appears so. From my phpinfo():Configuration File (php.ini) Path /etc/php Loaded Configuration File /etc/php/php.ini Scan this dir for additional .ini files /etc/php/conf.d Additional .ini files parsed (none) /etc/php/conf.d contains no files. Offline #4 2012-05-23 12:57:36 .:B:. Forum Fellow Registered: 2006-11-26 Posts: 5,819 Re: PHP: syntax error, unexpected '&' in /etc/php/php.ini on line 108 The semi-colon indicates a comment, it seems a bit strange PHP would be annoyed by random formatting in comments... After all, that's why they're comments. Are you sure there's nothing wrong higher up? Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy Offline #5 2012-05-23 13:02:52 diederick76 Member From: Amsterdam Registered: 2010-02-14 Posts: 65 Website Re: PHP: syntax error, unexpected '&' in /etc/php/php.ini on line 108 I agree there must be something going on that has little to do with the file mentioned. Even when I remove all the &s from line 107, or inser
me for more information. Version 5.8 Updated Sunday, July 5th, 2009 at 8:20pm Secure PHP Form Mailer Script This is the PHP version of my secure form mailer script. This script has a wide range of features including: an easy to use dynamic form generation system (any number of fields, in any order), multiple recipients, multiple file attachments, optional auto reply feature, an image verification system, numerous security features (including protection against email header injection), a message template system, multiple languages, and too many other things to list. This script was designed to be easy to use, while still being extremely flexible. If you just want a simple contact form, you can set one up with just a few clicks. For those of you who need something a bit more advanced, you can completely customize script plugin to fit your needs - whether it is 5 fields or 500. A WordPress plugin version is also available. ReCaptcha support has also been added, as well as support for storing the data in a delimited file. You can see a very basic implementation of the WordPress plugin version of this script on this site's contact page. Notice: WordPress Users Information on the WordPress plugin version of this script Languages As of the latest release, this script contains language files for: English, Belarussian, Brazilian Portuguese, Catalan, Czech, Danish, Dutch, Estonian, Finnish, French, German, Greek, Italian, Japanese, Norwegian Bokmaal, Polish, Portuguese, Romanian, Russian, Slovak, Slovene, Spanish, Swedish, Turkish, Vietnamese If you would like to submit a language file please contact me. WordPress vs PHP Versions To make things easier to find, the two versions of this script share much of the same documentation. While the basic features are the same, there are several differences, so be sure to reference the proper page. Table of Contents Due to the size of this page, I have split everything up into sections: Download Changelog Installation Required Configuration Ot