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
1answer
19 views

The requested package php could not be found in any version

I'm trying to install the latest version of Technic Solder in my Plesk VPS server but composer is failing to detect the php version installed... What cant I do to fix that? My system is running ...
0
votes
1answer
8 views

Install php-soap56w on CentOS 7 x64 not working

I followed the guide located here to install PHP 5.6 with Apache on CentOS 7. Everything went along smoothly. I now need to install PHP-SOAP and it's gave me dependancy conflicts. So I used this ...
0
votes
1answer
14 views

Apache proxy to subdomain (vhost)

I need to proxy to a webserver were I don't have control over it. The problem is that the webserver hosts more than 1 domain and subdomains on the same IP. This means that when I use apache proxy I ...
2
votes
0answers
17 views

nginx with php and two node.js routes

I have two routes i want to pass two node processes(websocket route, angular app), while a 3rd route needs to pass to a php application that acts as a rest api to the angular app. i'm not terribly ...
-1
votes
1answer
23 views

Backdoor:PHP/Shell.P keeps regenerating.Caught by Antivirus. [duplicate]

I have a windows server 2008 with PHP on it and a few Wordpress sites on it. I got a virus some time ago. I thought I had it deleted and everything was fine but after looking at my Quarantine section ...
-5
votes
0answers
26 views

Connect to remote server over VPN via PHP

I have a little problem; I have a Ubuntu-Server located in Germany. On this server i want to run a PHP script which connect to the internet over a VPN. (because i need an IP-Adress from another ...
0
votes
0answers
40 views

How to find which PHP file is opening socket connection? [duplicate]

Apache status page is showing a lot of requests to http://TheServerName.com/wp-login.php coming from 127.0.0.1. This domain is not even active. I suspect that a malicious php script has infected one ...
0
votes
1answer
13 views

Apache process growing despite limiting MaxRequestsPerChild

Server Version: Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips DAV/2 mod_bwlimited/1.4 PHP/5.4.27 mod_perl/2.0.6 Perl/v5.8.8 CENTOS 6.6 PHP handler - DSO The server is running with prefork ...
-2
votes
0answers
14 views

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

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 ...
-2
votes
1answer
28 views

how can I understand if IMagick is installed? [on hold]

I install Imagick according this tutorial: http://www.imagemagick.org/script/install-source.php#unix I used this code: function alist ($array) { //This function prints a text array as an html list. ...
1
vote
0answers
45 views

2006: MySQL server has gone away

I am getting 'Lost connection to MySQL server' and '2006: MySQL server has gone away' errors so frequently that the server is unusable. There are questions related to this issue, but none that apply ...
-1
votes
0answers
21 views

cURL settings in debian [on hold]

I recently setup a cURL script, wich I tested at a Windows XAMPP envirement. Now I want to bring it live on our Debian machine, but its not working anyhow. I think this has something to do with the ...
0
votes
3answers
25 views

pear on CentOS with “No Package” message

I googled for hours to find a solution but couldn't find anything. What can I do with this error? I couldn't install php-pear on centOS 6.5. [root@server ~] # yum search php-pear Loaded plugins: ...
-1
votes
0answers
22 views

install pecl on centos server (VPS) [closed]

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

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

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

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

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

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

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 ...
1
vote
3answers
59 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
19 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
12 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
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 ...
0
votes
0answers
24 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 ...
-2
votes
2answers
49 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
40 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 ...
1
vote
2answers
45 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
62 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
19 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
24 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
54 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
41 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
21 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
34 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
134 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
120 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
50 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
37 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 ...
1
vote
0answers
58 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 ...