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
66 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
5 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
19 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
131 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
0answers
524 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
0answers
26 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
117 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
92 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
113 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
75 views

mod_security: Disable empty user agent checks for specific requests

I am using Ubuntu 14.04 LTS server and Apache 2.4.10 with mod_security installed. I have integrated an API from Exotel (a cloud telephony system), that calls my php script url whenever i get an ...
0
votes
0answers
135 views

/sbin/php-fpm works while /bin/php doesn't

Compiled php 5.6.3 on centos with the following ./configure: ./configure \ --with-zlib-dir \ --with-freetype-dir \ --enable-mbstring \ --with-libxml-dir=/usr \ --enable-soap \ --enable-calendar \ ...
0
votes
0answers
464 views

XAMPP Windows Server 2012 R2 and IIS - Port 80 in use

Configuration: Windows Server 2012 R2 Standard IIS 8.5 XAMPP 1.8.3 5 VC 11 Httpd.conf Listen 8080 ServerName localhost:8080 PHP.ini - extension added extension=php_sqlsrv_55_ts.dll; IIS ...
0
votes
0answers
86 views

PHP in Xampp Windows with ZTS support

i would like to add ZTS to PHP bundled in latest Xampp distribution on Windows. I need to use pthreads for a project and don't know how to do it. What's the way to enable both? Thank you very much
0
votes
0answers
234 views

How to install/run phpize along with xampp?

moving ahead with this question I want to ask queries 1. Do I need to install php5-dev separately when I have already installed xampp on my ubuntu 14.04? wheras phpize is listing inside ...
0
votes
0answers
47 views

cpanel exim mails go to spam

I installed Cpanel on my server, and no matter what I try, maill always goes to spam folder. and unless I use -f option, the mail is shown from username@serveraddres (someuser@vpsxxxxx.ovh.net) I also ...
0
votes
0answers
95 views

'git status --porcelain' failed in submodule

Whenever I try to commit I get these errors: error: bad index file sha1 signature fatal: index file corrupt fatal: 'git status --porcelain' failed in submodule amazon-s3-php-class Why? What's ...
0
votes
0answers
18 views

How to add PHP (and other custom logs) to Server Manager in Windows Server

Server runs on Windows Server 2012 R2 Datacenter with 9600 (Windows 8) and uses Server Manager application as central place of all server activities. After installing Apache as service it's logs show ...
0
votes
0answers
13 views

Is it possible to change php settings from the command line?

I have a vagrant controlled environment that uses a base box I don't have control over and is a near replica of our production servers, I do have control over the provisioning scripts, however, and ...
0
votes
0answers
272 views

How to connect to mysql database on a remote server behind a vpn requiring an ssh tunnel from another remote server using php?

I need to connect to a mysql database with php from a remote server. The mysql database is on another server owned by me. On the mysql server, the only permissions I have is to read and do database ...
0
votes
0answers
222 views

How to configure WAMP with a DocumentRoot on a mapped network drive?

I'm trying to set up WAMP server on a local machine so a PHP script on a mapped network drive can be executed, either from the local machine or from any other machine that's also mapped to that drive. ...
0
votes
0answers
88 views

Php-cgi Server Load high Every Single Visit

I Get Big Big Problem I Am Using Virtual-min in My Dedicated Server My Server Configuration IS Intel Xeon E3-1230 3.20Ghz RAM:8GB Bandwidth:1Gbps I Am Using Varnish And NGINX I See Carefully ...
0
votes
0answers
28 views

Changing Pecl installation directory

Hi i'm having trouble with pecl installation, the problem i'm having is i'm installing gearman , and i'm now at the stage of installation of the pecl PHP extension. it should be a simple as executing ...
0
votes
0answers
108 views

Wordpress Visual Composer Plugin Needed

Wordpress Visual Composer Plugin only allows me to add to this elements to the blog posts grid: “Thumbnail”, “Title”, “Text” and “Read more link”. Is there any add-on that will allow me to add the ...
0
votes
0answers
94 views

Linux create zip file with custom directories in it

I'm new here. My task is to create a zip file from php code. I need to password protect it and the server runs php 5.5 and password protection is not supported there so I need to execute a command ...
0
votes
0answers
26 views

safe-mode and its effects on vhosts - why does turning off help

on a root server - with several domains with different vhost (configurations) i run several wordpress on domains - and wthin the wordpress i have a plugin that allows uploads of images -within a ...
0
votes
0answers
28 views

How to setup webserver with access restrictions

I need PHP webserver with two folders: www and www_hidden each will have its own database, then there will be two users: normal and admin. User normal can access only www through FTP and admin can ...
0
votes
0answers
51 views

Extract DSLR Live View as video feed and capture

We're working on a project where users can view themselves using a camera mounted on the wall using a live stream on their phone. They can take a picture of themselves, and it is stored on our servers ...
0
votes
0answers
185 views

Only the first row is accessed on the foreach loop

What I want to do is to pass using javascript the following values (refer to the value of the radio button) whenever I click on the radio button. I have this code on a blade template using laravel. ...
0
votes
0answers
47 views

ProFTPD Config not working [LIMIT]

Morning All, I have a user called 'ftp' I want them to be able to move files into basically an 'Archive' directory - create files etc, but NOT delete files in the config I have: <Directory ...
0
votes
0answers
40 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
0answers
149 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
54 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
31 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
93 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
0answers
93 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
0answers
189 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
0answers
48 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 ...
0
votes
0answers
49 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
0answers
389 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
167 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
0answers
85 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
0answers
13 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 ...
0
votes
0answers
266 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
37 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
0answers
21 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. ...
0
votes
0answers
17 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
0answers
104 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
19 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
142 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
760 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 ...