PHP is a widely-used general-purpose scripting language that is especially suited for Web development.

learn more… | top users | synonyms

0
votes
0answers
23 views

Broswers loading a page that doesn't appear to exist in DocumentRoot

This is driving me bonkers. I have Apache running on a Raspberry Pi and I'm working on a website that has a user log in that leads to a page where users can enter data and send it to a MySQL database. ...
0
votes
0answers
17 views

On an Ubuntu server, what steps can be taken to recover a missing file?

I've recently inherited a website that has a page that allows users to register to receive/give car rides. This page is called transportation.php and is fine. However when a user attempts to select ...
0
votes
0answers
793 views

How to upgrade Nginx and install php-fpm on CentOS

I want to upgrade Nginx via Yum, and also install PHP-FPM as usual. Most blog and online resources use the EPEL and REMI repos, but they're not working on my server. My OS info: Linux ...
0
votes
0answers
61 views

Apache will not show index pages

I have just set up my brand new raspberry pi with Rasbian-Wheezy and a clean install of apache and php. I got the "it works" page, and then put my website in place and everything was working, but at ...
0
votes
0answers
1k views

ownCloud WebDAV interface seems to be broken

I've been trying to host ownCloud on my server but everytime I try to it tells me this : Your web server is not yet properly setup to allow files synchronization because the WebDAV interface seems to ...
0
votes
0answers
985 views

xampp MySQL app not running (win8)

I am using xampp for few month. But facing and error for 2 days and MySQL app isn't running. I reinstalled xampp and it was working fine, but when I restarted, it stopped working again. Here are error ...
0
votes
0answers
225 views

Configuring email in PHP for Elgg using postfix

I am trying to setup PHP for running Elgg. I have PHP 5.5 installed in a Ubuntu 14.04 VirtualBox VM. I need to complete the following requirement (elgg requirements page) : Proper configuration and ...
0
votes
0answers
189 views

cPanel/WHM - Assign cron jobs to specific account package automatically

I would like to know if it's possible to, when creating an account in a specific package, automatically assign cron jobs to run in it. Example: I've created the account "example", wich is in package ...
0
votes
0answers
262 views

How to debug Http 406 ERROR?

We have a "web widget" written in VB or Delphi or something that sends a request (by calling a PHP script) to our webserver (apache) to update the database. It's been working for years until yesterday ...
0
votes
0answers
255 views

Raspberry Pi as server - stuck with users and groups

I just installed an apache2 server with php5 and mysql on my RPi (Raspbian Wheezy). I followed this tutorial: tutorial link Everything went well, even the file transfer via FTP (FileZilla). I ...
0
votes
0answers
37 views

Why isn't Apache starting on xampp

Sorry, I searched a lot and i know that there are lots of posts reporting problems like this but none of them helped me. I installed xampp on Windows 8 but when I click to start apache it doesn't ...
0
votes
0answers
242 views

how to get php executable path file of a system remotely?

I want to debug php codes and I am using zend debugger in Eclipse environment and I have a remote server access(ftp). I used PHP_BINDIR to find out about the path file of the php executable file: ...
0
votes
0answers
638 views

Can't install php-fpm: dependency issues

I'm trying to install php-fpm for my nginx server. Trying to install through yum (yum --enablerepo=remi install php-fpm php-mysql), I get the next error: Error: Package: ...
0
votes
0answers
621 views

Apahce proxy throws error connecting to a third party

Connection to a certain thirdparty service via php curl throws this error: CURL error: Received HTTP code 403 from proxy after CONNECT The apahe error log on the proxy throws this: Connect to ...
0
votes
0answers
441 views

Getting an audio file from a streaming PHP script in an HTML5 video tag

I'm trying to download the raw audio file from a specific site. The page contains the following HTML: <html> <body> <video controls="" autoplay="" name="media"> ...
0
votes
0answers
104 views

DKIM only filters from pine, not php mail

I've setup DKIM filters by following the steps on this page: http://blog.mixu.net/2009/11/03/setting-up-spf-senderid-and-dkim-on-centos-5-3-using-sendmail/ I've verified that DKIM Signature headers ...
0
votes
0answers
50 views

Apache doesn't start in Ubuntu

I'm trying to get my apache2 to work under Ubuntu. I've installed all packages from MySQL to PHP and Apache. When I program on PHP, the PHP scripts aren't recognized and aren't interpreted. I ...
0
votes
0answers
50 views

Install PHP 5.3 for one directory only

I am on a CentOS 6 VPS, with Apache & PHP 5.4. I need to have PHP 5.3 on only one folder, but no where else. How do I install PHP 5.3 without conflicting with my current PHP installation and ...
0
votes
0answers
924 views

How to install PHP driver for Informix?

In my company I am using Windows 8, IBM Informix Dynamic Server, XAMPP v3.2.1, IBM Informix Client SDK 4.10 (64-bit). I have tried downloading php_pdo_informix.dll, php_pdo.dll, all I've got was: ...
0
votes
0answers
117 views

unable to move files to others dirs on wordpress

I have a website in wordpress and something has happened that I've never seen before. I tried to do uploads, the first upload worked, but the second always show me a error message like this: Warning: ...
0
votes
0answers
407 views

How to downgrade PHP 5.4 to 5.3? Centos 6

So I need to downgrade to 5.3 because of my script uses session_register, and it has been removed in php 5.4. People have linked me to code that I should add to the script where the issue occurs, but ...
0
votes
0answers
383 views

PHP Unknown algorithm. Expected HMAC-SHA256

I am getting a constant error of mod_fcgid: stderr: Unknown algorithm. Expected HMAC-SHA256 from my apache logs. I am wondering why PHP is complaining since the hash module is installed. My PHP ...
0
votes
0answers
111 views

MySQL will not work on Windows 7

I am having problems with MySQL, basically I bought a book – PHP and MySQL in easy steps. In the book it tells you to download Abyss server, then you must download PHP and MySQL. So I done that. ...
0
votes
0answers
108 views

Installing php mail() function

I have recently set up a CentOS 6.4 server using the minimalistic installation. I have a working version of PHP up and running, but I want to be able to use the mail() function in PHP. What do I ...
0
votes
0answers
261 views

Step by Step to install postfix using putty

I have problem with my php mail(). I have check smtp server is enabled. php.ini is as follows: [mail function] ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ...
0
votes
0answers
162 views

Two errors on error log when trying to use ZF2 on CentOS with PHP 5.3.24

I am trying to use zend framework 2, i follow these instructions on centos6 via ssh. http://framework.zend.com/manual/2.0/en/user-guide/skeleton-application.html and when trying to start my website ...
0
votes
0answers
40 views

Is there a different command for php 5.4?

I have a webserver (on bluehost) that says to run php 5.4 but when I try to run php --version then I get 5.2.17 printed. Is there some special parameter or different command to get version 5.4? OR ...
0
votes
0answers
597 views

How to allow apache to execute R binary from PHP exec() without disabling SELinux?

I have R installed in /opt/R of webserver. I need to execute script.r (In R BATCH mode) that is on directory /var/www/html/ using PHP function exec(). SELinux is enabled in the webserver. I suppose ...
0
votes
0answers
308 views

nginx + php5-fpm download files error

I have a wordpress blog running on a nginx/php5-fpm combo and it works great. Hardware is a Debian Squeeze with 256mb of ram. Lately (since 3 days ago) file downloading became nearly impossible, as ...
0
votes
0answers
531 views

installed WAMP addons, now wamp won't start

I was running Apache 2.2.21 (x64) and php 5.3.10 (x64) but I need to run the x32 versions so I can get ioncube to run. The support forums on the wamp website I can install any of the addons and it'll ...
0
votes
0answers
641 views

Install Php-pear to /usr/share Raspbian (debian)

I am running Raspbian on my Pi and have installed PHP-pear, I have some software that requires PHP-pear but is normally installed on a Fedora based machine so pear is normally found at /usr/share/pear ...
0
votes
0answers
603 views

Install SOAP on PHP 5.4.13

We recently started using MediaTemple for our hosting and only just realized that SOAP is not enabled in the PHP build. None of us are very experienced system admins so we asked MediaTemple whom ...
0
votes
0answers
637 views

Apache2 HTTP Error 500 when attempting to access localhost, no error in log

In Ubuntu, I'm trying to setup my PHP website locally in Apache2. I am able to get the "It works!" page to show when I navigate to localhost in the browser. I then copied the default site in the ...
0
votes
0answers
554 views

getting following error while installing ffmpeg-php on PHP v5.4.14 / CentOS 5.9

Having trouble installing ffmpg-php on centos, SSH shows following error after commands: ./configure make make install ..... /usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:1215: warning: ...
0
votes
0answers
161 views

PHP server cache (X-cache) problems

Lately my PHP server (paid host at One.com) has been having a huge delay (approx. 15 minutes) from I change something in my code, to the actual change in the files. When I log in to the FTP, the ...
0
votes
0answers
105 views

Create two partial php.ini files

I want to two split php.ini into two files so that I can move important entries to a new file. I think it is a .ini file so, any rule for creating partial .ini files will also apply to it. Is it ...
0
votes
0answers
575 views

PHP does not work on alias (XAMPP)

I trying to make alias on my local machine with XAMPP for my PHP project. I added follow in httpd.conf: Include "conf/alias/*" And make two files for aliases, one of them is like: Alias /aiuu ...
0
votes
0answers
23 views

Send to other server like my own - Virtual Device

How do I change the user agent of my browser so the the site I am viewing thinks I am viewing from a phone or tablet? Currently sites see me as a PC (correctly) and I am I unable to test the mobile ...
0
votes
0answers
166 views

PHP Web Proxy does not perform ajax requests properly

I have this problem Gmail will not load except with a web proxy, which lead me to do some testing. I am using latest PHProxyImproved. After testing on my web app, it appears that all AJAX pulls do ...
0
votes
0answers
387 views

PHP exec iconv doesn't work

I have an .sh script and an iconv command inside. I can't use the PHP iconv function. I don't knwo why but with my script the iconv command doesn't do anything. It's creating an empty file without ...
0
votes
0answers
409 views

How to set NetBeans 7.2 as my default PHP files IDE on ubuntu 12.10?

I'm using Ubuntu 12.10 64 bit I have installes XAMPP And Netbeans 7.2 IDE. The problem is I can't open any PHP file using Netbeans IDE and when i click "open with" I cant find netbeans within the ...
0
votes
0answers
88 views

How to display assets on localhost

I'm trying to run a site on a MAMP stack, but when I load a page the assets aren't showing up. I inspected the Net tab in Firebug, and my stylesheet tags are pointing to the right CSS files, but the ...
0
votes
0answers
435 views

Excel csv encoding default

Ok here's the deal I exported a csv in UTF-16 format via PHP and open it in excel...All the encoding works perfectly. My question is, suppose I edit this csv and then just hit save in excel and ...
0
votes
0answers
99 views

php memory usage - how does it work?

I have a wordpress blog, with complicated plugins and theme. I recently hit fatal error cannot allocate memory error on 256mb. 256 itself is allot, so I got rid of 1 plugin and it went back to 60MB, ...
0
votes
0answers
58 views

Several PHP versions on Mac

I have several versions of PHP on my Mac. Problem is, whenever I try to install new libraries, I'm not sure which version I'm installing them to. I'm using the command line on Mac OSX, and I read ...
0
votes
0answers
536 views

“unrecognized options” while installing php

I want to compile php 5.4.8 on my mac 10.8.2, but get some errors which cant solve by my self, so need your help. Firstly i get default php options with php -i | head, after it do this command ...
0
votes
0answers
192 views

Pure-FTPD parallel upload issue

i am copying approx 300 10MB files from another server to my server. everything works just fine but i tried to run parallel thread so that i can complete it fast i got surprised as another file will ...
0
votes
0answers
179 views

mod_rewrite working but php pages not found or not recognized (downloaded instead of executed)

In regard to my first post mod_rewrite problems in sandbox: Mac OSX 10.6.6 Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8l DAV/2 PHP/5.3.3 I am making progress but... Now the index.php page is not ...
0
votes
0answers
360 views

Crash in audio resampler with some audio rates - FFMPEG PHP ( Solved! )

i have a problem with this command( FFMPEG PHP ): Command: ffmpeg -i 62f76f050494f0ed6a5997967c00c0c0.wmv -ss 0 -t 99 -y -ar 44100 -async 44100 -r 29.970 -ac 2 -qscale 5 -f flv ...
0
votes
0answers
96 views

Can HTML/PHP/Javascript code be commented in a single click/keycombination?

The question it's clear enough. I want to be able to select certain code and with a key combination or menu element be able to comment it in Aptana Studio 3. Yes, I can add the tags myself but I'd ...