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

Repos for yum installation of php 5.3 on centos 7

I need to install php 5.3 on centos 7 and so far I haven't found the repositories to do so.
0
votes
1answer
28 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
25 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
16 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
15 views

How to finding words that are near other words? [on hold]

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
10 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
27 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
51 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
8 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
22 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
23 views

FFmpeg-php on Windows Apache PHP - Wont start [closed]

I am running Windows 7 with the newest stable version of Apache and PHP. I am trying to install FFmpeg-php to be on my local Apache server. I keep getting this error PHP Warning: PHP Startup: ...
0
votes
0answers
6 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: ...
0
votes
1answer
18 views

Checking LAMP Installation in Linux

I had installed PHP, MYSQL and APACHE in linux server, How can I check the installation and running status of Apache, MYSQL, PHP are correct in Linux server?
0
votes
0answers
13 views

Broswers loading a page that doesn't appear to exist in DocumentRoot

This is driving me bonkers. I have Apache running on a Raspberry Pi and I'm working on a website that has a user log in that leads to a page where users can enter data and send it to a MySQL database. ...
1
vote
0answers
7 views

How to control SSL automatic activities in Wordpress php files

I have domain with one sub-domain. The domain has installed SSL with valid certificate but sub-domain doesn't have it. I installed two Wordpress, one for domain and one for sub-domain (clone it to ...
0
votes
0answers
9 views

On an Ubuntu server, what steps can be taken to recover a missing file?

I've recently inherited a website that has a page that allows users to register to receive/give car rides. This page is called transportation.php and is fine. However when a user attempts to select ...
0
votes
1answer
65 views

PHP: Mongo client not found

I've installed XAMPP on my MacBook. PHP and MySQL are working fine, so I followed it up with mongo. I did the following: brew install mongo (success) brew install autoconf (success) sudo ...
0
votes
0answers
22 views

Apache vs nginx Memory Consumption with PHP

I want to start by saying that I know the debate regarding PHP performance under Apache and nginx is still a bit undecided, as PHP is generally the bottleneck on performance. I have my application ...
0
votes
0answers
8 views

PHP-FPM: if “part of PHP”, then how to run as separate proxy to Nginx?

In writeups of PHP-FPM, websites tell me that it's been a part of PHP since 5.3.3. What does this mean? If I have PHP 5.3.8 installed on my server and already being used inside Apache (to which ...
0
votes
0answers
23 views

phpbrew install php version

Im trying to get PHPbrew working, but im running onto some issues... Everything is set right like PHPBrew requires, but i cant find the www folder where i can place my files, or set the right ...
0
votes
0answers
21 views

Moving to a complete Nginx/PHP-FPM environment from Apache

I am sure this is a question many beginner sysadmins like me have, and many more advanced people have already put this in place: CURRENT PLATFORM: Nginx proxying to Apache, which manages PHP ...
0
votes
0answers
43 views

How to upgrade Nginx and install php-fpm on CentOS

I want to upgrade Nginx via Yum, and also install PHP-FPM as usual. Most blog and online resources use the EPEL and REMI repos, but they're not working on my server. My OS info: Linux ...
0
votes
0answers
21 views

Installing PHPMyAdmin on AWS EC2

I followed Amazon's instructions http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html to install a LAMP stack on a Micro EC2 instance running Linux. Installation was successful. I am ...
1
vote
0answers
40 views

Questions on compiling homebrew php with postgres support on Mavericks

I recently upgraded to Mavericks on my MacBook Pro and a few things broke in the process. One of these was the ability to load a drupal page that sits on a postgres database. I get this message on a ...
0
votes
1answer
44 views

wget index.php redirection - The name is too long

I am trying to get a copy of the catalog. I would love to get the "List View" and "Show Object" details. The URL I am tring to wget is: ...
0
votes
0answers
15 views

In Sublime Text 2, how do I highlight any code which is between <?php and ?>

I'm coding in php for a Wordpress project at the moment and using Sublime Text 2. It's great, however, I would love to be able to quickly see what is php and what is html (also javascript, but that is ...
0
votes
1answer
18 views

Eclipse does not autocomplete both html and php tags in php file

I am using eclipse indigo. and i have installed WTP plugin. After i open php file in webcontent/ directory of my project it does not auto complete any php synatx and html tags too.. But html file ...
1
vote
1answer
25 views

Unable to start PHP Server in linux command line

I tried php -s localhost:4444 WebContent/ But my ubuntu terminal gives Usage: php [options] [-f] [--] [args...]
0
votes
0answers
15 views

Can't use sessions in phpdesigner 8

Im getting errors in phpdesigher 8 preview run: session_start(): Cannot send session cookie - headers already sent in... Cannot send session cache limiter - headers already sent in... But it's ok at ...
0
votes
1answer
37 views

how to print a page from web browser without print window using javascript or php

I am developing an POS application for my own shop in web. Now for that in billing section have features like select the products and print bill, this process is only two steps. However when I click ...
0
votes
1answer
65 views

“Too many files open” on Mac OSX after running apache in PHP with XDebug for some time

I am running Mac OS X 10.9.4, including the builtin apache2 webserver with PHP 5.5.14 from brew (packages: php55, php55-intl, php55-pdo-pgsql, php55-xdebug). When running this setup it works quite ...
0
votes
0answers
8 views

hash_hmac sha512 authentication in python [migrated]

I'm trying to write python authentication bot for: https://comkort.com/page/private_api There is no full php example. I'm guess somebody could put it here. There is only snippet of php code: ...
0
votes
0answers
23 views

Configuring Apache with PHP-FPM, Apache failed to start

I followed this guide to configure PHP-FPM with Apache on my server but after I restart Apache successfully: [root@localhost vhost]# service httpd restart Stopping httpd: ...
-1
votes
0answers
31 views

Undefined class constant 'MYSQL_ATTR_MAX_BUFFER_SIZE'

I have EasyPHP 14.1 configured and running properly on a Windows 7 x64 machine. Trying to open a web-app called Open Device Manager, I get the following error Fatal error: Undefined class constant ...
0
votes
1answer
13 views

PHP in Debian Terminal not working with extensions

I have Debian 7 installed on my server with a standard LAMP stack and also Mongo DB. Mongo as well as other third party PHP extensions work correctly through apache. These extensions however do not ...
0
votes
1answer
33 views

CentOS 6 - Send user defined command from PHP

I have a web control panel and I need my allow my users to send commands to their application. I a similar problem to SQL injection. $user_input='good command'; shell_exec('tmux send-keys session1:0 ...
0
votes
1answer
50 views

PHP - Read file from remote server

So I have two CentOS servers. On server1 I have a log in the directory /home/something/logs/latest.log On server2 I have my apache server, and I want it to read the log on server1. I need to do ...
0
votes
0answers
6 views

Fatal PDO Error - But PDO is enabled? [migrated]

I recently switched website hosts, however with the new hosts, we are encountering some PDO problems. Everything indicates that PDO is enabled on my server, however, when I test it through php, with a ...
0
votes
2answers
31 views

Sending mails and narrowing what script does it

I'm using a very old Ubuntu server that was some time ago a mail server which was infected. Sadly there is a running web page on that server. Some script/page/malware is trying to send a lot of spam - ...
0
votes
1answer
54 views

Difference between connecting to 127.0.0.1 and server ip

I am brand new to php, databases, and linux and had a problem where I could not connect to mysql databse with the php mysql_connection function. When I used the ip address of my VM I kepy getting a ...
0
votes
1answer
29 views

Mozilla Thunderbird HTTP Authentication

I set up Mozilla Thunderbird on Windows 7 Enterprise, and I set my main page to my own site. (Which requires HTTP/1.1 authentication). Before I even have an HTTP authentication window (displayed for ...
0
votes
0answers
11 views

Error while trying to create an album in MySQL in Trovebox

When trying to create a new album in TroveBox I just get an simple error message in the ui notifying me that it failed. No information is in logs from Apache and MySQL. The current user can write in ...
0
votes
1answer
31 views

Unable to start bash script with shell_exec

I've been googling and trying to solve this problem with my php script for a few days now and I'm hoping someone here can see the problem I'm missing in getting my php script to kick off my bash ...
0
votes
1answer
19 views

How to navigate PHP-based pagination with WGET?

I'm trying to come up with a list of possible names for our next baby boy and have been looking through the site IndiaParenting. Each name on the site has a detail page at a URL like this one ...
0
votes
0answers
21 views

Plupload not displaying in Trovebox's upload ui

After finally having gotten Trovebox installed and configured (self hosting) I've hit a wall. On the upload ui Plupload (the image uploading 'widget') is not showing (see image below). As well the ...
0
votes
2answers
113 views

Trovebox (OpenPhoto) setup hangs/fails at final step 3

I've been following the install instructions found here about how to install and configure Trovebox on a Ubuntu server running Apache: Ubuntu 14.04 LTS Apache: 2.4.7 MySQL: 5.5.37 PHP: 5.5.9 ...
1
vote
2answers
160 views

PHP can't connect to PostgreSQL with “permission denied” error with SELinux

My PHP app can connect when I turn off SELinux, but not with it on. setenforce 0; curl -I http://domain.com; setenforce 1 Yields no errors in /var/log/httpd/error_log. However, if I have it on, I ...
0
votes
0answers
33 views

I'm getting 500 server error in when trying to send ajax to codigniter+NGINX in production in ec2

When Im in my local environment when I send with ajax rest post http://localhost:8080/index.php/api/get_user I'm getting an answer from the server (Codeigniter + NGINX). But when I do it with ...
0
votes
0answers
48 views

install ImageMagic library to php

When i try to sudo pecl install imagick i get this message: Can't find PHP headers in /usr/include/php The php-devel package is required for use of this command. ERROR: `phpize' failed And sudo ...