PHP is a widely-used general-purpose scripting language that is especially suited for Web development. The current version is 5.3.3, released on July 22, 2010.

learn more… | top users | synonyms

3
votes
1answer
547 views

CLI stopped working when running php artisan serve - Laravel 4 Win7

I added a path to my environment variables : C:\wamp\bin\php When I run the command php artisan serve it says Laravel development server started on `http://localhost:8000` But after that a dialog ...
3
votes
1answer
608 views

How to completely remove MySQL files from my windows computer

I have recently installed apache, php, and mysql. Apache and php are configured properly, but when I tried to configure mysql it shows that there is already a security file for mysql that is setup and ...
3
votes
1answer
545 views

PDT/PHP plugin in Eclipse in Ubuntu not working - “page not found” error

I am not having success getting the PDT (PHP Development Tools, SDK 2.0.2 and 2.1.2) plugin to work in Eclipse in Ubuntu 11.04. I encounter the following page when attempting to run a php file: Not ...
2
votes
1answer
109 views

Command Not Found When Executed via PHP shell_exec()

I want to execute following command on my Ubuntu server using php: android create project --target 8 --name $fname --path ./$fname --activity MainActivity --package $fpack 2>&1 The above ...
0
votes
0answers
371 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
92 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
47 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
795 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
104 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
387 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
351 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
103 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
99 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
233 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
149 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
551 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
282 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
481 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
542 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
543 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
578 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
530 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
139 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
96 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
532 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
152 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
353 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
363 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
80 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
369 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
98 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
54 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
495 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
175 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
177 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
321 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
92 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 ...
0
votes
0answers
302 views

Installed Apache httpd and PHP5.4 on CentOS, but no mention of PHP in httpd.conf file?

Using Centos 6.3, I installed Apache httpd 2.2 with PHP 5.4 (from a custom yum repository) and MySQL. PHP works fine on the command line, but there's no mention of it in Apache's httpd.conf. I know ...
0
votes
0answers
197 views

sudo: a tale of two folders

I have 2 folders: drwsrwsr-x 25 ftpuser www-data 4096 Jun 7 13:45 demo drwsrwsr-x 28 ftpuser www-data 4096 Jun 7 12:43 dev and a script to create a folder within these. When I run the script ...
0
votes
0answers
206 views

VirtualBox host OS fake IP for apache

I have apache installed on the guest machine. But in many scripts I have following condition: if (!in_array(@$_SERVER['REMOTE_ADDR'], array( '127.0.0.1', '::1', ))) { header('HTTP/1.0 403 ...
0
votes
0answers
1k views

Running out of memory, fork can't allocate memory

We are getting out of memory frequently, as well fork cannot allocate memory. I did some investigation. It seems that scripts are not case as I thought before this. I will share information which I ...
0
votes
0answers
127 views

Tooltips for custom function signatures in TextMate

I'm using TextMate, and there is a good short key to see "documentation for function call (tooltip)". But it works only for PHP-internal functions. It would be good to have this functionality for ...
0
votes
0answers
91 views

Manual Installation of PHP 5

I've manually installed PHP 5.3 in IIS 7 (using Windows 7). I could generally run PHP scripts but I can't seem to create files(and directories). I've checked the php.ini files (yeah, two, there's the ...
0
votes
0answers
239 views

production server with php and jsp on a mac

I have a working development server with Apache, MySQL, PHP and Tomcat. I use virtual hosts for PHP websites (like admin.local and test.local) and I only have one .jsp webapp which runs on ...
0
votes
0answers
2k views

Make mcrypt available to PHP 5.3 on Mac OS X 10.6

$ which mcrypt /opt/local/bin/mcrypt $ mcrypt -v Mcrypt v.0.9.9 (i386-apple-darwin10.4.0) Linked against libmcrypt v.2.5.8 Copyright (C) 1998-2002 Nikos Mavroyanopoulos (nmav@gnutls.org) So I have ...
-1
votes
0answers
33 views

Struggle to get SqlSrv to work on Windows 2012r2

I need to connect to a SQL Server database from PHP. I'm given a Windows 2012r2 machine and installed XAMPP on it and then continued to copy php_sqlsrv_56_nts.dll into php/ext and modified my php.ini ...
-2
votes
0answers
10 views

neebie . get a bash file that can be run and seen on a html.pnp page

I have a bash file, that when run from putty works and makes a connection to my media server and copies the username and password to a file. Is there a way for this to be able to be run from a php or ...