The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
2answers
209 views

PHP output piped to 'less' is requiring <enter> after every command

Piping PHP output to the linux 'less' command causes 'less' to really act up. (CentOS 6.2, didn't happen with CentOS 5.) When I pipe output from php into 'less', it requires the enter key be pressed ...
1
vote
1answer
279 views

launching php script as root from command line

How can I execute php script as root user? I tried: sudo ./script.php and in my script I've got at 1 line: #!/usr/bin/php
1
vote
0answers
110 views

mod_security 2.6 + mod_fcgid not working

I have installed: Apache 2.2 + suexec (libxml2, etc.) Mod_security 2.6 Mod_fcgid I am using APACHE with newest hybrid EVENT MPM. I think it can be related to the problem. Here is the problem: ...
2
votes
3answers
3k views

How Do I Install PHP CLI on Mac OS X?

I'm running Mac OSX 10.8.2. I'm also quite new to Mac OSX -- previously the only Mac I understood was the Classic Mac. My other workstations are Windows and Linux. What's the technique to install PHP ...
0
votes
2answers
1k views

PHP CLI not respecting memory limit in php.ini

I am using drush, which is a command-line php app to manage a drupal website. I am running a command to import a lot of data, which is causing me to hit php's memory limit. PHP Fatal error: Allowed ...
4
votes
1answer
547 views

Supervisorctl stop all = stalled processes?

I'm running several PHP CLI scripts and monitoring them via Supervisor. When I use supervisorctl to monitor them, the scripts show like this: cleanup RUNNING pid 1805, uptime 0:00:41 ...
0
votes
1answer
470 views

Change the mysql.sock that the system PHP uses

In the past I had installed MySQL as part of XAMPP in /Applications/XAMPP/ and the PHP that the system used (e.g. from command line) used /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock to connect ...
1
vote
1answer
1k views

How to I configure Eclipse PDT 2.1 to display PHP CLI output in the console?

Starting with a recent version of Eclipse PDT, the standard out and standard error from executed PHP CLI code doesn't appear in the console anymore. (It still shows up in the Debug-perspective in the ...
1
vote
3answers
2k views

Running php scripts via command line mode gives warnings

Whenever I run my php command line script, before the script actually outputs to the screen, php always returns a bunch of error messages as follows: PHP Warning: PHP Startup: Unable to load dynamic ...