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

5
votes
0answers
432 views

Should we still set cgi.fix_pathinfo=0 when configuring nginx+php5-fpm?

Security breach was found in nginx+php5-fpm default configuration in 2010. A lot of nginx+php5-fpm configuration guides tell us to set cgi.fix_pathinfo=0 to be safe. Is it still actual for current ...
2
votes
0answers
810 views

CentOS 5.10 Yum Packages won't update/upgrade

I've just used yum to install PhpMyAdmin and it installed version 2.11.11.3-2.el5 which is completely out of date since version 4 is out. I've tried running yum update phpmyadmin but I receive No ...
2
votes
0answers
247 views

Error 10053 using composer

I need to use Composer in my wamp server on a windows 7 machine but I keep on getting a 10053 error. For example when I try to install laravel I get the following message: ...
2
votes
0answers
259 views

PHP : curl is and Not working in ubuntu10.04 and Nginx

I am running Nginx server on ubuntu 10.04 I am using the php version 5.3.2 .I installed php5-curl using apt-get install php5-curl. Unfortunately the curl package is not displaying in phpinfo() . ...
2
votes
0answers
166 views

PHP web application can't connect mysql installed with Zend Server CE on SuSE Linux 11.4

I had a running LAMP system. SUSE 11.4 with Apache 2, MySQL and PHP 5.3 Then I installed Zend Server CE. Everything is OK, but now I can't connect it to MySQL. The MySQL Server is running. If I ...
2
votes
0answers
609 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 ...
2
votes
0answers
461 views

Zend Gdata include path issue

I'm having some trouble with a Zend Gdata install. I copied the files into the /usr/lib/php folder and ran a script that said all was working. However, when I go to run any demo script I get the ...
1
vote
0answers
9 views

Questions on compiling homebrew php with postgres support on Mavericks

I recently upgraded to Mavericks on my MacBook Pro and a few things broke in the process. One of these was the ability to load a drupal page that sits on a postgres database. I get this message on a ...
1
vote
0answers
57 views

Setting up rutorrent on 10.9 Mavericks

I'm getting the following error when loading rutorrent that's hosted on my 2010 Intel Core Duo 2 Mac Mini: [23.06.2014 11:31:20] Bad response from server: (404 [error,list]) <!DOCTYPE HTML PUBLIC ...
1
vote
0answers
74 views

Apache2 + Php + Pthreads HowTos

I'm running Ubuntu 14.04 LTS 64 bit. What I would really love to do is sudo apt-get install libapache2-mod-php5 but compile PHP with --enable-maintainer-zts so I could later install pthreads with pecl ...
1
vote
0answers
34 views

Why is connection hanging on 80 or 443?

So I'm using Chef and Vagrant to provision a LAMP stack on a box which I have done before to great success, when along comes this problem. Details as follows: So netstat says we are good tcp ...
1
vote
0answers
195 views

php PDO sqlsrv “could not find driver”

My configuration: - Windows Server 2012 - SQL Server 2012 - Apache 2.4.9 - PHP 5.5.10 My php.ini includes the line - extension=php_pdo_sqlsrv_55_ts.dll My "ext" folder includes the file - ...
1
vote
0answers
223 views

Received: (from www-data@localhost)

All mails coming from my server has Received: (from www-data@localhost) even though I've set 127.0.0.1 mydomain.org mydomain server2 in /etc/hosts. I think that's the reason why it's ending up in the ...
1
vote
0answers
41 views

Socksify php script

I am trying to socksify php script network connections, however I am unable to do that, script ignores the socksifyer, just connects directly. I tried using tsocks and torsocks. tsocks php ...
1
vote
0answers
26 views

Why Windows XP machine is not accessible from Ubuntu machine?

I am using Windows machine and using it as a sever which is properly accessible from my browser through url, but when I try to access windows directory from Ubuntu, I am not getting access to ...
1
vote
0answers
56 views

How to connect with Github repository in Eclipse?

I have created a repository in https://github.com. And installed Eclipse Kepler as the IDE. I want to commit my local file to this remote repository. By default Eclipse Kepler contains Egit for ...
1
vote
0answers
104 views

FFmpeg audio dont work in converted videos

NOTICE: When I convert videos via terminal and download them from ftp into my PC, the audio works fine. I use: if($ext == "avi" && $convert_avi == true) { $convert_source = ...
1
vote
0answers
43 views

Activate PHP on Mac Os 10.7.5

Trying to activate PHP. Guides state that web sharing must be turned on but when I go to Apple menu/System Preferences/Sharing and check web sharing, system starts web sharing then immediately ...
1
vote
0answers
71 views

PHP ssh2_fingerprint() does not match ssh-keygen -lf id_rsa.pub

I am using the lib ssh2 module with PHP and calling the function ssh2_fingerprint() to get the keys fingerprint. According to all resources on the internet, I can get the fingerprint of a public key ...
1
vote
0answers
2k views

How to fix: “phpMyAdmin - Error Cannot start session without errors”?

When I try to login to PHPmyadmin I get the following error: phpMyAdmin - Error Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your ...
1
vote
0answers
87 views

Make eclipse pdt default editor for php, css etc. files in ubuntu 12.04?

I downloaded Eclipse php recently. When i want to open a css or php file it doesn't show option for eclipse, not even in the other applications list. I want to set Eclipse as my default editor to ...
1
vote
0answers
57 views

Insert google analytics tracker into application-automated static HTML page

Does anyone know a method to insert the Google Analytics tracking JavaScript object into an external application-driven HTML generator which automatically exports results to a web server via FTP? A ...
1
vote
0answers
169 views

How to delete an older version of libmcrypt

I am running through the instructions here to get mcrypt installed: http://michaelgracie.com/2012/09/26/plugging-mcrypt-into-php-on-mac-os-x-mountain-lion-10-8/ Everything seems to work fine, until I ...
1
vote
0answers
174 views

MongoDB PHP driver installation issue in Red Hat Linux

My server OS is Red Hat Linux. I installed MongoDB 2.2.3 successfully on my server, following this tutorial. I also tried following these instructions for installing the PHP driver for MongoDB, but ...
1
vote
0answers
203 views

Trouble installing php-devel on CentOS

Working with a PHP install and trying to install APC on a server to help with speed issues with an application we're developing. We are having trouble getting phpize installed. phpize is not on the ...
1
vote
0answers
61 views

ldap exchange 2003 code 49 - ERROR_PASSWORD_MUST_CHANGE

I am trying to write a function to allow a user to reset their password when they must change their password (code 49 - ERROR_PASSWORD_MUST_CHANGE). I ask for their username, current password, then ...
1
vote
0answers
352 views

Configuring XAMPP and “PHP Tools for Visual Studio”

I am using XAMPP and the "PHP Tools for Visual Studio" extension in order to code in PHP. I already configured XAMPP to use xDebug and mod_rewrite. The web site looks OK when I copy everything into ...
1
vote
0answers
94 views

repeat command until process start or timeout unix

Is there anyway to check the number of file in a directory, if the number of files is correct, say 5 files, zip the files with zip -r total.zip. If the number of files is wrong, wait 3 seconds, and ...
1
vote
0answers
260 views

Installed new version of php but server still uses older version

I just upgraded to PHP 5.4.11 from 5.3.15 following this link. After upgrading I ran php -v but it shows me following output. Zafars-MacBook-Pro:php-5.4.11 zafar$ php -v PHP 5.3.15 with Suhosin-Patch ...
1
vote
0answers
85 views

Localhost slow on desktop, not on laptop

I am using XAMPP Lite on my desktop and laptop, which uses Apache for the web-server and also supports PHP. My locally hosted image gallery PHP program has its page elements (100s of thumbnails) ...
1
vote
0answers
468 views

EnterpriseDB ApachePHP - PHP not working

I realize there are a million 'php not working threads' on superuser, but none of them cover my situation, and none of the answers have solved my problem. I installed apache/php on windows 8 as part ...
1
vote
0answers
73 views

Libpdf_php complaining about non thread safe binaries

I installed libpdf_php on MAMP v2.0 and after restarting Apache I get following error: [11-Jan-2013 11:48:21 UTC] PHP Warning: PHP Startup: pdf: Unable to initialize module Module compiled with ...
1
vote
0answers
201 views

I get a 403 when I go to http://localhost/~admin/

I'm running mac osx 10.8. when I go to localhost or 127.0.0.1/ my browser says: "It Works!". However when I go to localhost/~admin/ or 127.0.0.1/~admin/ my browser says: "Forbidden You don't ...
1
vote
0answers
357 views

Aptana issues with HTML and PHP code

I use Aptana Studio 3 and I have two questions: The index file of my website is a PHP file and in this file I use HTML code and some php scripts. Aptana recognizes the PHP code and allow me to ...
1
vote
0answers
101 views

Vim PHP ctags for $['array'] C+]

So far I have this (Which is sufficient enough for me at the moment): ctags -R --languages=php --langmap=PHP:+.tpl --tag-relative=yes --PHP-kinds=+cf However, I still can't press "C-]" when I want ...
1
vote
0answers
66 views

how I can set Xdebug in php.ini for my mini server to seen the error in uniserver?

I tried uniserver portable to get php server run on my computer. [xdebug] zend_extension="C:/UniServer/usr/local/php/extensions/php_xdebug.dll" xdebug.remote_autostart=on xdebug.remote_enable=on ...
1
vote
0answers
123 views

WAMP and WIN 8 issues on port 80

I have tried all to get WAMP running in WIN 8 due to the problems on port 80. I changed the settings in lmhost from 80 to 8080 but I get a error localhost 8080 is not allowed.... I am using chrome as ...
1
vote
0answers
110 views

Solr php extension on zend server ce make fails

I've got curl, and libxml which are dependencies of the solr extension But pecl could not realize that, so I did, pecl install -n solr knowing that I have set the correct php.ini, ext_dir ..etc, ...
1
vote
0answers
143 views

How to connect Komodo edit with WAMP?

How do I setup it to preview PHP code over WAMP with Komodo edit?
1
vote
0answers
274 views

can't install php5-devel on SLES11

I'm runnig for the first time SLES11(SP2) nad I have to install php5-devel on it, my problem is that it doesn't work with yast, I've download the rpm file and tried to install it, but it some how ...
1
vote
0answers
289 views

php interactive mode gives no prompt

I'm running Windows 7. I just downloaded the "binaries and source" distribution of Php 5.4.6. When I unzip the download and navigate into the directory and enter the command php.exe -a on my command ...
1
vote
0answers
317 views

Problems with mcrypt on Snow Leopard

I'm having libmcrypt troubles on my Mac, version 10.6.8, php version 5.3.8. I want to enable libmcrypt but I don't appear to have mcrypt! I've tried following directions to install libmcrypt on a ...
1
vote
0answers
160 views

Mercury with Xamp does not mail, but gives no error

Im making a website, and after users have registered i want to send them an email. Im using the codeigniter framework which has some neat premade mail functions in it. The code is working like it ...
1
vote
0answers
328 views

PHP document root problems (permission denied)

I've set up PHP on my OS X 10.8 system and am trying to test it works. I created a file named "phpinfo.php" and placed it in my document root with the contents below: <?php phpinfo(); ?> ...
1
vote
0answers
565 views

cannt run phpunit tests on bash ubuntu 11.10

I'm working with Ubuntu 11.10 as root on my local machine, I've installed xampp 1.7.7 and While following a tutorial on sitepoint on how to install pear to use PhpUnit, I didn't notice it then, but ...
1
vote
0answers
180 views

PHP Report Maker 5 Export Feature

Is there a way to add a default header for an exported report in PHP Report Maker. For example, if i choose Export to Word, it will automatically generate the header and footer that is appropriate to ...
1
vote
0answers
61 views

PHP: error when requiring PEAR.php

I'm having an include path problem: get_include_path() returns .:/usr/share/php:/usr/share/pear Pear.php is in /usr/share/php: # ls /usr/share/php Pear.php but require 'Pear.php' gives me a ...
1
vote
0answers
378 views

How can I run a PHP CLI program in the console in Eclipse PDT?

I can only open PHP Command-line Interface programs in browsers in Eclipse PDT. I want to run it in the command line so that I can get the user's keyboard input.
1
vote
0answers
782 views

Couldn't start apache

I've installed xampp 1.7.7 on windows 7 x64 and imported configuration files from 1.7.7. With default php.ini which is shipped in 1.7.7, apache start, but the web pages are browsed white pages and at ...
1
vote
0answers
78 views

apache error message on every system restart

Every time I restart my computer, Apache "has encountered a problem and needs to close". I have Windows XP Professional SP3, and am running Apache 2.2. Here is the screen I get when I click the "more ...