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
vote
0answers
388 views

Web Platform Installer PHP Updates

I have installed a version of PHP with the Microsoft Web Platform Installer v3.0. In this case it was version 5.3.10 and since then version 5.4.0 has come out. How do I use the Microsoft Web ...
1
vote
0answers
63 views

Requests to third parties (SOAP, Youtube API failing intermittently) on CentosBox

Our new site (LAMP) has been running w/o incident for about a month on a dedicated Centos 6 box at 1and1. Intermittently (about 10 mins per most hours) starting last night the server has issues ...
1
vote
0answers
173 views

Multiple PHP versions on windows server 2008 command line issue

I'm running server 2008 and have multiple versions of PHP installed. It looks like the initial version was 5.2.14. Then there are 2 more versions, 5.2.17 and 5.3.10 installed. They are in this ...
1
vote
0answers
364 views

Apaches seems to not be shutting down Established TCP connections

I have a needle in a haystack type problem I'm trying to track down. Have not been able to recreate it on test servers. The symptom is TCP connections left in an ESTABLISHED state so don't seen to ...
1
vote
0answers
307 views

Why are my PHP5-FPM pools disappearing mysteriously every couple of months? (Ubuntu 11.10, PHP 5.3.6)

I have a system where each user (about 20) gets their own instance of nginx and their own small pool of PHP5-FPM processes. A front-end nginx instance proxies requests to the appropriate nginx ...
1
vote
0answers
387 views

repcached broken sync - memcached high avalaibility

I have been using repcached (memcached-1.2.8-repcached-2.2)to store php sessions in order to have a highly available memcached. Everything runs perfect, I can restart a daemon without losing sessions. ...
1
vote
0answers
440 views

Can I run Zend Server along with already-installed LAMP Stack?

I already have Apache2+MySQL+PHP installed and am using it on Ubuntu Linux. I would like to test out the Zend Framework installation bundled with Zend Server, since the server is supposed to be ...
1
vote
0answers
293 views

Truncated output from PHP, no errors

I've installed SugarCRM Community Edition on Debian 6.0.3 connecting to MSSQL with FreeTDS. I can use the system as normal except for one deal-breaker problem. On login, I get a blank page outputted. ...
1
vote
0answers
90 views

IIS7.5 PHP not logging errors in subdirectories

I'm working with win7, IIS7.5, php 5.2.17 now, and I have a problem with the php error logging: Error logging works well as long as the entry point (called php file) is not in a subdirectory of the ...
1
vote
0answers
236 views

lighttpd + php-cgi: Memory increase crazily if there's syntax error in the php file

I use lighttpd as the webserver, and module mod_fastcgi is on. So I can fetch php file with lighttpd. Here is a segment of my configure file. fastcgi.server =( ".php"=> ( ( ...
1
vote
0answers
441 views

Apache - Very high load/bandwidth and unusual pattern of requests

I am a web developer and have this server that's being used as a development machine of sorts. So, my experience with Apache is that I can fiddle around and get basic stuff done / google stuff to get ...
1
vote
0answers
379 views

LDAP request seems to hang at repeating 125 byte packet, and TCP connection does not close

I've rewritten this question to focus on a specific part. Originally titled "Apache hangs or quits, but keeps TCP sockets open and won't accept connections" Problem Problem is a website (Moodle) ...
1
vote
0answers
771 views

Apache 2.2.16 with mod_php on Debian Squeeze CPU high load

Configuration: CPU 16 cores 14 GB RAM Apache 2.2.16 PHP 5.3.3-7 with enabled APC Apache mpm config: StartServers 50 MinSpareServers 50 MaxSpareServers 256 ...
1
vote
0answers
115 views

Make Lighttpd treat .CSS files as .PHP files

I want files with a .CSS extension to be treated as PHP, and parsed/executed as if they were .PHP files (in addition to retaining the default behavior of parsing .PHP files as PHP). Is there an easy ...
1
vote
0answers
178 views

Zend autoloader not working from PHP config

Is the PHP config file (php.ini) supposed to have something in it that will enable Zend Autoloader support? Cause I am using it in my application and on one server and it's not working (it says it ...
1
vote
0answers
116 views

Add new ODBC driver libs to PHP on OS X 10.6?

I'm trying to access a PostgreSQL datasource via ODBC from the installed stock PHP (OS X 10.6). Queries just hang, and I'm suspecting it can't find the PostgreSQL driver library which was installed ...
1
vote
0answers
933 views

Can't get a symfony project to follow symbolic links to my resources

I have the resources shared with another project. The pictures of the products I will show are stored in a folder out of my new project for which I'm using symfony... In my symfony project, in the ...
1
vote
0answers
524 views

Activation context generation failed for “C:\php\php-cgi.exe”. Dependent Assembly

Greeting, I have Windows Server 2008 Server Core. I want to configure this server to host php websites using IIS 7. I installed and configured IIS7 to run php using the steps in this website: ...
1
vote
0answers
1k views

FastCGI connection refused on port 9000

I have a site running PHP 5.3.2 + PHP-FPM and Nginx 0.7.65 and rebooted the server after changing the root password. The web server starts up fine, but the site doesn't come up and the only clue I ...
1
vote
0answers
208 views

lamp php ubuntu 10.04 with cgi I get accesses to '/var/www/…' instead of '/usr/lib/cgi-bin/…'

I have a basic php cgi configuration problem on top of the apache web server in Ubuntu 10.04 . I am trying to setup cgi so as to answer one of the urls localhost/cgi-bin/index.php or ...
1
vote
0answers
333 views

How to enable LDAP with php IIS 6 and windows server 2003

I have been reading this answer and trying to understand it: How can I enable LDAP in PHP - Windows Server 2008 LDAP is not showing up with phpinfo() I installed PHP the same way as this person with ...
1
vote
0answers
3k views

phpinfo reports no value for PDO MySQL driver

As per the title I'm having problems with PHP 5.2.10 and getting PDO MySQL to be recognised. My configure command contains '--enable-pdo=shared' '--with-pdo-odbc=shared,unixODBC,/usr' ...
1
vote
0answers
160 views

Windows 2008 Scheduled Tasks and Parallel instance issue

I have a scheduled task launching a bat file which runs a CLI PHP script. The scheduled task is configured to run every 5 minutes, and run multiple instances in parallel. However, windows is ...
1
vote
0answers
124 views

What is PHP cURL and libcurl version relationship?

I'm running php with curl support on a mac. cURL in php works fine(ish) but I noticed an oddity reported by phpinfo(). It states that curl support is 7.19.7 But using the otool command, I get this: ...
1
vote
0answers
504 views

Oracle Instant Client DSN via unixODBC

I've got the Oracle Instant Client installed on a SuSE webserver and I'm attempting to connect to an Oracle Database with PHP via unixODBC. The connection seems to be working properly, after issuing ...
1
vote
0answers
1k views

Expert opinions on optimal Wordpress PHP settings

I recently decided to include a great system stats plugins with every wordpress install. LINK: http://wordpress.org/extend/plugins/tpc-memory-usage/screenshots/ One of the features of this plugin ...
1
vote
0answers
312 views

page loading stops half-way, no server or sql load

i'm running a hostgator vps php/apache/linux/mysql i have a problem that i cannot seem to properly diagnose/fix : sometimes when loading a page, the browser will load have the page, then it hangs ...
1
vote
0answers
323 views

using mod_fcgid instead of mod_cgi

What all should i do to use mod_fcgid instead of mod_php on ubuntu and centos. what are the main benefits and difference's between two
1
vote
0answers
241 views

PHP giving 500 internal server error on new server

I am trying to run a simple PHP script which displays phpinfo() but I am getting 500 internal server error. What could be the reason? Is it because PHP handler is set to suPHP and I shall change it to ...
1
vote
0answers
265 views

How can I use WPHP with Python Paste

It was suggested to me in answer to my question How can I use Python’s CGIHTTPRequestHandler as a dev server for PHP that I try WPHP. I've tried: import wphp my_php_app = ...
1
vote
0answers
346 views

IIS + WebDAV + PHP

I'd like to edit source files directly on my IIS server using WebDAV. I have WebDAV set up, but unfortunately when I try to edit a php file, it serves up the output of the PHP file, not the source ...
1
vote
0answers
228 views

ASP.NET application within wordpress installation on IIS 7

a client has a wordpress installation on their IIS server located at www.mydomain.com. We would like to put our asp.net application in a subdirectory of the wordpress installation - at something like ...
1
vote
0answers
577 views

Python server does not excecute PHP script: permission denied

I am trying to execute a PHP file through a Python server. However, I get the following error: File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/CGIHTTPServer.py", line ...
1
vote
0answers
80 views

Lighttpd Prepending Strings to Certain Files

I have a Mint install (Fantastic stats, if you were wondering) and I would like to move over to Lighttpd for my server needs. Unfortunatly, this means that php_auto_prepend is no longer easily ...
0
votes
0answers
13 views

Unrecognized access to cgi-bin with error message 'script not found or unable to stat' on Apache

I checked my Apache 2.4 error.log and found some unrecognized access on my server, which is a Windows platform. Here are those error log, the IP 31.184.195.114 is not belongs to anyone I know. ...
0
votes
0answers
21 views

Can't modify $_SESSION Unknown: write failed: No space left on device (28) in Unknown on line 0

When I try to assign a value of $_SESSION $_SESSION['whatever'] = "test"; I get Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0 There is enough space on device, ...
0
votes
0answers
7 views

virtualmin 403 forbidden error

i have installed virtualmin, now i am trying to install clipbucket. now when ever i am trying to open domain, it gives me forbidden 404 /. error. I have changed the permission to folder, also i have ...
0
votes
0answers
9 views

Install php-ZendFramework and php-ZendFramework2 in parallel on a machine

is it possible to install php-ZendFramework and php-ZendFramework2 on one host? I need v2 for bareos-webui and v1 for icingaweb2. I've only found some info here ...
0
votes
0answers
13 views

PHP IIS server website end user response time breakdown

I wish to monitor whole end user response time (with resulting indicators, tables, graphs, alerts) of a PHP IIS website (10k to 1000k clics per day). Does someone know how can I do ? My first idea is ...
0
votes
0answers
13 views

Ubuntu Apache configuration

I am running PHP on Ubuntu and I see that each SAPI is using a different location for its php.ini file in the /etc/php5 directory. There is a directory for CLI, for CGI and for Apache2. I would like ...
0
votes
0answers
33 views

Microsoft Access Database drivers on server

I'm really in need of assistance with this issue, ive been trying for days. I have an access database which i'm trying to query via PHP - i have come to this forum because after reading many posts and ...
0
votes
0answers
24 views

nginx 500 error when accessing large file from php script

I am using nginx/1.8.0 and to debug a large file upload issue I am facing in WordPress, I post a file with a simple script: Index file: <html> <!-- index.html --> ...
0
votes
0answers
5 views

How can you set PHP-CGI in IIS to run in the same app domain as an asmx web service?

We have an IIS web server that's running PHP-CGI, a few asmx web services, and some other things on the same general website. That being said, I've created a dll that is used by the web services ...
0
votes
0answers
20 views

mysqli non-standard socket location configuration for php5-fpm on ubuntu 14.04LTS

Feel free to migrate this. Its ambiguous to me if it belongs in serverfault, stackoverflow, or Unix & Linux. I recently deployed a handful of wordpress sites for a client. I started to notice ...
0
votes
0answers
28 views

Unable to get Nginx/Apache + FastCGI + PHP-FPM + HTTP/1.0 to use Keep-Alive

For a reason beyond my control (an app that cannot be modified), I need to get a server that processes HTTP requests for PHP pages over FastCGI, to honour "Connection: Keep-alive" (sent by said ...
0
votes
0answers
41 views

ownCloud 9 MySQL not supported

I'm trying to install ownCloud 9 to FreeBSD 10 with nginx as web server. I am using this official manual, which tells me to use this command: sudo -u www-data php occ maintenance:install --database ...
0
votes
0answers
33 views

PHP7 “fails” Intermittently - 502: bad gateway

I am running Ubuntu 14.04 with PHP7.0-fpm (from the Ondrej/php PPA). PHP now randomly fails, and by fail I mean serving a 502/504 error, the processes themselves are still running. It is sitting ...
0
votes
0answers
18 views

Apache folder permissions issue

I've been searching for a solution for this for hours and just can't seem to find a topic where the user is facing the same issue as myself. There are similar threads but having followed all of the ...
0
votes
0answers
19 views

Sef, Joomla 3, PHP 5.3.3 (fpm-fcgi), nginx 1.4.2

The server hosting two virtual host. Each of them must be reached at http://www.pincopallino.it (VH1) and http://www.pincopallino.it/Ufsoit (VH2). Everything works correctly if not active SEF form , ...
0
votes
0answers
80 views

PHP 5.6 Broken after trying to upgrade to PHP 7

I've tried reinstalling PHP5.6 a dozen times now with sudo aptitude purge `dpkg -l | grep php| awk '{print $2}' |tr "\n" " "` Nothing seems to help. Tried installing PHP7 - no luck. Error I get ...