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

learn more… | top users | synonyms

1
vote
2answers
6k views

Getting PHP to work with apache to run .php files through browser

I have VPS running Debian 5.0 (I think) and I would like to get it to run PHP files. I was told it needed to be configured with Apache. I tried entering the command apt-get install apache2 php5 ...
2
votes
2answers
1k views

Fixing debian installer

I have a VPS with Debian GNU/Linux on it. I'm trying to install a PHP file manager so that people could access it and download stuff into a directory. I don't have anything in my /bin about PHP so ...
0
votes
1answer
211 views

PHP imageline function doesn't work. What and how should I download?

PHP function imageline on localhost works, but on VPS cloud hosting doesn't. I guess I have download something, but I don't know what. Could you give me a hand? P.S. PHP GD is already downloaded.
0
votes
1answer
583 views

“Too many arguments to function” error while installing php5-pdo_mysql from ports in FreeBSD

I'm having a trouble while installing php5-pdo_mysql in my FreeBSD environment. Everytime I trys to do /usr/ports/databases/php5-pdo_mysql make install the console gives me this error: ...
3
votes
2answers
860 views

PHP interface to manage linux user accounts

I have a linux web & samba server. I need to give administrators access to manage minor accounts & groups. Is there a secure php web interface that can do this? I don't want to give them shell ...
2
votes
3answers
2k views

installing ffmpeg-php on centos

With the help of this guide, I am trying to install ffmpeg using these commands: # cd ffmpeg-php/branches/ffmpeg-php/ffmpeg-php-0.6.1/ # replace 'PIX_FMT_RGBA32' 'PIX_FMT_RGB32' -- * # phpize # ...
7
votes
2answers
330 views

Strip // Comments From Files

What's the best way to strip all code comments in a given directory? I'd like to strip out all // ... EOL comments, and /* blah \*/ (or /** ... \*/) comments as well. This is a PHP project, and I'd ...
1
vote
4answers
5k views

How to upgrade PHP to 5.3 on Debian 5.0 (Lenny)?

I currently have PHP 5.0 installed on my Debian VPS and was wondering how I would be able to upgrade it to PHP 5.3 and keep all of my installed modules running.
1
vote
2answers
1k views

How to set up file permissions/ownership for FTP/Apache/PHP on CentOS

I have basic understanding of chmod and CentOS file permissions. 777 stands for 111111111 and rwx for each root, group, user, etc. What I can't get my head around is setting up Apache, FTP and PHP to ...