PHP is a widely-used general-purpose scripting language that is especially suited for Web development. The current version is 5.3.3, released on July 22, 2010.

learn more… | top users | synonyms

0
votes
0answers
6 views

HHVM 3.1.0 seems to crashes when under load

On CentOS 6.5 server I'm getting HHVM dead but subsys locked after HHVM going under load. Below is my config file ; from ...
-1
votes
0answers
6 views

if server time is equal to 22/9 then it genertor pop up on each refresh [on hold]

I need code of html/php/javascript that if the server time is equal to 22/9 then it genertate a pop up on each refresh of a page, that shows any text
1
vote
1answer
12 views

amazon ec2 intance rhel7 ftp not downloading

this is driving me insane. i am trying to download files using FTP. i tried with PHP's FTP, the FTP binary, WGET, none of them work. They all have the same problem. When get command is initiated, the ...
0
votes
0answers
12 views

PHP - Configure commands change path

I have PHP installed on my machine (os x) and am trying to get the msssql module to talk to freetds and I noticed that phpinfo() shows the following under configure commands: ...
0
votes
1answer
42 views

Error install nginx version 1.6.2 in Ubuntu 14.04

My server is Ubuntu 14.04 the info.php is blank :( I do not really know what's happening I want to install the latest version of nginx I followed these steps: install nginx apt-get install ...
0
votes
0answers
19 views

PHP fails to to build, error from dom and simplexml [on hold]

I'm trying to build php 5.6.0, and it was working with these exact same commands until today on the same machine. When I found out there was an update to the pthread plugin, I downloaded it and went ...
0
votes
0answers
19 views

different versions of PHP for CLI and Apache resulting in extension incompatibility on ubuntu

So first of all, how this happened: I've got running server with Apache (and PHP5 and mysql) installed. Then I needed to update PHP to version 5.4.0 (at that time), so I run sudo apt-get update ...
0
votes
0answers
10 views

display amazon customer reviews on websites through AWS (Amazon-Web-Services) - doable? [closed]

can we put amazon-customer reviews on private websites just ran across this statement: Dear Product Advertising API Developer, On November 8, 2010 the Reviews response group of the Product ...
-3
votes
0answers
21 views

Need HTML/PHP code for dropdown with postback [closed]

I'm creating a sample application with HTML and PHP. I need code for below scenario. UI will look like: English CheckBox1 Dropdown1 Tamil CheckBox2 Dropdown2 Hindi CheckBox3 ...
0
votes
0answers
8 views

Wordpress How to display all posts in category, with specific tag posts at top [closed]

I am trying to show the all Posts in the Category. With the specific tag posts at the top. For example:- I want to show all the Posts in the Category 'CAR' Now, I want that when i Click On 'CAR' ...
0
votes
0answers
21 views

Xubuntu - give Apache access to user directory

I'd like to serve up a CakePHP website from a user directory: /home/myuser/Documents/project/app/webroot Everything I've tried results in 403/Forbdden when I try to access it via a browser. I've ...
0
votes
0answers
8 views

Apache compilation from source followed by php compilation as DSO and suphp. Pull up a phpinfo file under both configurations

I've followed all the steps specified here. I've done the following steps as per the link: Compile apache from source (using httpd-2.2.24.tar.gz, apr-1.4.6.tar.gz, apr-util-1.5.2.tar.gz) Compile ...
0
votes
0answers
16 views

PHPStorm comment line in css

I'm using PHPStorm when I edit websites. When I'm in the css files and I insert a comment line, it always show something like this: /**/ I want a comment line to be something like this, but I cant ...
0
votes
1answer
16 views

How to execute ffmpeg via php on Windows

This is my script: echo "Starting ffmpeg...\n\n<br>"; $cmd = "ffmpeg -i video.mp4 -ss 00:01:30.35 -vframes 1 img.png"; echo shell_exec($cmd); When I run it from CMD it works just fine but ...
0
votes
1answer
23 views

WinSCP files editing and checking in windows

I am new to PHP. I am using WinSCP to check through a few already existing files. I need to make some changes in a single file. I have made the changes but not sure how to check if the changes are ...
0
votes
1answer
20 views

How do I uninstall Apache on Windows 8, when there is no uninstaller?

I have Apache 2.4 and PHP installed, and I want to remove them in order to install WAMP. I can't find the Apache or PHP uninstallers, not inside any of the folders, and it's not even in "add/remove ...
0
votes
0answers
3 views

Trying to install sqlite through PECL results in phpize error

Running OS X Mavericks, trying to get the PHP libraries installed to interact with SQLite but end up with the following error: # pecl install sqlite ...
0
votes
1answer
32 views

Forcing SSL on phpmyadmin

I couldn't decide which website this question we be on (since I see it almost everywhere) so feel free to migrate. I've set up a self-signed SSL cert on my server to secure my installation of ...
0
votes
1answer
29 views

PHP-GD2 is activated, but doesn't create pictures

I have on my PC Ubuntu 14.04, Apache2 as webserver and PHP 5.5.9 as intepreter. I installed with APT the package php5-gd, restarted the server and checked if GD is active with: php -i | grep -i ...
0
votes
0answers
26 views

Wordpress update and install PHP Error - fileperms

this is my first question, and English is not my 1 language. My question is about my website http://noobcode.hostoi.com/ installed on Wordpress 3.9.2 . I upload files with Filezilla. Hosting – ...
0
votes
1answer
23 views

configure: error: Please install libyaml

I am following the installation of Basics of YAML Parsing in PHP to install YAML for PHP in Fedora 20. I went through all these steps: wget http://pecl.php.net/get/yaml-1.1.0.tgz tar -xvzf ...
0
votes
0answers
15 views

Apache is slower on other comptuer in network than on localhost

I have few computers connected into network. There's a server inside that network which hosts WAMP - Apache + PHP + MySQl. There is Windows 7 x32 Pro installed on it. I can ping that server from my ...
-1
votes
1answer
20 views

cant run php FastCGI in arch

I have a PhpStorm IDE in Manjaro(Arch base Linux). I install php and php-fpm from repository and config PhpStorm with php. PhpStorm can know php and that version. but when i run my php code in ...
0
votes
0answers
13 views

Error: cannot download “pecl/zip”

I have two servers, one of them is a raspberry, the other one a normal PC with Ubuntu. On both I need the pecl extension zip for my php script and on btoth of them I ran into the same bug which seems ...
0
votes
1answer
20 views

What after installing sublime lint?

I think things could have been a little more simpler if the developers wanted it.It is really annoyinng to keep searching google to make my php and javascript lint. I followed this ...
0
votes
0answers
21 views

Adminer - can't allow for larger file uploads than 2mb

I'm trying to upload my db dump file through adminer, but it is limited to 2MB uploads, even though I went to the php.ini file and chenged it to 35MB. I'm using a vagrant php environment generated by ...
0
votes
0answers
75 views

Installing sqlsrv on PHP 5.5.15 XAMMP won't appear in the PHP Info

I am new to this type of thing and am getting most frustrated (As all newbies do lol) I am trying to install the sqlsrv extension into the PHP on my XAMMP server to test some PHP to SQL database form ...
0
votes
1answer
50 views

instalation ffmpeg in Ubuntu

I am using following steps for installing ffmpeg-php extension in Ubuntu Download ffmpeg-php-0.5.2.1.tbz2 extract it go to this directory run this "phpize" ./configure && make but when I ...
1
vote
0answers
21 views

php is not recognized as an internal or external command although it is available in commandline

this is somewhat of a tricky question when it comes to "where should I place it?", but I assume a general problem behind it, which is why I am putting it on superUser. I have a Doctrine script which ...
0
votes
0answers
16 views

How to add PSR2 formatter in Eclipse

I am using eclipse PDT plugin for editing php files. The formatter shows buildin PSR2 But i don't follow some rules like It adds tab to all bank lines automatically It don't add new line before ...
0
votes
1answer
43 views

Parent process details from the batch script - find out what called the batch script

We have a batch file which is calling php scipts. Php script load some data files to our system. I cannot understand what is starting that batch file in the middle of the night. I cannot find any ...
0
votes
1answer
18 views

I've started a php program on Ubuntu can I close the SSH session?

I've run a php file with this command: php test.php This file is doing it's thing fine. The script however takes long, can I close the SSH session and will the php file still be running?
0
votes
1answer
14 views

How multiple domain can point to same website source code?

Here I am looking for solution like as below. I have multiple website those all should point to one common script folder on a hosting "example.com" --> ".../username/home/public_html/" "abc.com" ...
0
votes
0answers
4 views

where is i am missing to put a new filed bank? [migrated]

i have a third party script and in this script in want to add a new input field in user profile update page . i want to add user BANK field where user can save their bank names i have already create a ...
0
votes
1answer
33 views

Can't get php script to connect to asterisk internal mysql database

I'm trying to get a PHP script to connect to Asterisks internal sql database. I tried the to use the standard method for example $con = mysqli_connect("192.168.1.126","root","mysql","asterisk"); ...
0
votes
0answers
81 views

configure: error: Unable to locate gmp.h

Per http://stackoverflow.com/a/19894267/569976 I tried the following to no avail: ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h --with-gmp=/usr/include/x86_64-linux-gnu Both of them ...
1
vote
1answer
56 views

How to place metadata at beginning of MP4 video using ffmpeg

I am trimming the video using ffmpeg but the metadata position was founded at last in output video. Is there any way to put metadata at beginning of output.mp4
-2
votes
0answers
26 views

Push data to an LED wallboard

I have an Inova LED wallboard that I would like to build a server for and push data to. Can anyone tell me how information is pushed to it? I create wallboards for LCD monitors using PHP and ...
-1
votes
0answers
7 views

Change the required attribute from false to true [migrated]

$this->addElement('text', 'firstname', array( 'required' => false, 'label' =>Name, 'value'=>$this->data['firstname'], 'class' => 'span4' )); I want that required ...
0
votes
2answers
67 views

How do I find and kill a php loop (process)?

I have a php script that I have been developing which calls an external api within a loop. It is being tested on a VPS which is running LAMP on Debian. I noticed this morning that the api was not ...
0
votes
1answer
50 views

mediawiki: LDAP Authentication error

am using, php5+mysql+ldap . i had configured php and mysql with mediawiki. its working fine. But iwant to provide LDAP users authentication login and aswellas general users login. i was installed ...
0
votes
0answers
43 views

Install old version php on Centos

I have troubles with php + mongodb After redeploying project, php throw 500 because "Can't canonicalize query: BadValue $in needs an array" (https://jira.mongodb.org/browse/PHP-1051) I install same ...
0
votes
2answers
21 views

How to finding words that are near other words? [closed]

I am going to create a dictionary that users can find each words that are near each other from pronouncing and word Letter. For example When user searched near my site return other words that are ...
0
votes
0answers
17 views

How to run browser in background in Ubuntu

I am using Ubuntu 14.04, and PHP. I have 2 files: test.html - content java to test network update.php - the test file will post result to update database. I need to run and execute an URL address ...
0
votes
1answer
57 views

Why is 50.22.53.71 hitting my localhost node.js in an attempt to find a php setup

I just created a new app using angular-fullstack yeoman generator, edited it a bit to my liking, and ran it with grunt on my localhost, and immediately upon starting up I get this flood of requests to ...
0
votes
0answers
8 views

Report PHP version of all sites in different AppPools on IIS server

We've a Windows box which hosts a large number of different WordPress sites on IIS. Each site gets setup at different times so we've no central way of knowing what version of PHP is set in the AppPool ...
1
vote
1answer
82 views

Setup PHP from source and mod_fgcid on CentOS 6, getting permission denied

I have compiled PHP from source and installed it to /opt/php/5.5.15/ I have also installed (with yum) httpd, and mod_fcgid. I am trying to configure a virtual host to exec php like this: ...
0
votes
1answer
35 views

Drush commands not found when called from a bash script

Relevant system background: I'm using MAMP on OSX. Output of which php is /Applications/MAMP/bin/php/php5.3.14/bin/php Output of which drush is /Applications/MAMP/bin/php/php5.3.14/bin/drush Output ...
0
votes
0answers
43 views

Cannot get php file to run in browser? Ubuntu

I am trying to run a .php file that reads information from a MySQL database. I have installed php5: developer@alchemy:~/dev$ php --version PHP 5.3.10-1ubuntu3.13 with Suhosin-Patch (cli) (built: Jul ...
0
votes
0answers
12 views

Two versions of xhprof_html on OSX / MAMP?

xhprof_html exists in two places: /Applications/MAMP/bin/php/php5.5.3/lib/php/xhprof_html and /Applications/MAMP/bin/php/php5.5.3/lib/php/doc/xhprof/xhprof_html php -i | grep xhprof returns: ...