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
1k views

How to change the configure command for PHP

I need to enable Freetype for PHP's GD, and I'm getting absolutely nowhere trying to figure out how. According to this article I need to change the configuration command, but I have no clue where to ...
0
votes
1answer
9 views

Installing libevent via PECL fails on Ubuntu 12.04

I have Ubuntu 12.04 built with Moodle Stack installed. I'm trying to install this: $ sudo pecl install libevent I get this error: Failed to download pecl/libevent within preferred state "stable", ...
0
votes
1answer
17 views

Fail to load php module macports

I'm trying to install php module via macports. I have them installed, so I run cd /opt/local/apache2/modules sudo /opt/local/apache2/bin/apxs -a -e -n "php5" mod_php54.so Then I'll ensure myself, ...
-1
votes
0answers
12 views

Autoselect checkbox and save that value to the DB [closed]

I have this code here: <input type="checkbox" <? if ($ifvisible) echo ' checked '; ?> name="agreevideoshare<?=$token?>" onchange="if ...
-3
votes
0answers
21 views

How to find out how many times a link has been clicked? [closed]

Is there a way to check how many times a link has been clicked on a html page? How would the html and php work together?
2
votes
1answer
896 views

apache 2.4 + php 4.7 cannot load php5apache2_4.dll

I am trying to make Apache (httpd-2.4.3-win32) to work with PHP 5.4.7 (VC9 x86 Thread Safe) on Windows 7. Apaches default page is working and proudly says: "It works". PHP CLI is working and ...
0
votes
0answers
25 views

How to install and configure database certificate tool?

How to install and configure Firefox Database Certificate Authority Tool (Certutil) I have a PHP based web application with log-in functionality. Now the log-in works with the help of SQLite ...
0
votes
2answers
36 views

Recommended way of installing PHP 5.4

PHP 5.4 is stable for quite some time now. However, when I type apt-get install php5 PHP 5.3 gets installed. Question: Why? And what is the preferred way of installing PHP 5.4? Should I choose a ...
1
vote
2answers
33 views

Is it possible to create a subfolder inside a symlink folder but not be added into the parent folder?

Is a very tricky question, sorry about that Base on this Folder A file1 file2 Folder B ( symlink of Folder A (softlink) ) file1 file2 that i want to do is create a folder or file inside my ...
1
vote
1answer
19 views

Setting up Apache + PHP web server in Virtualbox on Win 7

Running Apache and PHP on Windows with XAMPP or WAMP sucks, because installing new PHP extensions on Windows is very hard. Most binary releases for Windows don't work :( So I was thinking to run ...
1
vote
1answer
30 views

TextMate 2 “Go To Symbol” not working for PHP

I’m running TextMate 2.0-alpha.9419 and experiencing this issue: the editor doesn’t see my method definitions within a class, and won’t let me jump to them via “Go To Symbol”. The only method that TM ...
0
votes
1answer
16 views

How do I enable PHP on Mountain Lion and view a PHP file?

I followed this guide to enable PHP on Mountain Lion, but now I have no idea where to access the page. I tried localhost/~myusername/info.php where info.php if my file, but nothing loads.
1
vote
1answer
1k views

Why NetBeans ( php - remote project ) change permission of files to 0600?

I'm using NetBeans for editing some php files ( in a php project ) at remote server. all go normal, but when saving the edited file using NetBeans, the file's permissions are set to 0600 by default, ...
0
votes
1answer
17 views

PHP file won't open in browser, only download

I can't get .php files to run on my server. For example, I created a test file entitled "test.php" with the following content (only): <?php phpinfo() ; ?> When I try to open this or other ...
0
votes
1answer
41 views

Upload .SQL Files to Wiki

Changes to my team's database are recorded in our internal wiki. Currently, in addition to a brief description, the .sql scripts are added as text. This is becoming bulky and making the page difficult ...
0
votes
0answers
24 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
20 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 ...
0
votes
0answers
15 views

Can't seem to get mcrypt working on Arch Linux

I'm trying to take the PHP laravel 4 framework for a test run, this is the error message I keep seeing: Call to undefined function Laravel\mcrypt_create_iv() Steps I've taken so far: pacman -S ...
0
votes
0answers
16 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 ...
0
votes
0answers
16 views

500 after installing APC

I ran the following commands on a CentOS box: yum install php-pear php-devel httpd-devel --disableexcludes=main pear install pecl/apc service httpd graceful After the restart of apache, viewing any ...
1
vote
1answer
116 views

SQL syntax highlighting and code completion in Eclipse PDT

Is there a way of enabling highlighting (and/or code completion for SQL) for SQL syntax in PHP strings variable while developing some PHP works related to SQL using Eclipse PDT?
0
votes
2answers
34 views

PHP4 for ARM fedora

I am looking for an ARM RPM of PHP 4, specificity to install on Fedora 17, however I cant seem to find one anywhere. I assume this is most likely down to ARM not being supported by Fedora in the age ...
1
vote
3answers
5k views

yum install a particular version

I am currently using centOS 5.2 I want to install php 5.3.3. how do I install using yum?
0
votes
1answer
2k views

How to install Imagick on Mac OS with XAMPP

I'm having some trouble installing Imagick on a Mac. I have XAMPP installed and when I run 'sudo pecl install imagick', I get this error: checking ImageMagick MagickWand API configuration program... ...
0
votes
0answers
16 views

PHP errors on some pages, but not others [migrated]

I have a VPS running the following: Windows Server 2008 r2 PHP 5.4.14 Manual installation of MySQL 5.6 Parallels Plesk IIS 7.5.7600.16385 I have a PHP site that I am serving, and can navigate to ...
2
votes
0answers
19 views

Allow acces to wp-admin in wordpress [migrated]

I am trying to restrict access to wp-admin: only administrators and editors should be able to access it. At the moment I am using this function: function restrict_admin(){ //if not administrator, ...
-2
votes
0answers
19 views

Using SQLite for Mediawiki [closed]

I have a mediawiki that I am trying to setup. When I get to the welcome screen it says it can't find a database driver. I downloaded the zip file for php from PHP for Windows, and my Apache server is ...
-1
votes
0answers
25 views

Setting up a script to change the password to a random string [closed]

I am working with several colleagues on buying and selling virtual items. In the system we set up, we basically have to pool our resources into one account to have enough money to buy some of the more ...
3
votes
4answers
3k views

why are my mails being sent to junk folder?

I am using my own domain's email address : admin@mysite.com i have a simple email sign up form, where emails entered are sent to admin@mysite.com using php's mail(). i discover it always goes into ...
0
votes
1answer
29 views

SSMTP and PHP sending mail through different domainds(sub-domains)

I'm trying to set up SSMTP on my Raspberry PI(Raspbian Wheezy(Debian ARM port)) Model B, Right now I can send mail through the console just fine, actually getting the mail aswel. The problem is when ...
1
vote
0answers
95 views

Installing zeromq on Windows 7 WAMP server

I am looking for installing zeromq on my Windows 7 machine for using zeromq with PHP (I am using WAMP server (5.3.4), Apache Server 2.2.17). I followed the documentation on their site, but I don't ...
0
votes
1answer
59 views

PHP Startup: Unable to load dynamic library 'C:"\php\php_mysql.dll' - The specified module could not be loaded

I'm trying to upgrade php 5.4.14 from php 5.4.3 in wamp server 2.2e. I have downloaded php-5.4.14-Win32-VC9-x86 (thread safe). Extracted it under C:\wamp\bin\php. Copied wampserver.conf from ...
0
votes
0answers
24 views

MAMP PRO won't execute PHP files?

For some reason, PHP files display as plain text in the browser when I browse locally via MAMP PRO. I looked through the PHP settings and there doesn't seem to be anything there that would affect ...
1
vote
1answer
29 views

Company Cloud Where I Can Assign Files To A User

I'm looking for a script/solution for my company. Basically a place to store our contracts/invoices for our clients online (so it will be hosted on our web servers), giving our clients access to our ...
0
votes
0answers
11 views

PHP version wont update after finishing manual install on OSX

I've done installing php from source compile it using configure parameter from this site: http://mac.tutsplus.com/tutorials/server/upgrading-the-native-php-installation-on-os-x-mountain-lion/ ...
0
votes
1answer
42 views

Setup Debian Server, Symlink from /var/www/dir to another directory

I have just started a server with debian, I'm new to this sort of thing so please bare with me. What I'm trying to achieve is this: Request comes in : sub.mydomain.co.uk I have to DocumentRoot ...
1
vote
3answers
217 views

phpmyadmin symlinks error after ubuntu upgrade

After the upgrade of my ubuntu server to 13.04 my phpmyadmin is no longer reachable. the browser reports 500 (internal server error) and in the error.log it says: PHP Fatal error: require_once(): ...
0
votes
2answers
41 views

find out if the server root password is known with php or a bash-script

Is there a way to find out if the shell Ubuntu root password is a certain word? I deliver an image with a full Ubuntu installation to my customers, that has a certain root password. I would like to ...
0
votes
1answer
37 views

xampp 1.8.1 on Windows 8 issues with PHP code using Notepad++

I am currently having a problem with xampp on windows 8. I installed xampp 1.8.1 and I didn't have any problems with the installation and I was able to configure Apache and MySQL just fine. But when I ...
1
vote
1answer
700 views

PHP files are downloaded instead of getting interpreted

I'm encountring some difficulties with my Apache2/PHP5. All was well-configured and working, but after reinstalling apache2, the PHP files are displayed without being interpreted. I tried many ...
-2
votes
0answers
18 views

How to place php site on GoogleApp? [closed]

I'm trying to place my site on Google and have successfully finished all the necessary steps from this page. Example site works fine, but my own site doesn't work, I suppose because it is made not in ...
0
votes
0answers
16 views

PHP - adding PostgreSQL (and other) modules doesn't work - debian 6

I try to install nginx + PHP 5 (FastCGI) + PostgreSQL on my Debian 6 VPS and I have a problem with adding new modules, especially pgsql. My phpinfo() shows "PDO drivers: no value" and of course ...
0
votes
0answers
37 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 ...
1
vote
1answer
11 views

Using LDAPS with PHP on Windows

I have a PHP site running in IIS and I want to auth my users against my corporate Domain Controller. Running phpinfo() shows my install is using OpenLDAP version 20319. I can auth just fine when I go ...
0
votes
1answer
19 views

Wamp windows 8 problems

I am unable to see the menus that normally appear when I hover/select apache,php or mysql. These windows refuse to float to the lefthand side of the wamp server root menu, I barely see the edge of the ...
0
votes
2answers
71 views

Notepad++ General Purpose code formatter.

I enjoy a lot that I can hit CTRL+Shift+F on eclipse and it automatically formats the code according to a profile. My question is how can I do something similar on Notepad++? Where would I go about to ...
0
votes
2answers
24 views

How to install php_mapscript extension on WAMP

I searched over the net for how to install php_mapscript extension on WAMP, but found nothing really clear about it. I tried to install it manually. So I dropped the DLL in the php extensions ...
1
vote
1answer
27 views

How to change color of a PHP string in Notepad++?

Example: $string[34] = 'test'; I would like test to be black-colored or at least #333. Current one is light gray and not very visible. Thank you for your time!
1
vote
0answers
23 views

Netstat doesn't work on FreeBSD by php function exec()

In my php-app I need list of all ip connected on 80 port. i've chose this way: <?php $ips = exec("netstat -an |grep 'tcp\|udp' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c", $info); ...
0
votes
1answer
15 views

make error in PHP_PERL

I am following the answer in this thread to make the perl module for php. am using ubuntu 12.10. unable to use PHP_PERL extension. Unable to install the extension as well The short steps are: ...

1 2 3 4 5 16