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

Method of checking user credentials against a MySQL database?

I was experimenting with user authentication with MySQL and my code that I got from a Tinkernut tutorial is heavily outdated. I tried to update it but I don't know enough about MySQL to do very much. ...
0
votes
0answers
6 views

Suggestions on how to set up my dev server for dev clients (Linux and WIndows)?

I am creating web intranet systems and have always struggled with developing on multiple clients with moving files and databases over back and forth trying to keep everything in sync. I have now set ...
0
votes
0answers
13 views

install php-fpm on centos after remoe it

i install php-fpm and php-mysql and nginx then i remove it and update servers kernel. now, when i want to install php-fpm ,.. dont install $>uname -a 2.6.32-504.3.3.el6.x86_64 #1 SMP Wed Dec 17 ...
0
votes
0answers
2 views

How to allow + in tags on q2a script [on hold]

I have IT base site where user are asking question about programming and windows and they using tags like C++ Windows-8.1 .net and so on The problem is that + or .(dot) is removed when it save the ...
-2
votes
0answers
3 views

Need a php script to connect my asterisk and fetch each incoming call Call ID, A number, B number? [on hold]

Need a php script to connect my asterisk and fetch each incoming call Call ID, A number, B number? And all this settings export to a xml file to be able to read with another program?
0
votes
0answers
10 views

Owncloud in subdirectoy on arch + nginx + uwsgi

After several system updates of my Arch linux server, the owncloud web interface it is hosting stopped working. Unfortunately I noticed it only recently and I can't really go back to working system ...
0
votes
0answers
13 views

Recovering deleted files using php

I honestly don't know what I did. But I used either rmdir() or unlink() and accidentally deleted some files I worked on today. I am using Mac OS X PLEASE PLEASE tell me there is someway I can any of ...
-3
votes
0answers
20 views

upload to multiple websites with one click [on hold]

A friend has a large number of domain names, but which only cover around 20 niche subject areas. He needs a solution where if possible ALL domains can have a basic site uploaded in a short space of ...
0
votes
0answers
19 views

550-Please deliver mail to the address specified in the MX records for this 550 domain

I have a PHP script which emails the results of a form to a specified address. Previously it was working fine but now it's not sending email anymore. When I check the error log, I see this error: ...
0
votes
0answers
8 views

How to code specific Print Screen size function [on hold]

I am looking for a to code the printing of a specific size using the default onclick="window.print(); I have a coupon that I am allowing users to print out that is 2"x4", but when you go to print it ...
0
votes
1answer
32 views

How to permanently correct syntax highlighting after “?>”?

In Vim, I have a PHP script that contains a line similar to the following: $return = "<?xml attributes=\"values\" ?>"; Normally, the ?> characters will close an opening <?php tag, ...
0
votes
1answer
17 views

Capturing characters with regular expression [closed]

I'm new to regular expression, I'm provided with this coded message. ...
0
votes
1answer
23 views

Missing MySQL extension required to run WordPress on custom Linux server

I need to get WordPress up on running on a custom Red Hat Linux server, but am getting the following error when attempting to visit the WordPress install page: Your PHP installation appears to be ...
0
votes
0answers
8 views

How Do I remove Browse Users from Oxwall? [closed]

How do I remove browse users from Oxwall? I don't want to remove it off completely (if I do, the search members bar goes away too). I want it to be more like Facebook search bar without all my site's ...
-2
votes
0answers
13 views

How does logging into a website work [closed]

When you click log in on a website, how does the browser know where and in what order and format to put the username and password (and other things if there is any) in the POST request? I'm trying to ...
0
votes
0answers
35 views

How to execute an application with wine + parameters/attributes on php

I am trying to execute my custom application with wine on php. The problem are the parameters/attributes I'll need to start the app with. It works perfectly via ssh: wine test.exe -b test.png But ...
0
votes
0answers
4 views

nginx not serving php files with curl in fedora 21

phpinfo and php with echo are working fine but with curl gives 403 error. error in chrome: http://localhost/send3.php Failed to load resource: the server responded with a status of 403 (Forbidden) ...
0
votes
0answers
4 views

Performance degradation using PHP APC [migrated]

Having configured and deployed PHP APC on a Windows server, the sites running PHP seem to have taken a hit in performance. They are slower than what they used to be. Disabling APC, returns them to ...
0
votes
1answer
23 views

Run script under OSX _www user account

I have a small internal for my use only php website which triggers a bash script to do some app signing etc. I need that bash script to run some ruby gems. (Security is not important.) The way I see ...
0
votes
0answers
11 views

Disable xdebug PHP module per directory

I'd like to disable xdebug on a per-directory basis. I know how to set environment variables etc through nginx config, and how to globally change php.ini for a php-fpm pool, but how to ...
0
votes
0answers
12 views

How to enable Apache run a php-script multiple times?

Im newbie at Apache configuring. I want to heavy-test something, which requires that I could run the same script multiple times. I figured out it might actually runs 4 thread at the very same time - ...
-1
votes
0answers
15 views

How to handle ini-files for Homebrews

When installing MySQL and PHP with Homebrew, it puts its config files in version specific folders: /usr/local/etc/php/5.5/php.ini /usr/local/Cellar/mysql/5.6.21/my.cnf Thereby it effectively ...
0
votes
0answers
42 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 ...
0
votes
0answers
25 views

Netbeans Absolute Include Path

In my project, require, include, etc. reference the absolute path. Autoloading is not being used. I also have it set up as a "Remote Web Site". The web server is Linux, and the machine I run Netbeans ...
0
votes
0answers
18 views

best directory to install ffmpeg on centos to use in php

I want to install ffmpeg.(I am on a VPS - centos6.5) I failed before...for example when I installed it I couldn't call it in php for example: exec('ffmpeg ... ') it returned me:no permission ...
0
votes
1answer
21 views

Is ffmpeg-php important to run ffmpeg in php?

I installed ffmpeg (not ffmpeg-php) Now can I run a command like this?: exect('ffmpeg -i begin.mp4 end.ogg'); My server provider told me I couldn't run this command in php because of ffmpeg-php! ...
0
votes
0answers
31 views

How to configure to send emails from localhost pc with postfix xampp and xubuntu configuration

I am building some website and for testing purposes i need to configure somehow to be able to send emails from my pc. I have xubuntu installed on my home pc and xampp for local development. I have ...
0
votes
0answers
8 views

recompile ./configure ffmpeg on centos 6

I can work with ffmpeg with these commands: shell_exec("ffmpeg -i $inputPath $outPath"); or shell_exec("/usr/local/bin/ffmpeg -i $inputPath $outPath"); And Also I can call it on SSH centols ...
0
votes
1answer
66 views

Failure notices with strange email addresses after sending mail with cronjob

For our website we send a monthly update to our members. There is a (php) cronjob running every month to make this happen. Yesterday something strange happened; We received a lot of failure notices of ...
0
votes
1answer
45 views

Making 2.7.3 default version of python on CentOS 6

I want to execute python from php and I do have a script that works fine for default python interpreter. I have centos with default python 2.6.6 which is installed at /usr/bin/python and python 2.7.3 ...
1
vote
0answers
30 views

PostGreSQL DB - phpPgAdmin using XAMPP

I have installed PostgreSQL Database in Linux server system. XAMPP is installed on my local system. I have followed the steps in install phpPgAdmin . But I still could not access the phpPgAdmin page ...
0
votes
1answer
33 views

Updating database table values through AJAX

My test.php page is as under: <!DOCTYPE html> <html lang="en"> <head> </head> <body> <h3>Setting</h3> <p>Name:<input type="text" ...
0
votes
0answers
22 views

PHP - Exec on user's GUI session

I am trying to get a PHP script to execute an Applescript which opens an application.* PHP is running under the _www user. And while it can execute Applescripts with the osascript command, it can't ...
0
votes
0answers
25 views

PHP sendmail permission error

If I use php sendmail (already configured it with the right path on php.ini file and restarted the apache + sendmail server), it always gives permission errors like: 2014 Dec 30 18:14:46 Gaming ...
0
votes
0answers
3 views

couldnt enable display_error php.ini

I am trying to enable debug mode in my server. I tried the parameter display_errors on my php.ini file. But when I check the phpinfo function, the parameter display_errors is set to on in master but ...
0
votes
0answers
8 views

Compare array of objects to database [migrated]

I have a two-dimensional array like this: $data = array( 1 => array( id => 1, software_id => 121, name => "Microsoft Office 2010", version => 14.0.4763.1000 ), ...
0
votes
0answers
11 views

In Eclipse PDT (php), can I configure text select to exclude the $ prefix?

I've recently switched to Eclipse PDT but came from an editor where the dollar sign prefix is not selected when selecting text tokens (e.g. double-clicking a variable, ctrl+shift+arrow over a ...
0
votes
0answers
35 views

issue with install ImageMagick on centos6.5/php5.4 — Unable to load dynamic liberary

I want to install imagick on centos6.5/php5.4 I did all step of this tutorial: https://www.vultr.com/docs/install-imagemagick-on-centos-6 But finaly aftet suscess install I get error with this ...
0
votes
1answer
28 views

PHP - Does it replace the index? [closed]

PHP is a mystery for me. In the FTP main directory of my website, I uploaded 2 files: a.txt and b.txt. If I enter my website address in my browser I can view both a.txt and b.txt. However when I ...
0
votes
1answer
47 views

Installing zend-server php 5.3 on debian 7.x using chef cookbook

When trying to install zend server (6.3) with php5.3 on debian 7.x (wheezy) using the zendserver cookbook for Chef I get the following error: (needs to be php5.3 because of old code in PHP ...
0
votes
0answers
116 views

CentOS Web Panel CWP Apache php scripts not working

I have installed centos web panel on my centos6 server, CWP on my HP Proliant G8 server. I installed it as localhost web server. I put php.info script in public_html folder, and it doesn't work in ...
0
votes
1answer
169 views

Apache on CWP web panel

I have installed centos web panel on my centos6 server, CWP on my HP Proliant G8 server. I installed it as localhost web server. I put php.info script in public_html folder, and it doesn't work in ...
0
votes
1answer
28 views

Low TPS using Virtualbox + Ubuntu + Nginx + PHP-FPM + Silex

I am trying to understand why I get such a low TPS rate on my development environment. I am using the following: Mac OS X Mavericks VirtualBox Ubuntu 14.04 Nginx PHP5-FPM Silex I did not tweak ...
0
votes
0answers
10 views

Low TPS using Virtualbox + Ubuntu + Nginx + PHP-FPM + Silex

I am trying to understand why I get such a low TPS rate on my development environment. I am using the following: Mac OS X Mavericks VirtualBox Ubuntu 14.04 Nginx PHP5-FPM Silex I did not tweak ...
0
votes
1answer
79 views

Cannot install PECL ev package(OS X Yosemite)

I am trying for an hour already to install the g..amn ev package so I can use EvTimer in php but with no success. I am running sudo pecl install ev in terminal but I get the following error. /bin/sh ...
0
votes
0answers
40 views

Find issues in PHP site hosted under Nginx and PHP-FPM, no log error

I'm setting up a Wordpress site under Nginx 1.6.2 + PHP-FPM (PHP 5.5.18). This is the configuration for WP site: server { root /var/www/html/jurisprudencia.dev; index index.php ...
0
votes
0answers
40 views

How to enable php extention in centOS 6.5 with php 5.5

I have installed ffmpeg extension using this tutorial in Cent OS 6.5 with PHP 5.5. When I check with # ffmpeg command in terminal. it shows me following output ffmpeg version 2.2.1 Copyright (c) ...
0
votes
0answers
55 views

CentOS hhvm hphpize

I've installed hhvm 3.5 on CentOS 6.5 and I need mongo in it. So I'm trying to install proper extension but, it seems like my hhvm is missing hphpize needed for compilation, how should I install it? ...
0
votes
0answers
14 views

Safari won't open signnow

My website allows users to use SignNow application in <iframe> window. It Appears to work just fine on all browsers except for safari, specifically on ipad. signow crashes loading document. ...
1
vote
1answer
40 views

Connect to MySQL in VirtualBox Ubuntu

I have this code on my PC (Windows), calling a database from an Ubuntu Virtual Machine with host-only network. I'm using VirtualBox for the Ubuntu Machine $ipHost = "xxx.xxx.x.xxx"; $nombreUsuario = ...