PHP is a widely-used general-purpose scripting language that is especially suited for Web development.

learn more… | top users | synonyms

6
votes
0answers
4k views

Proxy radar found in apache logs file

I was reading the logs of the apache server and I was shocked by seeing these logs! [Sun Oct 25 06:44:48.922248 2015] [mpm_prefork:notice] [pid 17635] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-...
5
votes
0answers
178 views

High CPU usage running Symfony on PHP-CLI

I have a Dell laptop with Intel i7 5th generation running Windows 10 x64 and PHP 5.6.17 x86 environment. When I run a fresh installation of Symfony 3.0 using php-cli: php bin/console server:run In ...
4
votes
0answers
2k views

Apache2 + Php + Pthreads HowTos

I'm running Ubuntu 14.04 LTS 64 bit. What I would really love to do is sudo apt-get install libapache2-mod-php5 but compile PHP with --enable-maintainer-zts so I could later install pthreads with pecl ...
3
votes
0answers
114 views

How to switch off “you can use new shorter array creation syntax” hint in NetBeans IDE 8.0.2?

I use NetBeans IDE 8.0.2 on Linux Mint. I searched through the options few times, but I can never find the option to switch this hint off in there. I know well about the new syntax in PHP, but I don'...
2
votes
0answers
38 views

Application conftest stopped unexpectedly

I have set up phpfarm so that I can use multiple versions of PHP interpreter on my system. This work really good but now I am getting crash reports on each and every system start. Seems like my ...
2
votes
0answers
268 views

HTTP server doesn't seem to support byte ranges. Cannot resume. homestead up

When I used the command "homestead up" it stopped working at 45% so I closed it and restarted my computer. Now when I try to run the command homestead up, my computer says resuming download then I get ...
2
votes
0answers
338 views

Something “kills” my Apache-PHP-Processes after some time

I have the following really strange problem and hope, you guys can help me out. If there are any questions, I'll try answer them as best as i can. The problem I have a web server with Debian 6.0, ...
2
votes
0answers
459 views

Setup default PHP version in Plesk 12

I've just setup a Plesk 12 CentOS6 vServer. I installed some PHP-versions like 5.4, 5.5 and 5.6. The customers can change the running PHP version in the interface. All is working fine, but I have one ...
2
votes
0answers
18 views

Customise HTML-Kit Tools syntax highlighting

I'm using HTML-Kit tools to edit a PHP site. The syntax highlighting's really helpful, but it would be good if I could edit it, specifically so that my custom functions would be highlighted (as ...
2
votes
0answers
361 views

Eclipse Just Crashes (Xubuntu 14.04)

This is crazy. Eclipse keeps crashing, closing itself a few seconds after I start it and I have no reason why. I have tried everything that I have seen here and nothing helps. I am so desperate that I ...
2
votes
0answers
1k views

Received: (from www-data@localhost)

All mails coming from my server has Received: (from www-data@localhost) even though I've set 127.0.0.1 mydomain.org mydomain server2 in /etc/hosts. I think that's the reason why it's ending up in the ...
2
votes
0answers
143 views

Socksify php script

I am trying to socksify php script network connections, however I am unable to do that, script ignores the socksifyer, just connects directly. I tried using tsocks and torsocks. tsocks php script....
2
votes
0answers
1k views

CentOS 5.10 Yum Packages won't update/upgrade

I've just used yum to install PhpMyAdmin and it installed version 2.11.11.3-2.el5 which is completely out of date since version 4 is out. I've tried running yum update phpmyadmin but I receive No ...
2
votes
0answers
176 views

PHP ssh2_fingerprint() does not match ssh-keygen -lf id_rsa.pub

I am using the lib ssh2 module with PHP and calling the function ssh2_fingerprint() to get the keys fingerprint. According to all resources on the internet, I can get the fingerprint of a public key ...
2
votes
0answers
712 views

Error 10053 using composer

I need to use Composer in my wamp server on a windows 7 machine but I keep on getting a 10053 error. For example when I try to install laravel I get the following message: [Composer\Downloader\...
2
votes
0answers
520 views

PHP : curl is and Not working in ubuntu10.04 and Nginx

I am running Nginx server on ubuntu 10.04 I am using the php version 5.3.2 .I installed php5-curl using apt-get install php5-curl. Unfortunately the curl package is not displaying in phpinfo() . ...
2
votes
0answers
737 views

php interactive mode gives no prompt

I'm running Windows 7. I just downloaded the "binaries and source" distribution of Php 5.4.6. When I unzip the download and navigate into the directory and enter the command php.exe -a on my command ...
2
votes
0answers
184 views

PHP web application can't connect mysql installed with Zend Server CE on SuSE Linux 11.4

I had a running LAMP system. SUSE 11.4 with Apache 2, MySQL and PHP 5.3 Then I installed Zend Server CE. Everything is OK, but now I can't connect it to MySQL. The MySQL Server is running. If I ...
2
votes
0answers
1k views

Couldn't start apache

I've installed xampp 1.7.7 on windows 7 x64 and imported configuration files from 1.7.7. With default php.ini which is shipped in 1.7.7, apache start, but the web pages are browsed white pages and at ...
2
votes
0answers
1k views

What is the solution for printing plastic ID cards from a PHP/MySQL Application?

I have a student management system written in PHP with a MySQL backend and I need to implement a solution to print the student's College ID to a plastic ID Card Printer. The possible solutions i can ...
2
votes
0answers
556 views

Zend Gdata include path issue

I'm having some trouble with a Zend Gdata install. I copied the files into the /usr/lib/php folder and ran a script that said all was working. However, when I go to run any demo script I get the ...
1
vote
0answers
9 views

Ubuntu Launcher PHP working directory

I have created a launcher for PHP: [Desktop Entry] Type=Application Name=PHP Terminal=true Exec=/usr/bin/php %f Icon=/home/virsacer/Icons/php.png When I open a PHP-file with it, the working ...
1
vote
0answers
70 views

Can someone explain the differences of file_get_contents vs guzzle vs curl?

I've been getting data from api websites by using file_get_contents or curl, but I never knew whats the difference from them. They seem to have the same results, but now there is Guzzle for php. What ...
1
vote
0answers
18 views

MySQL doesn't seem to be executing commands

I am cleaning up a lot of my DB's/Tables, and have been running into an issue. When I execute most commands which change data on a table (i.e, DELETE FROM or UPDATE), the command returns as completed ...
1
vote
0answers
56 views

FreeBSD install PECL php7

I want to active the gnupg extension for php7. But I can't find a package for pecl for php7. Does anyone know a way to install pecl for php7 or how to activate gnupg without pecl?
1
vote
0answers
16 views

How to install MySQL on separate box from IIS 7

I've got two servers running Server 2008 r2. I've set up one sever as the webserver with IIs7.0, asp.net, php, nodejs, etc. And I have put MySQL and MongoDB on the other server. As best I can tell ...
1
vote
0answers
21 views

Privilege separation per user for each web application

I'd like to ask a question about LNMP stacks and user privilege separation. I usually host websites on LNMP stacks and Wordpress on Debian 7 and 8 servers. I separate each Wordpress site into its own ...
1
vote
0answers
48 views

Imagemagic and php exec: convert: no images defined

The command works just fine from the shell /opt/ImageMagick/bin/convert /private/var/folders/nl/9cky1krj5_j7zwm34tfkndd40000gn/T/pdfPyflQF /private/var/folders/nl/9cky1krj5_j7zwm34tfkndd40000gn/T/...
1
vote
0answers
192 views

OCI8 extension not loading in PHP 5.4, CentOS 7

I have a CentOS environment running as a VM guest. It runs and Oracle 12.1 Database, along with PHP 5.4.16, on Apache 2.0. I've gone through the installation steps to ensure that the correct OCI ...
1
vote
0answers
45 views

Unintended multiple PHP versions on OSX

For an application i'm making i need the PHP stats functions. My OSX (10.11) came with the default PHP 5.5, but i needed 7.0 to install the PECL stats package so i updated my local PHP version to ...
1
vote
0answers
532 views

Unable to install php mongodb driver on Ubuntu 14.04 LTS

I have been trying to install php driver for mongodb on Ubuntu Linux 14.04 LTS. Tried to install as follows : sudo pecl install mongodb output is No releases available for package "pecl.php.net/...
1
vote
0answers
16 views

Simultaneously enable gzip and $STR_REPLACE in CGI in apache

I have a code in my CGI script for text replacement (for example replace 'red' with 'blue') $STR_SEARCH='red' $STR_REPLACE='blue' I am using the below code in .htaccess for enable replace function: ...
1
vote
0answers
84 views

FTP Delete folder which can't be selected

[SOLVED BY CONTACTING HOSTER AND THEY DELETED THE FOLDER FOR ME] BUT STILL, IS THERE AN ANSWER TO THIS QUESTION? So, I use FTP, and was recently experimenting with escaping things, and making ...
1
vote
0answers
70 views

Lots of odd errors in Apache log on Ubuntu server with Drupal

I´m getting hundreds of these errors in the Apache log in a website with around 4000 visits per hour. I have never seen any evidence of these errors affecting user experience in the website, but i ...
1
vote
0answers
131 views

PHP documentation plugin for Xcode

Does anyone know if there are any plugins that allow Xcode to use code completion and documentation for PHP? I realise there’s a similar Xcode/PHP question on Super User but that was from five years ...
1
vote
0answers
40 views

How to know what application is injecting a script on html

I'm trying to figure out what application is injecting a javascript called http://queryjs.me/services/script.js into my pages on localhost and on my server. It only injects this script when the ...
1
vote
0answers
319 views

redis Error: Server closed the connection

I have 6 nodes in a redis cluster - 3 master and 3 slaves. All the nodes are running just fine except for one master and it's slave. On this troublesome master, when i run the command (on either ...
1
vote
0answers
139 views

Medusa returns Segmentation fault or gives up on 1st try

For my thesis, which is about the use of software for computer forensics, I want to use Medusa to attack a server of my own, just to sniff the packets to see the data for port 80 (and therefore prove ...
1
vote
0answers
121 views

Homebrew php opcache issue

I followed a tutorial to get a local dev environment running on my Yosemite machine using Homebrew. All seems ok, except for the fact that php -v shows a problem with opcache. Failed loading /usr/...
1
vote
0answers
27 views

Incorrect PHP version is displayed when running VPN

I have a strange issue that I really would like to know more about. Yesterday I was deploying a new site on my hosting server. The day before I switched from PHP 5.2.17 to PHP 5.4.10 on the server. ...
1
vote
0answers
24 views

CentOS 6 - Preventing people from accessing certain files?

So I have my CentOS 6 server, which is nice and good. But for some reason, people can always access my board's files and download them, such as http://mariomansion.net/templates/pagelayout.tpl If you ...
1
vote
0answers
143 views

Sublime Text: Why regex in syntax highlighting does not work?

In Sublime Text 3, a default syntax highlighting rule paints a SQL SELECT just fine if it's in the same line, but not if it's in the next line: vs After reading this question I opened the PHP ...
1
vote
0answers
50 views

php failed signature verification and may have been tampered with

I have been unable to install any version of PHP on Windows/IIS via Web Platform Installer 5.0 running on Windows 8.1. I have tried several different versions of PHP: 5.3, 5.4, 5.5, 5.6. Each time, it ...
1
vote
0answers
162 views

PHP Proxy without cURL

The next 2 weeks I'll be watching the house for my parents. But before I went here, I forgot to forward ports in the router. I do have a kind of access. I can place files on my webserver. But I need ...
1
vote
0answers
85 views

Phabricator and MAMP PRO Configuration? Keep getting a 403

I currently have MAMP PRO installed, where I run local WP installs. I am trying to install Phabricator. I followed all the directions on their site, but I can't get it to work. I have all apache ...
1
vote
0answers
163 views

Cannot configure PostgresSQL extension for php in Cpanel

I have a Centos 6.6 x86_64 vps cloud server with WHM and cpanel. It contains easyapache installed in it and working fine. php sites are working fine with it. I have installed PostgresSQL 9.3 in the ...
1
vote
0answers
73 views

Apache: a certain string makes POST request hang

Here is a minimum working example of the issue I have. I know by now the error seems to be particular of my server/setup, but I'm still curious about what is going on. There are two files, m1.php and ...
1
vote
0answers
58 views

grep php output show more than grep query

I'm having an issue where php file | grep "query"'s output shows EVERYTHING, not just the grep'd output. EX: php /vagrant/code/test.php | grep "Do not show anything" Shows anything echo'd in the ...
1
vote
0answers
124 views

Running ruby script through php as www-data

I am running a php application on an apache server. From the php application I need to run a ruby script on the command line. I have verified that running the script directly from a terminal as user, ...
1
vote
0answers
260 views

Not able to run php files on apache server using NetBeans IDE

I want to create a php project using NetBeans IDE. I have set a LAMP server on my ubuntu 14.04. So I had to configure the IDE to copy files automatically to the apache server.I followed this - https://...