Questions tagged [phar]

Phar is the PHP Archive format. It is analogous to Java's JAR files.

Phar is the PHP Archive format.

A Phar file consists of a collection of PHP scripts combined into a single compressed file, for easy distribution and installation.

More information can be found here.

320 questions
-1
votes
2 answers

PHPUnit (Phar) Fatal Error Only When Test Fails

I have chosen to use a Phar of PHPUnit (phpunit-4.8.26.phar) to unit test my custom built PHP Framework and Application. The reason I am using the old stable release is because I need compatibility with PHP 5.4.29. The reason I have chosen not to…
midnight-coding
  • 2,857
  • 2
  • 17
  • 27
-1
votes
1 answer

Balanced Payment configuration , unable to configure it

i am totally unable to configure it on my vertrigo/wamp server , i really do not know how to configure it , how to install phar , how to run queries , i have read the documentation on github.com/balanced/balanced-php/ and balancedpayments.com/ but…
-1
votes
1 answer

How to install symfony on PHP 5.2.8 with no phar support (Composer dependency)?

I have been attempting to install symfony on my website however I have had little success as it depends on composer. To install: php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));" When I attempted the install (all install…
Milne
  • 850
  • 1
  • 11
  • 28
-1
votes
1 answer

Phar failing on centos 6

i have a problem with Phar on centos 6. When i run "phar" i get: # phar -v PHP Warning: include(): Failed opening 'phar:///usr/bin/phar.phar/pharcommand.inc' for inclusion (include_path='.:') in /usr/bin/phar.phar on line 48 PHP Fatal error: Class…
Danielss89
  • 863
  • 1
  • 11
  • 17
-2
votes
2 answers

Changes not applying into php.ini

Im using centos os and I have to make some changes in php.ini and set phar.readonly = 0 in order to use phar. I got a php.ini which is in /etc . By changes I restart web server but when I look into phpinfo() , nothing has changed. when use…
user3754884
  • 87
  • 11
1 2 3
21
22