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

learn more… | top users | synonyms

0
votes
1answer
4k views

Ho do you stop and start php-fpm?

Ok I'm trying to install Ion Cube on an AWS instance created by Bitnami: https://aws.amazon.com/marketplace/pp/B007OUYR4Y/ref=srh_res_product_title?ie=UTF8&sr=0-4&qid=1413489962522 ...
0
votes
0answers
4 views

How do you make php-cli as the default command in the terminal? It's currenltly running php-cgi

When I'm root and I do a php version. It shows that I am running php-cgi: but I need to use the php-cli version which resides in /usr/local/bin/php -- When I'm logged out of root as a regular user. ...
0
votes
0answers
4 views

Compilation error while installing Mongo PHP extension via PECL

I try to install Mongo PHP extension via PECL (for PHP 7.0.5-4+donate.sury.org~xenial+1) by executing sudo pecl install mongo-1.6.11 I try to install it this way because my Synfony3 project needs ...
2
votes
2answers
333 views

Command Not Found When Executed via PHP shell_exec()

I want to execute following command on my Ubuntu server using php: android create project --target 8 --name $fname --path ./$fname --activity MainActivity --package $fpack 2>&1 The above ...
-1
votes
0answers
16 views

How can my result be the matching Column name instead of the ID

i have to tables table A and B. in table A you find all the customer information related to their car. In table A there's 4 columns called car1-car4 (because a customer can have up to 4 cars ) and its ...
0
votes
1answer
341 views

Can't Start Apache on on Snow Leopard. “libphp5.so requires version 13.0.0 or later, but libjpeg.8.dylib provides version 9.0.0”

To cut a long story short, I was trying to compile and get ImageMagick working on my Mac running Snow Leopard. One thing led to another and now I am stuck with the following error message when I try ...
-1
votes
0answers
10 views

Fatal error: Call to undefined method mysqli_stmt::get_result()

I get the following PHP error when I run my PHP code on my server, but not on my development system (localhost): Fatal error: Call to undefined method mysqli_stmt::get_result() Here's the related ...
0
votes
1answer
8 views

Installed LAMP and NetBeans, what do I need to enter in Sources folder?

I have installed LAMP and NETBEANS in my Linux pc. I tried to run my PHP project but I am confused with the Sources Folder. Please help in entering the correct path.
1
vote
1answer
61 views

Security regarding nginx + php on CentOS 7 with OwnCloud 9

I'm trying to setup a OwnCloud Server v9 for my freelancing purpose. SPECS: - CentOS 7 - nginx - php I'm a little bit confused. I can find only the info about the PHP Version 5.5 in the ownCloud ...
1
vote
2answers
4k views

CURL Error version OPENSSL_1.0.1 'not found …'

I have the last few days, a concern with CURL. I get this error: curl: / lib/i386-linux-gnu/libssl.so.1.0.0: version `OPENSSL_1.0.1 'not found (required by / usr/lib/i386-linux-gnu / libcurl.so.4) ...
0
votes
3answers
3k views

Convert PDF to JPG without Imagemagick

Is there a way to convert a common UTF-8 encoded PDF to a JPG without using ImageMagick or Ghostscript? The reason I'm asking is, that I have to replace or "simply" double layer a small part (date) ...
0
votes
0answers
14 views

Set volume using php exec and amixer

I wrote a little php script to control the volume of my local machine with alsa: <?php # for simplicity and testing it really just executes the command: echo exec('amixer set Master 5%+') . " \n"; ...
2
votes
1answer
9k views

apache 2.4 + php 5.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
1answer
3k views
0
votes
3answers
3k views

How to Configure Adobe Dreamweaver CS6 with PHP and ASP .NET?

I have Wamp Server on my PC and also Visual Studio and I want to Configure Adobe Dreamweaver CS6 with ASP .NET and PHP so that I Can design Dynamic website....
0
votes
1answer
7k views

Curl returns “Connection Refused” when trying to access XAMPP via localhost

I am running XAMPP (Apache, MySQL and PHP) on my Windows Vista computer. I have curl installed on my machine. When I try to curl my localhost in the command prompt, I get the following: curl -v -i ...
6
votes
4answers
10k 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(): ...
2
votes
2answers
15k 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 ...
4
votes
3answers
6k views

How to log php error in a separate file?

I just did an upgrade of my server to Fedora 17 and merged some configuration files containing .rpmnew into the existing ones. I have been successfully logging my php errors in a separate log file by ...
0
votes
0answers
6 views

Tuleap project registration

Is there a way to customize the Register New Project page? For example, I want to have a text box under Trove Categories instead of the dropdown choices. The PHP page I speak of is: ...
3
votes
1answer
3k views

How to change cygwin hostname

I'm just searching for a way to change the default Cygwin host name. I need to change the Admin@deluxe ~ part and replace it with something else.
4
votes
2answers
4k views

How do I upgrade PHP on CentOS and Kloxo?

I need to upgrade PHP so that I can upgrade joomla on my dedicated server. I have: kloxo 6.1.6 php-5.2.17-1 Linux CentOS-55-64-minimal 2.6.18-194.32.1.el5 x86_64 x86_64 x86_64 GNU/Linux I searched ...
0
votes
0answers
26 views

xampp myphpadmin and mysql server 5.7 not working together

I have MySQL Server 5.7 running on my windows 10 machine and I installed xampp 5.6. To start MySQL for phpMyAdmin I have to stop the MySQL57 service which uses port 3306 if it is already running. If ...
3
votes
3answers
4k views

How do you install PHP PECL extensions with Macports?

I'm using PHP 5.5 installed through Macports. I'd like to add the APCu PECL library. But there's no macports package and I can't see a way to install the PEAR/PECL command line utility. So how does ...
1
vote
2answers
3k views

WAMP not executing PHP

My WAMP server is not executing PHP. I have already tried the following things: restarted just Apache restarted all WAMP services restarted the WAMP application restarted my whole system renamed the ...
0
votes
0answers
13 views

php running on IIS 8 WIN 2012 Server “IS” pointing to correct php.ini but extension_dir is still pointing to “C:\PHP”

Now you're going to say, "Well, Pete, Google it because it's really simple..." OK, I agree. So here are my givens: GIVENS: php is running on IIS 8 on a WIN 2012 Server box php is running nicely ...
0
votes
0answers
8 views

How to get piwik running with nginx on Ubuntu?

Seeing that I want to learn more about linux administration today I wanted to set up an instance of the self-hosted Piwik statistics package for a website I'm running. Since I don't want to disturb ...
0
votes
1answer
3k views

PHP mail() function not working in Mac OS X

I did follow all the links given in this post, nothing worked out. Please explain me why PHP mail() does give so much problem? what exactly happening and why it will not work? I am using Mac OS X ...
0
votes
1answer
9 views

lighttpd with zip extension

I wanted to optmize a project i have by trying out lighttpd instead of apache2 on a Raspberry Pi, but noticed that my php code handling zip files no longer worked because the Zip module for PHP doesnt ...
0
votes
1answer
11 views

Php Permission Issues

I'm facing permission problems. I have a project for my school lecture which located here. It basically download some images from internet. And also It has a setup like wordpress and need to modify ...
0
votes
2answers
28 views

Centos - PhpMyAdmin showing blank screen

I have just installed PhpMyAdmin, and when i try to access it it just shows a blank screen. I suspected this is because i followed a tutorial on how to secure php and disabled multiple settings, so i ...
1
vote
3answers
22k views

How can I completely remove PHPStorm, and all associated files on Ubuntu 13.04?

After removing the Phpstorm directory from Ubuntu, future installation attempts do not actually install any more - no menu item appears under Applications in the top left, and running the "globally ...
4
votes
1answer
10k views

Editing PHP in Microsoft Visual Studio Express 2012

Is there a way to install something in VS Express so I can edit PHP in VS Express Web and have the program color the text like in HTML and JS?
3
votes
2answers
3k views

Nginx & UserDir & PHP

I have a fairly simple nginx/1.4.7 installation (from Debian/unstable) and I'm trying to get PHP scripts to run inside a UserDir. server { listen 8083; ...
1
vote
0answers
15 views

How to install MySQL on separate box from IIS 7

I've got two servers running Server 2008 r2. I've set up one sever as the webserver with IIs7.0, asp.net, php, nodejs, etc. And I have put MySQL and MongoDB on the other server. As best I can tell ...
0
votes
0answers
14 views

Creating a “fake” disk on windows that actually goes to a remote disk

I have a seagate harddrive connected to my router. I can get to my files but i cannot use the file location in phpstorm. I can edit the files but the file tree is not showing. I read that you could ...
0
votes
1answer
15 views

Whats blocking direct access of error_log in apache

I have searched on google for a long time but it seems like nobody has even asked this question: What is blocking the direct access of error_log on Apache servers? Or is it even an Apache thing or ...
2
votes
2answers
1k views

Notepad++ - HighLight HTML tags in php

Have php with echoing html tags. notepad++ 6.4.5 is highlighting ok the tags inside php and outisde php. notepad++ 6.5 is highlighting ok the tags only outisde php and NO HIGHLIGHT inside php code. ...
0
votes
0answers
25 views

Virus keeps appearing. How can i find the security hole?

I just started working with this client recently, and when i got into his server, it was full of viruses. At least 4 of his cpanel users had viruses on their websites (completely managed by him). The ...
0
votes
1answer
60 views

Ubuntu can't install php5-mysql

Now, before someone marks this as a duplicate, I've been looking around on the internet for the last two days and have been unable to find a resolve for my issue. All I'm trying to do is simply get ...
0
votes
0answers
21 views

Installing PHP on Server 2008 R2 and IIs 7.0

Followed these instructions to install PHP. Downloaded and extracted PHP-5.5.34-nts-Win32-VC11-x86 to C:\PHP. Created the PHP.ini file and turn on/off the directives listed there. Then followed ...
0
votes
1answer
3k views

Upgrade my xampp for linux (UBUNTU) using command line

I have xampp version 1.7 but I want to upgrade it in newest version from command line. Is there any command to upgrade xampp for ubuntu using command line?
7
votes
6answers
330 views

/usr/bin/env: php: No such file or directory

I want to use .sh script for deployment of my app. That script is on my home server (Ubuntu 15.10 Server), marked as executable. Access to this script is done through ssh, using this tutorial, I have ...
0
votes
0answers
8 views

.htaccess to hide 2 possible directories

I am having difficulties getting the second statement working regarding admins, i am trying to hide both new and admin parts of the directory. new seems to be hiding fine however admin doesnt want to ...
2
votes
1answer
27 views

Web Server Security : www directory

I have a question about Web Server, especially PHP / Apache Server. A Developer told me and my colleagues that today it is bad to put our Web directory in WWW directory, because it is unsecured ...
0
votes
2answers
476 views

Why showing pear and phpunit is not installed in xampp on ubuntu?

I have installed xampp 1.8 on my ubuntu 12.04. In /opt/lampp/lib/php/PEAR I can see there are two directory named PEAR and PHPUnit. But when I run pear -V or phpunit from terminal it gives the below ...
0
votes
1answer
5k views

How to enable event MPM Apache 2.4 Ubuntu 14.04 with thread safe PHP?

I upgraded to Ubuntu server 14.04 expecting the default Apache installation would use the new event MPM, but instead I find the old memory-eating prefork. I've successfully set up event MPM in Arch ...
5
votes
6answers
11k views

apache client denied by server configuration after mac OS X upgrade to Yosemite

I know this looks similar to other questions but Yosemite seems to have changed something with apache configuration with the upgrade. my error log says " client denied by server configuration: ...
0
votes
0answers
14 views

Code assist not working right in Eclipse Mars with PDT

I have Eclipse Mars with PDT installed, but code assist is not working right in my opinion. When I type a function call but don't know the right parameters I would like Eclipse to display these ...
0
votes
0answers
9 views

Error while installing apache

When trying to install libapache2-mod-rpaf I get this error: dpkg: error processing package libapache2-mod-rpaf (--configure): subprocess installed post-installation script returned error exit ...