New answers tagged

0

When you see a problem with a software you try to launch with php ,took your command and launch him directly in a console/terminal and don't forget to replace all variable by the good information, now watch what happening and if you can;t fix the error just copy past the log and soeone can help you For ffmpeg I recommand to remove this part "2>&1", ...


0

I have added the below lines in the repository file:/etc/apt/sources.list deb http://security.debian.org/ jessie/updates main deb-src http://security.debian.org/ jessie/updates main deb http://security.debian.org/ jessie/updates main contrib non-free deb-src http://security.debian.org/ jessie/updates main contrib non-free deb ...


0

The answer probably lies with the "nohup" command. Or you can simply add an ampersand (&) at the end of your command to send it to the background and maintain control of the CLI if your script takes a long time. which is why I guess you want to use Screen? Ampersands on the command line


0

You can install it by typing: su -c 'aptitude install libssl-dev' If not done please share output of apt-cache show libssl-dev


1

Post your texts from directory: /etc/apt/sources.list to see if the repository list would suffice or not. See the link, this may be worth seeing.


0

A cleaner and portable solution would to check the timestamp of a file that you create by cron especially for this purpose. Create a cronjob that touches a file each minute readeable by the webbrowser, for example: * * * * * www-data touch /var/www/cron-testfile and check the timestamp with php: <?php if(time() - filemtime('/var/www/cron-testfile') ...


0

from arch wiki in /etc/httpd/conf/httpd.conf, comment the line: LoadModule mpm_event_module modules/mod_mpm_event.so and uncomment the line: LoadModule mpm_prefork_module modules/mod_mpm_prefork.so Note: The above is required, because libphp7.so included with php-apache does not work with mod_mpm_event, but will only work mod_mpm_prefork instead. ...


1

Ok, here it is answered by pierre schmitz, thx nymous for the link: openssl, phar and posix modules are now built in php7 core. Remove the corresponding directives from your php.ini, e.g. ;extension=openssl.so. php-xcache is incompatible with php7, remove package, the project seems dead. full list of 3rd party package status: | Package | Status ...


0

php no longer has support for that stuff in modules. Look at this article https://pierre-schmitz.com/php-7-on-arch-linux/


0

Have you tried these steps yet?: Install both RPM packages : rpm -ivh instantclient-basic-linux.XXX.rpm rpm -ivh instantclient-sdk-linux.XXX.rpm Install some prerequisite yum install php-pear yum install php-devel Download the OCI8 extension pear download pecl/oci8 tar xvzf oci8-1.4.7.tgz cd oci8-1.4.7/ phpize Configure the extension ...


1

I used to solve exactly this problem for my game servers by writing a perl daemon that owned and controlled gameservers, and answered ad a web service to outer world. Simply put, but effective.


1

When you access the web-page (PHP script), the content is sent by one instance (sub-process) of the httpd server process. When you restart the httpd server, the script is informing the server to die, which will kill all the sub-processes too, including the PHP instance running the script itself. Basically the script is effectively committing suicide. Try ...


0

xsl file is not that easy to handle directly, but I think you can convert it to csv file first, and then: paste -d ',' File1.csv File2.csv > onefile.csv The onefile.csv will be in the form you want.


0

If, as your answer says, the payload is on a single line by itself, this will do it, while creating backups of the files altered: find -name header.php -exec sed -i.bak '/someplacedodgy\.kr\/js\/jquery.min.php/d' {} \; -ls Just be sure that the "someplacedodgy" string is unique to the payload lines. Omit the .bak from -i.bak if you wish to skip the ...


0

I worked out an easier solution to this issue as the string was contained on a line by itself. while read HEADER do cat $HEADER | grep -vw "somewheredodgy.kr/js/jquery.min.php"; > modifiedheader cp modifiedheader $HEADER done < tempheader


-1

Please try put the fonts into below path: /usr/share/pear/Image/Canvas/Fonts



Top 50 recent answers are included