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

0
votes
0answers
11 views

sending e-mails via sendmail using virtual-users

Currently my sendmail send e-mail with following header: Received: (from www-data@localhost) I want this header to be like: Received: (from contact@mydomain) but I am also hosting multiple ...
0
votes
0answers
17 views

use PHP over FastCGI instead of mod_php

I have a debian wheezy server with apache. Generally I want to use PHP as a apache-module. But on some virtual hosts I want to use PHP over FastCGI instead of mod_php. How can I switch off mod_php on ...
1
vote
1answer
17 views

Forbidden - for a php webiste with apache, although it shouldn't be

I can't run a php from my custom location: $ cat /etc/apache2/sites-available/000-default.conf <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot ...
-3
votes
1answer
21 views

How to install Horde Webmail on Ubuntu 14.04? [on hold]

Am using Ubuntu 14.04. Am stuck with the following issue: My goal is to install and have running HORDER GROUPWARE 5.2 on my Domain/Hosting: Download on Github: https:// github ...
-2
votes
1answer
16 views

DNS, SPF Web Form, Mail not arriving [duplicate]

I need to be able to receive emails from my php webform on my website, I use Google Apps for the mail recipient and my website is hosted with Godaddy. I receive email from other places and I have ...
1
vote
2answers
24 views

ssh connection failed via php

ssh connection failed via php Trying to connect to ssh using a php script via a webserver. I work on a MacOsX. I changed apache's User and Group (_www:_www) to my own User and Group (). The command I ...
0
votes
0answers
9 views

Setting newrelic.appname dynamically via apache

We use mod_vhost_alias to set up and destroy our websites quite quickly without having to restart apache and we'd like to add New Relic monitoring to each site. We wish to automate the appname ...
-2
votes
0answers
16 views

How to Install PHP 5.3.7 On Godaddy VPS using SSH [on hold]

I have bought a New VPS from Godaddy but they supported PHP 5.3.5 and then 5.4.34 but i want PHP 5.3.7 On my VPS so please help me that how can i do this using Putty SSH Client Regards Shahaan ...
-4
votes
0answers
29 views

NGINX setting up multiple Gmail addresses properly

I have a NGINX server set up, and everything works, including PHP and PHPmyadmin. But now I want to be capable of sending emails with PHP forms. I got this somehow working with sendmail for only my ...
0
votes
0answers
14 views

Apache 2.2 + PHP 4.3.10 + Windows [on hold]

I would like to know How install Apache 2.2.x with PHP 4.3.10 on Windows. I must transfer an old application in php4.3.10 to php5.4 Basicly, I would like use Wamp or EasyPHP. I trie to install ...
-1
votes
0answers
18 views

Permission denied on session_start() [on hold]

I have a strange problem with my server that i've never come across before. The problem is i make session data but when i click to a new page the session data seems to get wiped out. I have run a ...
-1
votes
1answer
31 views

Memory on dedicated server is filled out [duplicate]

We are managing a dedicated server (WHM/cPanel) with 4-5(Magento & Woocommerce mostly) accounts in it, along with custom code that will connect those platforms with ERPs. This custom code works a ...
0
votes
0answers
5 views

How to configure simpleSAMLphp as an OpenID consumer?

We are using simpleSAMLphp for single-sign-on and would like to authenticate users via several remote OpenID providers. What are the specific attributes necessary, in the authsources.php openid ...
0
votes
1answer
28 views

Access other partitions with PHP and FTP

I'm wondering how I can access another partition with PHP. I bought a new server and can see data the second hard drive is available but now I want to store the images users upload in that ...
-1
votes
0answers
17 views

Class 'Memcached' not found

I've just upgraded a server from httpd 2.2 to 2.4, and moved our PHP dist from 5.3.9 to 5.5.17. I used Yum! to achieve this, but there were some packages that didn't map properly. First, the biggest ...
0
votes
0answers
13 views

Unable to load dynamic library pdo_mysql.so

I installed php55-* because I needed to upgrade an SDK in my app (which ended up needing PHP 5.4 or later). It seems that pdo_mysql.so cannot be loaded: PHP Warning: PHP Startup: Unable to load ...
0
votes
2answers
65 views

php not working on nginx fresh install on centos 6.5 [closed]

Got me a fresh install of centos 6.5 on virtualbox (under my lynx distro - mint). I've created a new user with public_html under the user's home directory, added simple php file and set up all ...
0
votes
1answer
28 views

Pass PHP5-FPM errors back to error page script?

My nginx has an error_page setup that throws 500 errors to a PHP page. I wish to display/log any PHP errors that cause this error page to show. When I say display, I mean show in-browser depending on ...
0
votes
0answers
9 views

Strace php script - ERESTART_RESTARTBLOCK (To be restarted)

I am trying to troubleshoot a WordPress installation that is loading the front page very slow. I straced the index.php file with the -T option to see where the delay occurs and it pauses 2 times for ...
-3
votes
0answers
28 views

Updating PHP for XAMPP on Solaris 10 [closed]

I'm trying to install and use Joomla for my Solaris 10 server. I installed the latest version of XAMPP available for Solaris which is 1.7.7. This version of XAMPP comes with PHP 5.3.8, but Joomla ...
0
votes
0answers
9 views

Shared hosting - force mail return envelope [migrated]

I hope I'm on the right site, because it's a crossover between drupal and server configuration... I am currently using shared hosting for a website and am encountering mail problems while sending ...
0
votes
0answers
28 views

Plesk behavior different when domain is accessed self from inside the server?

Consider the following scenario - www.domain.com is linked to a subscription within Plesk on our dedicated Linux server. From a web browser on a remote machine, www.domain.com resolves to it's ...
0
votes
0answers
36 views

Very long processes to php

I am watching htop and see this processes: find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +24 ! -execdir fuser -s {} ; -delete This processes (from 1 to 5) ...
0
votes
0answers
21 views

“Unexpected end of file from server” error while connecting to SOAP Server (PHP)

"Unexpected end of file from server" error is uncommonly received in SOAP Client (Java) while trying to connect to a SOAP Server (PHP - Zend Framework). I can tell the error is shown after some web ...
0
votes
0answers
23 views

php-mysqli extension fails as compilation

When I am trying to build the latest php5-mysqli port I get the following errors back: cd /usr/ports/databases/php5-mysqli && make MAKE_JOBS_UNSAFE=yes install clean ...
0
votes
1answer
27 views

HTTP Error 500 Joomla Site in Windows Server 2012 IIS

I am trying to migrate a Joomla 1.5 website from Linux to Windows Server 2012. I tried to use the Web Platform Install. It installed most components, PHP, IIS Url Rewrite, etc except Joomla itself. I ...
0
votes
1answer
33 views

PHP from repository, upgrade to 5.5

On my Debian VPS I have installed PHP 5.4 from debian wheezy repository. Now I would like to upgrade PHP to 5.5, but I would like to still be able to continue upgrades by apt-get. Is it good way to do ...
0
votes
3answers
34 views

Change Packet Dynamically with Squid

Is there any option in Squid that allow me to change packets dynamically? For ex: I want to send all packet that comming to Squid to my PHP code and change the packet with PHP Dynamically and resend ...
0
votes
2answers
63 views

Upgrade to latest current installed version of PHP [duplicate]

I've just purchased a new VPS and they've, for some unknown reason, installed PHP version 5.3.3. I'm fine with being on version 5.3.X, but I believe the latest version is 5.3.29. I did some Googling ...
0
votes
1answer
21 views

Django and phpBB server [duplicate]

Is it possible to integrate Django web site and PHP forum by some apache directive in httpd.conf file? For example: <VirtualHost *:80> ServerName myserver DocumentRoot home/myserver/www/ ...
-1
votes
1answer
75 views

Is it safe/how to update php (5.3.9)? centos (6.5 final) & parallels plesk panel (11.5.30 Update #47)

I have my own server that is running: php (5.3.3), centos (6.5 final) & parallels plesk panel (11.5.30 Update #47). This server has customers with subscriptions in plesk and their domains set ...
0
votes
0answers
25 views

Installing suPHP with PHP5.5

I'm using PHP 5.5 on my CentOS server and installed using yum and the webtatic repository (package is php55w). I need to use suPHP on my server but I realize that the mod_suphp package available ...
1
vote
1answer
86 views

CentOS 7, SELinux, PHP, Apache: How to set default permissions to new or updated files in an directory?

Server info: CentOS Linux release 7.0.1406 (Core) PHP 5.4.16 (cli) (built: Sep 30 2014 09:44:39) SELinux enforcing Apache/2.4.6 (CentOS) My PHP-Script needs to read from a home directory ...
3
votes
2answers
103 views

Apache/PHP ldap stops working. Requires restart of apache

I currently have a setup where users log in to a website using LDAP credentials. It's all internal so I don't really care a ton about certificates. So, in my /etc/openldap/ldap.conf file I have ...
0
votes
1answer
35 views

Too Many index.php processes with high memory usage

I have wordpress site installed over dedicated server in a separate cpanel account. From couple of days this account experiencing high memory usage, high loadtime and freezing frequently. so I have ...
1
vote
0answers
15 views

Memcached Pool - Outtage causes increased lag in response time

I have multiple cache servers which are added to a virtual pool at the PHP layer via the Memcached::addServers() api. During fault tolerance testing I noticed that taking one of the memcached servers ...
-2
votes
1answer
38 views

PHP Fatal error: while migrating wordpress website from local to live server

When I migrated ecom website build with Wordpress Vina fashion theme from local server to live godaddy server I an getting following error: PHP Fatal error: Uncaught exception 'Exception' with ...
1
vote
0answers
16 views

what is php-fpm warning “failed to acquire scoreboard”?

what is php-fpm warning "failed to acquire scoreboard" in fpm error log? And how to fix it? tail -f /var/log/php-fpm.log [08-Oct-2014 03:36:36] WARNING: failed to acquire scoreboard [08-Oct-2014 ...
1
vote
1answer
24 views

What is the best approach to handle email form abused by bots?

I just recently moved to a Dedicated Server hosting from a normal Reseller Hosting, and currently facing issue with email blacklisting. One of my clients has about 4 contact forms that automatically ...
-1
votes
0answers
14 views

All tests failed after installing cassandra-pdo for PHP

I tried installing cassandra-pdo for PHP on Ubuntu 14 by following the guide on this website: https://code.google.com/a/apache-extras.org/p/cassandra-pdo/ I cloned the cassandra-pdo to the "ext" ...
0
votes
0answers
28 views

no record of login thru phpseclib

I am having a strange problem. I am using phpseclib to communicate with one of our server server - 10.0.0.2 my pc client - 10.0.0.1 I am accessing it via 10.0.0.1 when i hit "last -n 10" i cannot ...
0
votes
0answers
9 views

Exposing pm.status_path [migrated]

Do you think it's dangerous to publicy expose PHP-FPM pm.status_path? It displays "Pool Status", "Active Processes status" and "Idle Processes status", showing Script path and Request URI.
0
votes
2answers
21 views

Disallowing interactive login for specific mysql users

I want to create some mysql users for different web sites but disallow interactive connections for them. If a evil-user get the mysql login credentials of a website, creating a conexion from ...
0
votes
1answer
36 views

Nginx Not Passing Rewrites To PHP-FPM

I have the following rewrite rules for nginx. The rules seem to not function correctly, for example the rule for games is supposed to rewrite http://thegamesdb.net/game/2/ to ...
0
votes
1answer
41 views

Yum php-yaml install issues

We had an issue with an ansible playbook using vagrant - where formerly php-yaml was installing fine. Then, we were getting issues with our PHP repo: [vagrant@localhost ~]$ sudo yum install php-yaml ...
0
votes
0answers
30 views

Server 2012 R2 IIS 8 MediaWiki Every Other Page Refresh No CSS

I am having a peculiar issue with MediaWiki on both Windows Server 2008 R2 and 2012 R2 where I have configured version 1.23.4 of MediaWiki and PHP 5.6 nts under FastCGI and for some reason if I ...
0
votes
0answers
20 views

puppet xdebug.ini not working

I install xdebug puppet Here is folder structure /myproject Vagrantfile puppet\ xdebug\ files\ xdebug.ini manifests\ init.pp This is ...
0
votes
1answer
13 views

Install PHP PEAR on Windows non-interactively specifying target install directory

I want to install PHP PEAR on Windows non-interactively. If I just download http://pear.php.net/install-pear-nozlib.phar and run it like this: php install-pear-nozlib.phar It gets installed into ...
0
votes
1answer
47 views

Is it possible that Nginx blocks itself from requesting another URL on the same instance?

I have a setup that worked in Apache and now it is failing in Nginx with php-fpm: I have one PHP-script that is offering a service, you call the URL and get some data I have a second PHP-script that ...
0
votes
1answer
28 views

Adding a self-signed cert to the trusted certs within cURL in Windows?

I have created a self-signed cert from the instructions on this page, have installed it and it appears to all be working correctly, but now I need cURL to trust it. Since the later versions of cURL ...