PHP is a general-purpose scripting language that is especially suited for Web development. The online manual is an excellent resource for the language syntax and has an extensive list of the built-in and extension functions. Most extensions can be found in PECL.

learn more… | top users | synonyms

-1
votes
0answers
11 views

install pecl on centos server (VPS)

I want to install image magic on centOS 6.5 server... In one of steps,I must install this: pecl install imagick But it dosen't run..I got this message: pecl : command not found. I googled ...
-1
votes
0answers
15 views

How to let php write to www dir in EC2 server? [on hold]

I'm using some sort of third party API and the API is logging to filesystem. Logging constantly cause warning on my page saying 'can't write file'. How is the correct way to give file/directory ...
-2
votes
0answers
14 views

make php 5.3 website to work on server with php 5.4 [on hold]

In some shared hostings I remember there was an option in cpanel that you can choose the php version. Because it is a shared hosting the version will be changed only for that specific account I guess. ...
-4
votes
0answers
30 views

PHP scripts run fine on server, phpmyadmin will not open, only Downloads File

Not sure where to go here, been looking all over the place for an answer; so, I figured I'd try here. I have an Ubuntu 14.04 LTS server running apache2, mysql, php5, etc. All is running fine, my one ...
0
votes
0answers
14 views

PHP configure prefix not finding php-config

I am installing phalcon, and while I have my setup working fully I am confused by the configure generated by phpize. Specifically, why do I have to pass --with-php-config - I thought setting ...
-2
votes
0answers
22 views

log error in centos7 [on hold]

I'm just a beginner in linux base opreation system. I delete a log folder(log folder and all the sub folder within log folder) under var folder because it take 19GB of my hosting. And here we got the ...
-3
votes
0answers
22 views

error404 /cgi-sys/defaultwebpage.cgi [on hold]

I have a Mac mini I install vagrant with nginx + php on my Mac mini I set up a hostname(*.dev.com) on my Mac mini path /etc/hosts I set up a same hostname on my vagrant If vagrant IP Address is ...
1
vote
2answers
52 views

Blocking Invalid HTTP Requests to PHP Application

For the first time in a number of years, I'm semi-responsible for helping out with the server administration of a PHP web application (served out using Apache). We're seeing a number of requests for ...
1
vote
0answers
18 views

PHP mail() function - “from” name overwritten by Exchange Server

I originally posted this on stack overflow but was told it might be better placed here on Serverfault. I am trying to send a very simple email from a php script ...
1
vote
0answers
9 views

config variable php_suffix does not match

I have a php instance on Webuzo (centos-6-x86_64.openvz) in /usr/local/apps/php54/. It already has pecl and phpize in /usr/local/apps/php54/bin/. When installing igbinary with command ...
1
vote
0answers
9 views

cPanel PHP open_basedir warning to root directory - Any solution? [migrated]

I am currently hosting a simple multi-tenancy service on cPanel shared hosting, where customers who signed up will have a subdomain, directory and a database dynamically assigned to them (via XMLAPI): ...
-1
votes
0answers
19 views

How do I configure PHP for use with Blat on Windows Server? [closed]

Am running Apache and PHP on Windows and am having issues with fakesendmail. I want to try an Blat, which has been suggested as an alternative. Assuming I want Blat to takeover for sendmail (which is ...
-1
votes
0answers
26 views

How To Word Out Vulnerabilities On Hacked Webserver [duplicate]

I have a Server 2012 webserver running a number of clients websites (mainly Wordpress). A number reported to me today that upon clicking through from Google, they were informed that the site was ...
-1
votes
1answer
27 views

HTTP Error 500.0 - Internal Server Error C:\Program Files (x86)\PHP\v5.6\php-cgi.exe [closed]

On fresh installed IIS I get error.. HTTP Error 500.0 - Internal Server Error C:\Program Files (x86)\PHP\v5.6\php-cgi.exe - The FastCGI process exited unexpectedly Most likely causes: IIS received ...
-7
votes
0answers
29 views

how to set up a cookieless sub domain to serve static contents? [closed]

I am in search of developing a cookieless sub domain to serve my static contents in the web site. As I am a newbie to this field it look like a tough task for me. Can any one help me to find a ...
0
votes
0answers
23 views

How configure apache to allow simultaneous requests from the same ip

I am working on project in Zend Framework 2 using apache 2 (develop on windows, production on linux). All requests sent to server are queued (second start after first ends) locally and on production. ...
1
vote
0answers
18 views

PHP APC Using 2.7MB RAM for file that normally uses 16K

I had a PHP application that was performing poorly. I investigated the situation and determined that APC cache will filling up constantly. I increased the size of the apc cache so that I don't get ...
0
votes
0answers
12 views

File changes are not reflected after system date changed to future [closed]

I have changed my system date to check date related functionality, But after that whatever changes done in my php files are not reflected in output. Every time it is showing result from previous file ...
-2
votes
2answers
48 views

How do i install another version of PhP?

I would like to have installed WHMCS on my dedicated server. (I already have installed apache2) How do I install PhP 5.4 as WHMCS not support PhP 5.5? WHMCS System requirements: ...
-1
votes
0answers
14 views

jQuery cannot pass local storage to RDS postgreSQL via php on AWS

I am slightly new to programming, I have had a few friends help me out with getting my Phone Gap app to post local storage to postgres via php. I am testing my app on my desktop browser and in an ...
0
votes
2answers
39 views

php servers without apache/nginx/cgi stack

In many languages, you build web frameworks from the ground up (i.e. from unix sockets) and layer on abstractions. If I want to build a web framework from scratch in OCaml or C, I first build a socket ...
-3
votes
0answers
22 views

Linux smtp https socket [closed]

I have a Linux server with Apache, OpenSSL and PHP When i'm trying to send an e-mail to someone from my Gmail account i get this eror... How can i fix it? The following SMTP error was encountered: ...
1
vote
2answers
41 views

Can't connect to MySQL from another server

I have two servers on the same subnet. 192.168.100.1 (mysql) 192.168.100.2 (php) MySQL seems to be running fine on it's box but I can't seem to connect to it. These are both ubuntu boxes and ...
0
votes
1answer
58 views

Does PHP mail function need a mail server? [duplicate]

We recently moved our Drupal sites to a Linode server. One of those sites has a lot of users filling forms. The previous server sent, with no problem, all form registrations to an email address, this ...
-1
votes
0answers
31 views

Hiding parts of huge php project [migrated]

I have a big php project. Now I have not big developers team but we want more. So now I'm thinking about code security. Is there any possibilities to hide parts of code? For example. One team develop ...
1
vote
1answer
17 views

Dont allow to override php.ini values for certain headers as a root

We are having this issues in shared hosting environment. FYI: Under shared hosting environment each user can have a php.ini in their folder to override the global settings. There will be many users ...
1
vote
0answers
17 views

PHP temp uploaded files are not deleted on IIS due to 'Access Denied' for IUSR

When uploading a file by a HTML form to a PHP script, the uploaded file will remain in upload_tmp_dir, even when the request ended and this file was not removed explicitly by the PHP code. Expected ...
-1
votes
0answers
19 views

PHP cURL “Unknown SSL protocol error in connection to” [migrated]

When I try to run my script using cURL on my computer via XAMPP, everything works perfectly: http://i.stack.imgur.com/jlerA.png When I move it onto my server (Ubuntu 14.04 x64), it stops working and ...
0
votes
0answers
16 views

Apache on CWP web panel [migrated]

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

PHP 5.4 PSA-Horde and Plesk 12 - How do I configure Active Sync?

PHP 5.4 PSA-Horde and Plesk 12 - How do I configure Active Sync? Ladies and gentlemen after a lot of hours getting more and more depressiv I hope one of you could help me figure out why my active ...
-2
votes
0answers
14 views

contact form not passing emails through on virtualmin server

I am running a virtualmin server to host a few websites. One in particular has a contact form which is sending emails to the same domain as the website. The issue is, I think the emails are trying to ...
1
vote
0answers
31 views

PHP running slow on Plesk 12 Windows VPS, IIS7.5, 6 cores, 6gb RAM

I am having an issue where PHP is running very slow on my Plesk 12 Windows VPS. Its a high end VPS with 6 AMD Opeteron (2.4ghz) cores and 6gb RAM. The server runs Plesk 12 on Windows Server 2008 R2, ...
-1
votes
0answers
28 views

Varnish breaks Wordpress visual editor TinyMCE

I am currently running multiple Wordpress 4 installs with a Varnish 3 + Apache 2.22 + PHP 5.4 stack, Varnish seems to break Wordpress WYSIWYG, TinyMCE. Therefore I can only use the "Text" editor. I ...
-1
votes
0answers
19 views

Images 503 when using Kirby and Dropbox Sync

I have a Dropbox folder on my Media Temple server at ~/Dropbox and I have a sub folder symlinked to a folder (a subdomain) in my web root using a Kirby CMS install at ~/domains/example.com/content ...
1
vote
1answer
32 views

setting up suPHP with puppetlabs/apache on centos 6.5

I am trying to set up suPHP on a centos 6.5 box with the puppetlabs/apache module. Apache Configuration file { "/var/www/vhosts": ensure => "directory", owner => "root", ...
0
votes
1answer
124 views

nginx - deny all *.php requests except index.php for security reasons

os: CentOS 7 nginx: 1.6.2 httpd: apache 2.4.6 cms: Drupal 7 After my server was compromised I removed all from server, reinstalled OS and soft, and restored data from backup. Now I configure all ...
-1
votes
0answers
11 views

Apache NTFS symlink linux [migrated]

I have a dualboot system with a common NTFS drive. I wish to store my files there and run from there. I ran into several roadblocks and cleared most of them. Here is what I am facing. I have a ...
0
votes
1answer
102 views

Nginx serves php files as plain text (Mod_Rewrite)

Grr.. Okay, I have this problem... So there is no .htaccess (Mod_Rewrite) in Nginx.. So I've converted my .htaccess to a format which can be read and placed in the default.conf. Original htaccess: ...
-1
votes
1answer
45 views

Excluding a directory from a root .htaccess rewrite rule to disallow from caching

On my lamp installation, I have in the root folder "/" (mydomain.org) a wordpress multisite with W3 total cache activated, I have also a sub_dir called "sub" (mydomain.org/sub) with a PHP script ...
0
votes
0answers
33 views

PHP APC cause server crash on Prestashop 1.6

I run Prestashop 1.6.0.9 on a Debian Wheezy dedicated server with Apache2 and PHP 5.4 with APC and 32Gb of memory on the server. The shop perfectly run without using APC, but when I enable this ...
0
votes
0answers
5 views

Low TPS using Virtualbox + Ubuntu + Nginx + PHP-FPM + Silex [migrated]

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

Serving different charsets per virtual host

On a centos Server 6.5, apache 2.2.15 is it possible to server multiple charsets to different virtual hosts? I know that setting the default Charset is done by adding into the httpd.conf file: ...
-1
votes
0answers
19 views

IIS 7 being extremelly slow

Using: IIS 7 Windows Server 2008 PHP 5.3.13 I'm not sure what's going on on my server, but sometimes its extremely slow serving the pages. Not sure if it can be related with the usage of RAM ...
0
votes
0answers
51 views

Ubuntu upgrade PHP not working anymore and nor error log

I made a apt-get update, followed by a apt-get upgrade on my Ubuntu (Homestead VM). Since then I can't access my PHP app anymore. I've tried accessing a txt file from my application and this works ...
-3
votes
0answers
28 views

Installing Apache after WHM on CentOS

This is my first time setting up a VPS and naturally I've run into some hiccups. The VPS comes with CentOS 6.5 and cPanel pre-installed, I just had to configure it after signing in. That all seemed ...
0
votes
0answers
29 views

Fastcgi error after installing 2 PHP versions on CentOS (6.4 final) & Parallels Plesk Panel (11.0.9)

I installed PHP-Panda on our Cetnos server (6.4 Final) & Parallelels Plesk Panel 11.0.9, and now I got the new PHP versions under /opt/atomic/ and ./php --version works clean inside the specific ...
-3
votes
0answers
31 views

trying to do a git checkout from a php script [duplicate]

I made a small php webhook that executes git command to checkout the code from a remote repository in a detached worktree. I got this: error: cannot open .git/FETCH_HEAD: Permission denied I then ...
-1
votes
0answers
19 views

What specs does apache need to handle 1000 active users [duplicate]

My VPS is hosted through digital ocean. I know there can be many factors to this, but would like a ball park as to what i need to do. I am prepping for a busy season next April and my web server ...
0
votes
2answers
40 views

RHEL 6.6: redis-package for php54

Redhat Enterprise Linux Server 6 contains php54 packages, in addition to the normal php packages that ship version 5.3. Unfortunately for me, a php-redis package exists, but no php54-redis package. ...
0
votes
1answer
19 views

Composer works as root but not as a common user, why?

I have installed Composer Globally as this docs shows and it works for root user on my server CentOS 6.6 but as a normal user lets said webvm user it doesn't saying that composer is not found (see ...