php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65409 php.ini weird problem
Submitted: 2013-08-07 08:16 UTC Modified: 2013-08-07 09:56 UTC
From: ionut_ionut_1987 at yahoo dot com Assigned:
Status: Not a bug Package: *Configuration Issues
PHP Version: 5.4.17 OS: arch linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ionut_ionut_1987 at yahoo dot com
New email:
PHP Version: OS:

 

 [2013-08-07 08:16 UTC] ionut_ionut_1987 at yahoo dot com
Description:
------------
On cli after the command sudo php /etc/php/php.ini

the output:

PHP Parse error:  syntax error, unexpected 'and' (T_LOGICAL_AND) in /etc/php/php.ini on line 202

Parse error: syntax error, unexpected 'and' (T_LOGICAL_AND) in /etc/php/php.ini on line 202

Line 202 is just a comment



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-08-07 09:56 UTC] johannes@php.net
-Status: Open +Status: Not a bug
 [2013-08-07 09:56 UTC] johannes@php.net
You are trying to run php.ini like a php script, this won't work. See php -h for options and the docs etc.
 [2013-08-07 13:05 UTC] ionut_ionut_1987 at yahoo dot com
Problem solved.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 16:01:29 2024 UTC