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

4
votes
0answers
1k 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 ...
2
votes
0answers
83 views

Something “kills” my Apache-PHP-Processes after some time

I have the following really strange problem and hope, you guys can help me out. If there are any questions, I'll try answer them as best as i can. The problem I have a web server with Debian 6.0, ...
2
votes
0answers
12 views

Customise HTML-Kit Tools syntax highlighting

I'm using HTML-Kit tools to edit a PHP site. The syntax highlighting's really helpful, but it would be good if I could edit it, specifically so that my custom functions would be highlighted (as ...
2
votes
0answers
86 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 ...
2
votes
0answers
1k 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
118 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 ...
2
votes
0answers
563 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
399 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
179 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
859 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
526 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
19 views

php.exe can not find .dll files

I recently installed xampp which of course installs php. I want to run php from the command line so I added it to the PATH variable in windows using setx path ... This worked well so that now I ...
1
vote
0answers
43 views

PHP Proxy without cURL

The next 2 weeks I'll be watching the house for my parents. But before I went here, I forgot to forward ports in the router. I do have a kind of access. I can place files on my webserver. But I need ...
1
vote
0answers
14 views

Phabricator and MAMP PRO Configuration? Keep getting a 403

I currently have MAMP PRO installed, where I run local WP installs. I am trying to install Phabricator. I followed all the directions on their site, but I can't get it to work. I have all apache ...
1
vote
0answers
32 views

Cannot configure PostgresSQL extension for php in Cpanel

I have a Centos 6.6 x86_64 vps cloud server with WHM and cpanel. It contains easyapache installed in it and working fine. php sites are working fine with it. I have installed PostgresSQL 9.3 in the ...
1
vote
0answers
25 views

Installing php extensions in openwrt

I am using openwrt barrier breaker on microtik rb450g router board To run php on openwrt i installed php5 packages using opkg But now i need to install php extension specifically intl extension so far ...
1
vote
0answers
39 views

Apache: a certain string makes POST request hang

Here is a minimum working example of the issue I have. I know by now the error seems to be particular of my server/setup, but I'm still curious about what is going on. There are two files, m1.php and ...
1
vote
0answers
28 views

grep php output show more than grep query

I'm having an issue where php file | grep "query"'s output shows EVERYTHING, not just the grep'd output. EX: php /vagrant/code/test.php | grep "Do not show anything" Shows anything echo'd in the ...
1
vote
0answers
32 views

Running ruby script through php as www-data

I am running a php application on an apache server. From the php application I need to run a ruby script on the command line. I have verified that running the script directly from a terminal as user, ...
1
vote
0answers
37 views

Impact of adding a 32-Bit ODBC driver to a 64-Bit Win Server 2008 R2

Would there be no problem if i ADD another ODBC driver to a server (a 32bit version to cater my 32bit PHP application) with an existing ODBC 64bit version? Would it not create confilict to other ...
1
vote
0answers
129 views

Setup default PHP version in Plesk 12

I've just setup a Plesk 12 CentOS6 vServer. I installed some PHP-versions like 5.4, 5.5 and 5.6. The customers can change the running PHP version in the interface. All is working fine, but I have one ...
1
vote
0answers
82 views

Not able to run php files on apache server using NetBeans IDE

I want to create a php project using NetBeans IDE. I have set a LAMP server on my ubuntu 14.04. So I had to configure the IDE to copy files automatically to the apache server.I followed this - ...
1
vote
0answers
168 views

I destroyed my Mac's PHP setup: SSL certification fails

Long story short, I deleted the PHP symlink on my Mac, and replaced it with a symlink from XAMPP. Now it seems that there's a problem with my SSL configuration or what seems to me, a lack thereof. ...
1
vote
0answers
41 views

PHP syntax in Sublime Text very slow

My Sublime Text 3's PHP syntax highlighting causes the editor to become extremely slow. And it's proportional to the amount of code in the current file. It's only with PHP. As soon as I switch to ...
1
vote
0answers
45 views

How to switch off “you can use new shorter array creation syntax” hint in NetBeans IDE 8.0.2?

I use NetBeans IDE 8.0.2 on Linux Mint. I searched through the options few times, but I can never find the option to switch this hint off in there. I know well about the new syntax in PHP, but I ...
1
vote
0answers
223 views

Eclipse Just Crashes (Xubuntu 14.04)

This is crazy. Eclipse keeps crashing, closing itself a few seconds after I start it and I have no reason why. I have tried everything that I have seen here and nothing helps. I am so desperate that I ...
1
vote
0answers
194 views

PostGreSQL DB - phpPgAdmin using XAMPP

I have installed PostgreSQL Database in Linux server system. XAMPP is installed on my local system. I have followed the steps in install phpPgAdmin . But I still could not access the phpPgAdmin page ...
1
vote
0answers
23 views

How to make Pixaria work without ini_set()?

I am working on a server which has Pixaria installed. After wasting (yes, completely wasted) hours trying to find out why it showed a blank page, I finally decided to try to enable ini_set() in ...
1
vote
0answers
108 views

PHP exec() causing memory usage to stay high?

I am quite new to using exec() command in php. I am using it along with this script called phantomJS (http://phantomjs.org/) to run a process which creates a pdf of my website's pages. The problem ...
1
vote
0answers
951 views

How to fix php in Yosemite?

Once I've upgraded to Yosemite my PHP stopped working. After a quick search I've found this guide which worked fine on my work computer. When I tried the same on my home Mac, it didn't work. 1) on my ...
1
vote
0answers
331 views

IIS 8.5 PHP 5.6.2 x64 Fatal error: Allowed memory size of… if imagick is enabled

I changed from PHP 5.6.2 x86 (nts) to x64 (nts) on IIS 8.5 and I got almost every extension to work except imagick. I tried to update imagick binaries to the latest x64 dll version ...
1
vote
0answers
10 views

How to control SSL automatic activities in Wordpress php files

I have domain with one sub-domain. The domain has installed SSL with valid certificate but sub-domain doesn't have it. I installed two Wordpress, one for domain and one for sub-domain (clone it to ...
1
vote
0answers
216 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
81 views

In Sublime Text 2, how do I highlight any code which is between <?php and ?>

I'm coding in php for a Wordpress project at the moment and using Sublime Text 2. It's great, however, I would love to be able to quickly see what is php and what is html (also javascript, but that is ...
1
vote
0answers
572 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
92 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
1k views

Windows server 2012 r2 IIS PHP

I have php installed on a windows server 2012 r2 box that is running IIS When running a script with a mail function it will hang and eventually bring this error: C:\Program Files ...
1
vote
0answers
411 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
910 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
32 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
130 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
133 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
72 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
9k 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
558 views

Upgrading APC extension in MAMP

I'm trying to upgrade the APC extension in MAMP. I have got installed MacPorts and with the following command I've installed the autoconf: sudo port install autoconf Then I've executed this command: ...
1
vote
0answers
123 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
63 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
309 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
378 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
279 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 ...