Tag Info

New answers tagged

0

Try passthru($cmd); It will allow user's I/O on the Terminal screen.


2

The following will provide some insight as to what you are looking for: http://www.gnu.org/software/wget/manual/html_node/Directory_002dBased-Limits.html You should be able to use --exclude /comment.php to exclude all variations of the page comment.php


2

There is no method specific to PHP when it comes to running jobs in the background. The widely accepted methods are: Using a screen. Install screen (if it is not already installed), then run your PHP script under a screen. You can detach from the screen anytime and log out of the machine and the script will continue running. Here is one of the few hundred ...


0

Edit: oops, sorry, I didn't saw that this topic was pretty old. Oh well, it can help other people.. I will complete rahmu's and MV's answers with a technical solution. Finding the web server username Firstly you will need to know the username under your web server runs. If you are using Apache, it can be apache or httpd, www-data, etc. On most Debian-like ...


0

As php strings are mutable, you can use a variable say $url for your server urls. Add the string xyzserver.com/examplescript.php with the appropriate identifier to match your dev/staging/production needs. like, if it is development $dev="development" $dev. = "xyzserver.com/examplescript.php"


1

I cant fit both these links in a comment, but I believe you've added the repository incorrectly: For PHP56, add: http://packages.dotdeb.org/dists/wheezy-php56/ For all Wheezy, add: http://packages.dotdeb.org/dists/wheezy/


0

You can put the libraries in ~/mylib and set LD_LIBRARY_PATH to search there: export LD_LIBRARY_PATH=~/mylib You can put that line in your ~/.bashrc if you want it to be available more permanently.


1

Check the permissions of directories /var/www/vhosts/barelef_art/barelef-art.kiev.ua/ & /var/www/vhosts/barelef_art/. When getting forbidden errors in either Nginx or Apache it is always worth working your way back up the tree of directories to ensure the web server can access at each level.


1

from the php 5.3 configure file: if test "$PHP_MYSQL" = "mysqlnd"; then PHP_MYSQLND_ENABLED=yes elif test "$PHP_MYSQL" != "no"; then MYSQL_DIR= MYSQL_INC_DIR= for i in $PHP_MYSQL /usr/local /usr; do if test -r $i/include/mysql/mysql.h; then MYSQL_DIR=$i MYSQL_INC_DIR=$i/include/mysql break ...


2

That is not a bash error, but a python error, since the corresponding line in that script is: echo "Start packager (may take some time)"; sudo /usr/local/packager/packager.py install $TYPE-frontenddev


0

You have to install the commandline interface version of php before you can use it from bash: yum install php-cli the commandline version is not necessary if PHP is part of a page in nginx.


0

There seems to be a number of false assumptions here but the short and pointed answer is that your Postfix configuration is hosed and needs to be corrected. With the information you provide, I can't tell you how. Perhaps update your question to include pertinent snippets from your Postfix config (or maybe post a new, better focused question, and delete ...



Top 50 recent answers are included