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
0answers
10 views

Does it make sense to use a PHP CRUD application with AngularJS to replicate Excel functions?

I am overwhelmed with our existing complex Excel spreadsheets (typically 50+ rows with formulas and functions) and the process of getting the data to our servers. It is a good tool but a mess and my ...
0
votes
0answers
9 views

Generating crx file via PHP/phpseclib fails with: “Package is invalid: CRX_SIGNATURE_VERIFICATION_INITIALIZATION_FAILED” [closed]

I'm generating a crx file in PHP using phpseclib. When I try to install the crx into Chrome, I get the error: Package is invalid: 'CRX_SIGNATURE_VERIFICATION_INITIALIZATION_FAILED' Here's my code: ...
0
votes
0answers
6 views

Where do I get default ubuntu 12.04 php5-fpm php.ini default?

I was messing with config file, and forgot to make backup before doing changes... I'd like to see what changes I've accumulated in comparison with defaults. How do I get default php.ini from ubuntu ...
0
votes
1answer
33 views

Using awk or cut command to get CPU percentage

I am trying to execute a Linux command through a PHP script to get the CPU percentage for each core: … with cut: $output = null; passthru("mpstat -P ALL | grep 0 | tr -s ' ' | cut -d ' ' -f 4", ...
2
votes
0answers
18 views

Apache downloads php files instead of running their source

I have just recently upgraded PHP 5.3 to 5.4 on my Debian Squeeze server. Now, instead of executing PHP files, Apache just downloads them, which is really bad. When I try to follow these steps, I get ...
0
votes
0answers
8 views

How to run a console on Ubuntu to install the daemon?

Now I start to deal with WebSocket and must be installed on phpDaemon Denwer. I read the installation manual but there are items that I have not yet understood ( Where the folder is located in ...
0
votes
1answer
11 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", ...
-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?
0
votes
0answers
29 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
39 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
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
2answers
36 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 ...
0
votes
1answer
21 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
34 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
19 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
0answers
28 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 ...
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 ...
1
vote
0answers
23 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
18 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 ...
0
votes
0answers
16 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
2answers
35 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 ...
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 ...
0
votes
1answer
30 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 ...
0
votes
1answer
64 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
26 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
46 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 ...
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
39 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 ...
-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 ...
1
vote
3answers
240 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
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
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 ...
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
25 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); ...
-1
votes
0answers
35 views

Access forbidden!(Error 403) on LAMPP [closed]

I am new to Linux, I got this problem when running LAMPP, the error is below: Access forbidden! You don't have permission to access the requested object. It is either read-protected or not readable ...
0
votes
1answer
16 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: ...
0
votes
0answers
10 views

Problems in navigator of coda 2

I started to use macbook and coda 2 recently, and I have a big problem with navigator. Actually, it doesn't work in right tab bar, but it shows everything in Path Bar. I mean in right tab when I ...
-2
votes
0answers
24 views

Display progress when we run action using ant with curl [closed]

My code is. <target name="retrieve-userdata" depends="test-src"> <echo message="start the process for fetch region and event"/> <exec executable="curl"> ...
0
votes
1answer
57 views

Shutdown Debian from php script

I am trying to shutdown my RaspberryPi running Raspbian from a php script running on lighttpd webserver. shell_exec("sudo /sbin/shutdown -h now 2>&1"); I added lighttpd ALL=(ALL) NOPASSWD: ...
0
votes
0answers
39 views

Apache2 HTTP Error 500 when attempting to access localhost, no error in log

In Ubuntu, I'm trying to setup my PHP website locally in Apache2. I am able to get the "It works!" page to show when I navigate to localhost in the browser. I then copied the default site in the ...
0
votes
0answers
45 views

How to install ImageMagick 64-bit on Windows Server 2008 R2 64-bit with Apache 2.4

I use Apache 2.4 64-bit and PHP 5.4.9 64bit VC thread safe. I'm trying to install ImageMagick for PHP. I think the problem is a DLL file, so I searched for something compatible for php_imagick.dll. ...
-1
votes
0answers
16 views

Link to export mysql table as xls etc… on webpage [closed]

In phpmyadmin, there is an option to download a whole sql table as an xls, .sql etc... Is there a way to have a link to a generated xls/sql file based on that table within a webpage (using php?)

1 2 3 4 5 16