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

LAMP using ODBC to DB2

I have connected an openSUSE LAMP and an Ubuntu LAMP server to DB2 using ODBC. The openSUSE system we're using for a development environment, and the final deployment is to be on the Ubuntu system. ...
0
votes
1answer
465 views

The requested PHP extension ext-mcrypt * is missing from your system

I have updated my php to version 5.4.13 etc and well in the terminal my version of php states this PHP 5.4.12 (cli) (built: Mar 16 2013 21:46:23) But running a composer install io get the ...
0
votes
1answer
536 views

White screen of death with PHP-FPM, no error logged

This is a tale of two different php files. File 1 source: <?php $null->test(); File 1 output: Fatal error: Call to a member function test() on a non-object in ...
0
votes
1answer
93 views

Update PHP to latest version from source

I am currently running PHP 5.4.6-1ubuntu1.1 (CLI) (built: Nov 15 2012 01:18:34) on Xubuntu. I would like to update to the latest version or >= 5.4.7. Is there another way to do this instead of ...
0
votes
1answer
197 views

I am unable to install php5-apc on my Ubuntu server

I am unable to install php5-apc. I don't seem to get any errors. root@applications-server-1:~# aptitude install php5-apc The following NEW packages will be installed: php5-apc{b} 0 packages ...
0
votes
1answer
308 views

debian 6 - php 5.4.1 - xdebug phpize php-config --version incorrect

I'm quite new with Linux server management and I have a linux server with the following configuration: Distributor ID: Debian Description: Debian GNU/Linux 6.0.6 (squeeze) Release: 6.0.6 ...
0
votes
1answer
85 views

Server error says request exceeds MaxRequestLen

I have this issue and I know I need to increase the: FcgidMaxRequestLen 15728640 I have tried to do this on the htaccess page, but when uploading, the whole site gives me the 500 Internal error. ...
1
vote
3answers
3k views

Update from PHP 5.3 to 5.4 on CentOS 6.3 while keeping Plesk

I need to update the servers PHP version, but when I try to remove the old php to install the new PHP 5.4 via yum it wants to remove the whole plesk suite which I want to keep. I followed this guide ...
0
votes
1answer
73 views

Static file request timeouts unless requested with Internet Explorer headers

We recently had some maintenance done on our development server; we don't know what that consisted of as we do not maintain our servers. Since then we've been experiencing a rash of HTTP requests that ...
0
votes
2answers
400 views

Prevent heavy server query to overload Apache/Mysql

I have some questions about understanding high server load and implement some type of load balancing in a common scenario with solutions like Apache and MySQL and PHP 5. I am benninger in the matter ...
2
votes
1answer
195 views

Zend 1 on Ubuntu with MSSQL not working

Does anyone know how to solve the following issue? If not, does anyone know how to setup Zend 1 on Linux to communicate with msSQL server? We get the following error in the nginx logs when trying to ...
1
vote
0answers
371 views

Some (but not all) cron jobs stopped running. Restarting cron fixed it, but what caused it?

I'm running Ubuntu Server 10.04 with a crontab which runs every minute, with a lot of jobs in the file. Each job is a PHP script to be executed. Earlier today, it seems that some (but not all) of the ...
-1
votes
1answer
92 views

Compile PHP without PostgreSQL [closed]

I need to compile php-5.2.17 as a cgi wrapper. PostgreSQL is not installed on this machine. I'm looking for the configure command, to disable support for PostgreSQL. --without-postgre
3
votes
1answer
196 views

What's causing so many “httpd: <ul></ul>” entries in /var/log/messages?

On a low-powered VPS I maintain, which also functions as a production server, I keep an eye on logs to crisis-manage should a site get an influx of traffic or something goes haywire (tail a bunch of ...
0
votes
1answer
45 views

Switching b/w versions of PHP on a NginX + PHP-FPM Setup

On Apache you could easily configure it through an htaccess file: <IfModule mod_fcgid.c> Action php-fcgi /fcgi-bin/phpcgi-starter-5.3 </IfModule> <IfModule mod_fcgid.c> Action ...
0
votes
1answer
188 views

hiphop compilation fails on 90% [closed]

I've been working with hiphop on fresh centos-6.3 with gcc-4.6.2 and followed the following guide for hiphop compilation ...
0
votes
0answers
76 views

Try to downgrad to PHP 5.2.17 on IIS 7.5 and getting a 500 error

It's throwing me this: Module FastCgiModule Notification ExecuteRequestHandler Handler php-5.2.17 Error Code 0x000000ff Requested URL http://10.1.1.193:80/agsxingb.php Physical Path ...
0
votes
1answer
321 views

Installing Gearman with PHP Extension on Debian 6.0.5 leads to error

What I have tried ... # apt-get install php5-dev # apt-get install gearman-job-server libgearman-dev # pecl install gearman Result ... ... configure: error: Please install libgearman ERROR: ...
0
votes
1answer
387 views

Install php 5.3.10 in ubuntu 12.04

I have been trying to downgrade the php version from php 5.4 to php 5.3. I tried removing php5, purging php5 and then reinstalling using "apt-get install php5=5.3.6-13ubuntu3.6", but it did not help, ...
0
votes
1answer
223 views

php script killed after 30 seconds and throwing Internal Server Error

I use php_fpm_event on my server and after 30 seconds of execution the process is being killed and I see Internal Server Error. However I've set much larger values: [admin] listen = 127.0.0.1:57797 ...
1
vote
1answer
160 views

PHP session files are not being deleted (IIS 7)

Our website isn't displaying because the C:\Windows\Temp directory can't be written to, because C:\ is now out of space. The reason: tons of sess_230498230493240 [random hash] files. Like, thousands. ...
0
votes
1answer
41 views

System administration problems

I recently had a problem with a dedicated server (LINUX) where the file system went read-only. Recent modifications include installation of fcgid using PHP 5,2 on certain <VirtualHost> ...
1
vote
1answer
115 views

When getting “Premature end of script headers” in Apache error log, is it possible to also log the GET arguments sent to the script?

I have a single PHP script on a fairly high traffic server that is throwing off a lot of errors of this sort: (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server ...
-1
votes
2answers
193 views

IP board not working on my new vps [closed]

my invision power board is not working on my new vps but it working on my old hosting provider's server. ERROR: Warning: Cannot modify header information - headers already sent by (output started at ...
0
votes
1answer
99 views

correct permissions mod for /var/www/project

I am developing web applications with Ubuntu Linux, MySQL and PHP. I put my files in the /var/www/some_web_project/ directory. I have problems with permissions, for example when I want to output ...
0
votes
1answer
709 views

PHP5-FPM and 'ondemand'

I've set up a server with Nginx and PHP5-FPM, and things are running fine. However, as I add more and more sites to the server I see that the memory usage steadily increases, and I've come to the ...
1
vote
1answer
2k views

php-fpm Bad file descriptor errors

I'm using php-fpm with customer separate pools. Sometimes page are freezing, then showing 500 internal server error, and I'm getting such errors in error log: [11-Feb-2013 22:12:39] ERROR: unable to ...
-1
votes
1answer
302 views

SSL lock does not show in browser address bar when URL contains .php [closed]

I have installed SSL Certificate in my hosted machine. And Forced to redirect it to "https" location. It also work when it redirected to location containing .html ext. But total failed when ...
0
votes
1answer
69 views

running .html as .php

How do I edit my .htaccess file using mod_fcgid to turn .html files to act as .php I tried: AddHandler fastcgi-script .html Did not work. I am using cpanel and using php 5.3 and apache 2.2.
1
vote
1answer
160 views

Multiple PHP 5.x in Apache for different directory

I have compiled all Apache, PHP 5.2 and PHP 5.3 on CentOS at path /usr/local/apache, /usr/local/php52 and /usr/local/php53. I have the libphp5.so modules in my respective php folder by using symlink ...
1
vote
1answer
834 views

Nginx and Nagios passing through FastCGI Handler, 403 Error

I'm currently working on the renewal of my Web plateform and switching from Apache to Nginx. So I've to test all our administrative and internal applications before doing it. Well, so far, I didn't ...
0
votes
1answer
470 views

httpd Server slows down, Then Goes unresponsive

Well, I recently switched over to Centos 6 from Windows, and Installed httpd php ispconfig 3, and mail server stuff. But after some hours (around 5-8), The server gets slow, and the websites does not ...
-2
votes
1answer
144 views

Apache2+PHP fopen() permisson

Intro: I am sorry to be asking for help when there's loads of that on the internet, however I'm not Linux savvy. Problem: I've installed apache2 and PHP5 under debian, and uses of PHP fopen() ...
-2
votes
1answer
523 views

Upgrading Apache from 2.2.X to 2.4.X.

I have just upgraded my fedora 17 to 18. So my apache server got updated in 2.4. Now I'm having trouble to configure apche since many things got modified in 2.4 from 2.2. Can please anyone suggest me ...
1
vote
1answer
422 views

Apache2 and PHP

I'm new installing/configuring apache2 and php. Here's what I've done thus far, along with my current server set up. I'm very familiar with Solaris/Sun OS. Solaris 10, PHP version is 5.3.26, Apache ...
0
votes
0answers
56 views

PHP page not displaying formatting on external slow connection, but does on internal fast connection

Hopefully this is simple. If I access a webpage served using apache2 and php5 via a mobile device with a slower connection like an android phone, the display and formatting of the php page does not ...
-1
votes
1answer
208 views

Plesk can't/won't/doesn't-know-how-to reload php.ini

So Plesk is pretty much my daily nightmare but I'm stuck with it. Today's practical joke on me is that it won't seem to load changes I make to the php.ini. I'm trying to get a file's contents (via ...
1
vote
1answer
386 views

Install pecl extension on ubuntu after upgrading to php 5.4

I had php 5.3 installed and upgrade to 5.4 using this PPA https://launchpad.net/~ondrej/+archive/php5 - everything went smoothly. My old pecl extensions, such as oauth, wern't enabled, so I ...
0
votes
1answer
146 views

Pligg user verification error

i installed pligg CMS on my site. But the problem is if i choose to validate user email option, then if any user register on my site it is showing the error below: "Could not instantiate mail ...
0
votes
2answers
103 views

Amazon Ec2 and PHP [closed]

Some questions about hosting PHP on Amazon EC2. Is this a good option for hosting a PHP website, or should I consider any shared\cheap hosting, like Godaddy, etc? Is the free tier only available for ...
1
vote
1answer
275 views

Is there a way to dynamically forward subdomains in NGINX?

I've done all the googling I can, but no luck. I'm trying to figure out how to create a namespace for a user, say user.mysite.com, and have that redirect to his/her folder (mysite.com/user). Is there ...
2
votes
0answers
296 views

PHP 5.2, Apache 2.2, Windows 8, PHP not parsing

I have an apache httpd 2.2 installation on windows 8 (using the installer, installed to C:/Program Files (x86)/Apache Software Foundation/Apache2.2) and a php 5.2 installation (using the .zip, ...
1
vote
1answer
109 views

how to set up delegation on IIS 7.5 and PHP (web platform installer)

We are successfully running or corporate Intranet using PHP under IIS 7.5 on Win Server 2008 R2. We used Web Platform Installer to setup PHP. Impersonation worked right from the start but delegation ...
-1
votes
1answer
3k views

Where can i get the php5apache2_4.dll for Windows? [closed]

I got a new laptop with Windows 7 and want to set up a php+mysql develop environment. Thus, I downloaded httpd_2.4.3-netware-bin and install Apache 2.4 successfully. Then I got ...
-1
votes
1answer
393 views

Joomla includes CSS that makes display empty page [closed]

Whenever I try to load the login page <domain>/index.php?option=com_users&view=login I only see a white page. When I look at the sites source code that gets delivered, there is the CSS ...
0
votes
2answers
99 views

libphp5.so file not reflecting changes made in php.ini

I have been trying to update the upload_max_filesize of my php.ini file to 200M. I have got it to successfully save however it is not reflecting the changes on my server (it still lists the ...
0
votes
2answers
127 views

Apache executed only one request and all other requestes wait first to finish

I have a basic install of Apache2 server and PHP5.3 on my local Ubuntu machine. I created file index.php and put sleep 30 seconds in it <?php sleep(30); // script sleep 30s ?> When i run ...
1
vote
1answer
262 views

Can't install php5-apc from dotdeb source in Debian 6

I can't install php5-apc: ~# apt-get install php5-apc Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that ...
0
votes
1answer
211 views

linux cron mysqldump: php exec() vs shell script vs direct command in crontab

The system is running CENTOS 5.8, Apache 2.2.3, MySQL 5.0.95, PHP 5.3.3 We run mysqldump daily for a few databases. It's run via a php script called in crontab. They are run at the same time and ...
0
votes
0answers
262 views

Compile php 5.3 ldap extension

So trying to follow the very un-descriptive guide at my webhost for compiling a new php extension: **Compiling PHP 5.3 extensions You can also compile and load your own extensions. Here's how:** ...