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
3 views

How to set ownership/permission of PHP site that accessible by the user AND the apache user

I'm having problems with my PHP projects within /var/www set on permission www-data:www-data. My user can't write to these directories. I've added myself to www-data group and have added chmod -R ...
0
votes
0answers
7 views

How can I use Xcode as an IDE for an existing PHP/HTML web application in Mac OS X?

I installed Mac OS X in VMWare to be able to develop iOS apps on a Windows machine. I also installed XCode for this. My iOS-app is a Phonegap-app that is built with PHP and HTML, so it would be nice ...
0
votes
0answers
15 views

Login script with PHP and MySQL doesn't work, users from database doesnt appear - probably rookie mistake

I am new at php and MySQL, and I might have a stupid mistake here, but I just cant find it.... The script returns that I have entered wrong password or username, but I am completely sure that both are ...
0
votes
0answers
10 views

ffmpeg start recording at certain time

I'm searching a ffmpeg option that let me start recording streaming source at a certain time: I start my php script with crontab, inside my php I run ffmpeg for X minutes. Ffmpeg takes some seconds to ...
-1
votes
0answers
14 views

Wordpress Mail Plugin or Similar [closed]

I am a bit unfamiliar with web coding. So I am designing my webpages with existing wordpress plugins mostly. Now I need a solution for a small project, and I think that it must be very easy to do it ...
0
votes
0answers
4 views

Phing - Alternative to fetching files using scp's fetch attribute using filesets

I have a Phing task like this: <scp host="myserver" fetch="true" todir="backup"> <fileset dir="upload" > <include name="**" /> </fileset> </scp> ...which ...
0
votes
1answer
19 views

unable to open phpmyadmin Error during session start; please check your PHP …etc

I have installed xampp on ubuntu. I can access on firefox localhost/xampp. However when I go to phpmyadmin on the left it comes up with "phpMyAdmin - Error" Then underneath that it has this: "Error ...
1
vote
0answers
28 views

bash- command does not work with php shell_exec

I want to execute following command on my Ubuntu server using php: android create project --target 8 --name $fname --path ./$fname --activity MainActivity --package $fpack 2>&1 The above ...
0
votes
1answer
7 views

How to make titles bold based on date in WordPress?

I am having a WordPress site with static front page and it displays featured and recent posts....I am not using any widgets to achieve this, just using a custom home page template. My requirement is ...
0
votes
0answers
16 views

PHP forgetting variable values [migrated]

I'm currently putting together a small form project for a client. Since the client's web host does not support PHP, I've had to iframe the form from another host. It's not ideal but it's what I've got ...
1
vote
0answers
44 views

I destroyed my Mac's PHP setup: SSL certification fails

Long story short, I deleted the PHP symlink on my Mac, and replaced it with a symlink from XAMPP. Now it seems that there's a problem with my SSL configuration or what seems to me, a lack thereof. ...
0
votes
1answer
111 views

Errors with a phpMyAdmin install on CentOS 7

Well, I was trying to install phpMyAdmin on CentOS 7 (64bit) and this happens. Here is a Pastebin of the output from yum install phpmyadmin because can’t get code thing to work. [root@ftb ~]# yum ...
0
votes
2answers
59 views

How to yum update PHP to version 5.4 on Amazon Linux?

I need PHP 5.4 installed in an Amazon Linux instance. Presently we have: root@ip-10-138-1-229 webapps]$ php -version PHP 5.3.29 (cli) (built: Aug 20 2014 16:41:34) Is there a yum package for this? ...
0
votes
1answer
48 views

Remove everything related to PHP on Debian Server

I tried to compile PHP5.4 by myself with ZTS support which worked fine, but it seems that whenever I install extension with apt-get like apt-get install php5-mysql, it does not get installed into the ...
0
votes
1answer
39 views

Can MySQL handle a string 2 million characters long in BLOB

A search using the title returned 1 question on Stack Overflow, which was not related, and with the MySQL docs 65535 characters was mentioned as a max; but is that ... normal characters or would it be ...
1
vote
0answers
9 views

PHP syntax in Sublime Text very slow

My Sublime Text 3's PHP syntax highlighting causes the editor to become extremely slow. And it's proportional to the amount of code in the current file. It's only with PHP. As soon as I switch to ...
0
votes
0answers
5 views

maximum number of clients connected to the web service [on hold]

How can I find the maximum number of clients that can connect to my web service at the same time? Is there any way to know how many clients can connect to the web service at the same time? What is ...
0
votes
0answers
5 views

Php Pear Remote-Install “Error: remote-install expects either option ”remoteconfig“ be set, or remote_config configuration variable be used”

I am setting up PHP and Pear Remote install on my local server. As per the instructions here: http://pear.php.net/manual/en/installation.shared.php I have 'setup' the remote configuration using ...
0
votes
0answers
9 views

How to identify the database and took backup from another server?

Please guide me in this situation. I have two domains domain1 and domain2, both domain are registered from the different provider but hosted on the same server (server1). My question is that if I ...
0
votes
0answers
3 views

Syntax highlighting of variable interpolation in BBEdit

I'm writing PHP in BBEdit. How can I highlight variables inside strings differently from the rest of the string? For example, in "hello, $name", the $name part should have a different highlight ...
0
votes
0answers
15 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 ...
1
vote
0answers
17 views

PHP - MSSQL configurations cause slow performance [closed]

I have a problem in my project using PHP and MSSQL. I have the following configurations: 64 GB Ram 16 CPU Intel Xeon SQL Server 16 GB Ram 4 CPU Intel Xeon Web Server And I have the following code: ...
0
votes
0answers
14 views

Can Netflix OSS system be used for applications built in php and/or python?

I came across NetflixOSS open source project http://netflix.github.io/#repo I was wondering if it would work out of box with php and python applications. How can a person tell what types programming ...
-1
votes
1answer
46 views

How to Syncing Offline MySQL db to online MySQL db

I am developing a inventory management web application using php and mysql. This application will runs on server hosting and localhost. while any one server disconnect the internet at the time data ...
1
vote
1answer
63 views

failed to open stream too many open files - php 1024 maximum limit - Redhat - why isn't new limit working?

I've got this message while debugging a problem in a PHP program. I've already edited the /etc/security/limits.conf and added * hard nofile 500000 * soft nofile ...
0
votes
0answers
17 views

Getting new PHP version in WAMP to load

I'm downgrading my WAMP from 5.5.12 to 5.3.10, I added exported php-5.3.10-Win32-VC9-x86.zip to C:\wamp\bin\php\php5.3.10\ I've added the necessary php5apache2_4.dll into the php5.3.10 folder and ...
0
votes
0answers
45 views

Uninstalled Apache, but still see test page

I recently installed Apache HTTP Server from Apache Haus and PHP, and have decided I'd like to experiment with a few other options, so I uninstalled and deleted them. However, when I visit localhost ...
0
votes
0answers
9 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
1answer
344 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
1answer
120 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
25 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 ...
0
votes
0answers
40 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
1answer
37 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
52 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
52 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
53 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
1answer
30 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
23 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
33 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 - ...
0
votes
0answers
111 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
31 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
26 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
28 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
133 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
16 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
93 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
84 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
52 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
85 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
34 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 ...