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

0
votes
1answer
335 views

PHP on IIS7 not showing pages

I have a PHP website on a Windows 7 machine I'm working with and it cannot be viewed by any browser - IE, Chrome, Firefox. When navigating to the root of the website (default index.php) the browser ...
1
vote
1answer
4k views

Uninstall LAMP Ubuntu 11.10

I recently installed a LAMP stack on my Ubuntu 11.10 machine so I can work a little more easily with some of my outside work. However come to find out the lamp stack is conflicting with my core paying ...
0
votes
1answer
254 views

How to reapply Zend Framework nature to a netbeans project?

I'm working on a netbeans project with a Zend Framework "nature" on two computer synced by mercurial. On the first computer, where the project has been created, project is marked as a ZF one and I can ...
1
vote
0answers
341 views

Unhelpful suggested autocomplete tags when editing HTML & CSS with Aptana Studio

I switched from PHPed to Aptana 3 because of the Zen Coding Addon which is not available for PHPed. My Problem is as follows: I'm coding HTML / CSS. When I type <div st the first suggestion is ...
3
votes
3answers
6k views

How to convert .PDF and .doc/.docx files to .HTML files?

Does anyone know of any software (preferably open source, Linux or PHP) that can convert both PDF and/or DOC/DOCX (and maybe other document formats too: rtf, txt, etc.) to HTML? I've got ...
0
votes
1answer
169 views

Path of the FTP server log

I am using Apache with PHP on a Unix server, and some days back someone changed some PHP files. As part of the investigation, I want to know where the FTP log is saved for the same server so that we ...
2
votes
1answer
110 views

Create a Vim command to add a php debug statement

I'm trying to create a vim command to easily insert a debug statement on the variable name under the cursor. I would at least like to handle some common cases so it doesn't have to be perfect but the ...
3
votes
4answers
783 views

What are the benefits of using Linux OS to develop a PHP based website?

in a PHP dev environment I recently visited, the lead dev was adamant that they use Linux on their machines for Zend development. I personally use Windows and have the same results during ...
0
votes
3answers
82 views

Is there any file I can read in unix which contains the time

Is there any file in unix based system which I can read, to get the same value that time() in php would return?
1
vote
1answer
298 views

Making phpStorm default editor of php or other supported files in Ubuntu

How do I can make phpStorm default editor of php or other supported files in Ubuntu? Php storms is run using a .sh file.
2
votes
1answer
4k views

How can I open .PHP files with PHP.exe in Windows 7?

I have WAMP (Apache/MySQL/PHP) installed on Windows 7. PHP 5.3 is included. I tried "test.php -> right-click -> open with -> browse -> PHP.exe" but PHP.exe does not get added to the "Open With" list. ...
0
votes
2answers
844 views

How do I run PHP scripts via CMD without typing “php”?

If I have a batch file called "program.bat"... and I'm on the command line... I can just type program to get the program to run. If I'm on the command line, how do I get program.php to run ...
0
votes
2answers
366 views

Looking for a PHP mail intercepting application

I have PHP (XAMPP) set up locally on a Windows OS, and I am writing a webapp with it. This webapp send out several emails. For testing purposes I do not actually wish to forward mails generated by the ...
1
vote
1answer
320 views

PHP command line blank when I type statements

in Windows 7 I launch PHP.exe but then there's just a pure black command prompt screen and nothing I type results in any feedback at all. If I type: PHP -I Nothing. If I type PHPinfo() ...
1
vote
0answers
244 views

Mac OSX Lion Apache server takes a while to start serving php scripts

I use the built in Apache (web sharing) and the built in PHP in OSX Lion to run DokuWiki as a personal information manager (nobody connects externally). From the previous version of OSX, there seems ...
0
votes
2answers
2k views

Netbeans shortcut to minimise all functions?

I recently got into Netbeans. I used to code in Visual studio, so I'm trying to figure out what all the shortcuts are that I used to use in Visual Studio. CTRL-SHIFT-S, for one, is the same. But I ...
3
votes
2answers
434 views

Installing python through pecl - how do I “specify path to Python distribution files”?

I have found several instances where this question has been asked, but never answered. This is the part where the installation goes wrong checking for Python files in default path... not found ...
4
votes
1answer
4k views

How can I add color highlighting for PHP functions?

I've recently begun using Notepad++, and have found a part of its styling functionality that confuses me. I'm currently attempting to color all of PHP's defined functions (such as count(), strlen(), ...
5
votes
1answer
3k views

How is Apache mapping files without extensions?

My local dev setup is mapping things like http://mydomain.dev/testhtmlpage to testhtmlpage.html and http://mydomain.dev/testphppage to testphppage.php. The browser stays on the orginally enter URL. ...
4
votes
2answers
3k views

How do I upgrade PHP on CentOS and Kloxo?

I need to upgrade PHP so that I can upgrade joomla on my dedicated server. I have: kloxo 6.1.6 php-5.2.17-1 Linux CentOS-55-64-minimal 2.6.18-194.32.1.el5 x86_64 x86_64 x86_64 GNU/Linux I searched ...
0
votes
1answer
566 views

Running PHP as CLI, takes a long time

Whenever I need something doing, I write a PHP script to do it. I like PHP, it's simple, doesn't need compiling, and I can have a tool written in minutes. Trouble is, when I try running PHP in the ...
5
votes
3answers
7k views

How to add new PHP version to WAMP

I'm trying to install PHP 5.3.8 to work with WAMP (Windows). I downloaded it from the PHP website, copied it in the bin folder, and added this line to wampmanager.ini: Type: item; Caption: "5.3.8"; ...
2
votes
2answers
2k views

How to set CRON to execute a php file outside of a public html folder?

I have a php file located at, let's say, for example: /data/web/process.php This file is not publicly available (no virtual host is running in that folder, but apache is installed). I need to ...
1
vote
2answers
299 views

PHP / SQL development environment on USB flash drive (OS independent)

I am looking for a way to set up a development environment for web applications (using PHP and either MySQL or SQLite) on a USB flash drive: that means at least a web server, a database manager and ...
1
vote
1answer
390 views

Easy install of PHP/MySQL/NGINX server on Linux

So I want to get my own server running but before I spend the money for one I want to make sure I can get the stuff I need installed. Is there any packages for linux like there are for windows to ...
1
vote
2answers
756 views

Can't write to /var/www/ directory with PHP, permissions are 777

I can't understand where the problem is. Apache is running with my standard user that actually can write those files. What should I do?
2
votes
1answer
357 views

Using Notepad++ to search/replace PHP code with regular expressions

I would like to update some PHP code into the Joomla framework, replacing things like: $myvar=$_POST["myvar"]; with $myvar=JRequest::getVar('myvar'); This seems like it should be easy enough ...
2
votes
0answers
693 views

What is the solution for printing plastic ID cards from a PHP/MySQL Application?

I have a student management system written in PHP with a MySQL backend and I need to implement a solution to print the student's College ID to a plastic ID Card Printer. The possible solutions i can ...
0
votes
4answers
309 views

Does Ubuntu enabled 'ANSI-C compiler' and 'build system' by default?

I'm going to install PHP and Apache, and instructions say: "You need a respectable ANSI-C compiler and build system,two items that are available through all of the major distributions' package ...
3
votes
3answers
951 views

PHP 5.2 and PHP 5.3 on mod_php (apache) on Ubuntu 11.04

I have to develop both on php 5.2 and on php 5.3. I need those two versions installed on my system and ability to switch fast between them. One solution I found is to upgrade/downgrade everytime I ...
0
votes
1answer
1k views

“None of the supported PHP extensions are available” error while upgrading PHP

Since I upgraded from 5.0 version to 5.5 I am getting the following error on my PHP page. None of the supported PHP extensions (MySQLi, MySQL, PDO_MySQL) are available. When I tried to install ...
-1
votes
2answers
525 views

Can I track the change of a PHP website? [duplicate]

Possible Duplicate: What tools can be used to keep track of changes on web pages? http://www.readfree.net/bbs/register.PHP (Google translated version: ...
1
vote
2answers
10k views

WAMP MySQL Service will not start

I did a fresh install of WAMP (v2.1) and it works excep the MySQL isn't starting.... here: and everytime I press "Start/Resume Service", NOTHING happens. I go to my.ini and put in a password.Then ...
1
vote
3answers
295 views

Web Hosting at home on Old Hardware [closed]

This is a re-make of this interesting question. I've rephrased it slightly to avoid pulling aggro and to provide some quality information, as I've pondered this before, but only JUST ran the numbers.. ...
5
votes
2answers
13k views

How to install the SQLite PDO extension on Ubuntu

The default Ubuntu PHP package does not include the PDO SQLite extension. How can I install the SQLite PDO extension? Is there a package that one can easily install via apt-get?
2
votes
1answer
476 views

How to deploy only select files through BitBucket

I'm hosting a small php-based website through Bitbucket. I have some files under version control that I don't want to deploy in production (helpful scripts, .xcf files, etc). Is there some way to just ...
1
vote
2answers
2k views

OS X Lion - apache & php setup

I'm trying to setup the built in apache part of os x to work with php. I've gone through the process of uncommenting the php lines and so forth in the httpd.conf file. However, I can't seem to get the ...
1
vote
0answers
224 views

OSX: Installing Custom PHP Binaries

I've been doing alot of research and trying to figure out why I have this "older" version of PHP on my Mac (Snow Leopard). I tried MAMP, and it's cool if you just want a *AMP stack and not much ...
1
vote
2answers
1k views

MAMP set up from scratch on Lion OSX

How different is it from Snow Leopard to create a MySQL, Apache, PHP install from scratch (not MAMP) on Mac OSX 10.7 Lion?
0
votes
1answer
492 views

Internet Explorer wants to open .PHP files

Internet Explorer is wanting to download a .php link instead of openning it and letting the server parse it. I don't have access to the webserver for editting files, but it seems any .php website ...
0
votes
1answer
671 views

Simple file manager with version control

As the title suggests, I am looking for a simple file manager script that has some form of version control system built into it. My needs are: It needs to be web based (written in PHP using MySQL ...
0
votes
1answer
237 views

Apache/php permission problem

I think it's self explaining. It says it's not writable but the permissions are correct. I'm logged as a root but it's the same for every user. So where's the problem?
0
votes
1answer
59 views

running a linux server from home

Is it possible to run a linux server from home on my personal machine. The VPS seems bit expensive at this stage. I dont have a big user base but on a share hosting my php based script (socialengine) ...
0
votes
2answers
664 views

Tabify / Beautify HTML in Texmate?

How can I "tabify" HTML in Textmate? I've tried selecting all, and then using Cmd+option+[ but it comes out a little weird... If it's not possible to do this in TextMate, if someone could help me ...
2
votes
3answers
144 views

Linux Web Server

I'm looking to set-up my own local web server using Linux, to allow me to run and develop PHP applications using Apache and MYSQL. Can anyone recommend the best distribution of Linux server to use. ...
0
votes
0answers
90 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 ...
1
vote
3answers
2k views

FFmpeg command to convert to DivX

I'm trying to use ffmpeg to convert video to DivX. Here is my current command line: -vtag DIVX -f avi -vcodec msmpeg4 -s 640x480 -b 345k -acodec libmp3lame -ab 256 -ac 2 -ar 48000 The problem with ...
2
votes
1answer
55 views

More than 1 processs (background)

In the PHP code, I have the following: run.php <?php shell_exec("php theprocess.php > /dev/null 2>&1 &"); ?> I execute run.php from the browser (eg: http://localhost/run.php) ...
0
votes
2answers
2k views

Can't run PHP executable script. OS X 10.6

Execting php-scripts from the command line now does not work. When executing a script starting with #!/usr/bin/env php. I get this error message: env: php: No such file or directory. So it seems ...
-1
votes
1answer
166 views

Simple CMS software to manage files [closed]

I've been loking around recently for an easy way to manage the files on my web server. I came accross OneFileCMS which is fine but lacks some features. I'm looking for another piece of software (PHP ...