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
2 views

Yosemite & apache server: The requested URL /Users/jcronin/Sites/media-ocean/index.php was not found on this server

I am currently trying to reconfigure my local apache server. I have run a brew upgrade and have followed the tutorials on coolestguideontheplanet.com. I can get the first page of my Drupal site to ...
0
votes
1answer
2 views

How can I install PHP in Apache on OpenSUSE 13.2?

I have installed all of the following packages: apache2 php5 apache2-mod_php5 However, when opening a .php file in the web browser on my server, I am offered to download the file. apache2ctl -M ...
-1
votes
0answers
252 views

PhpMyAdmin shows error 1146 after upgrading to OS X Yosemite

I was working with XAMPP 1.8.3-3 on OS X Mavericks. After upgrading to Yosemite, MySQL server stopped working. And an upgrade to XAMPP 1.8.3-5 fixed the problem and MySQL server started working. Now ...
0
votes
1answer
20 views

PHP site doesn't work on Linux Mint

I started using a Linux Mint and I'm having a little problem. I have a project, where the main folder contains PHP files, and inside this folder there are other folders with images, JS files and CSS ...
3
votes
5answers
2k 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: ...
-1
votes
1answer
31 views

Website slowing down when many users access simultaneously [closed]

I'm new to web development. I have hosted my website through a free web hosting service providing free subdomain. The free hosting service says that they provide 100 GB bandwidth. I just upload files ...
1
vote
0answers
35 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 ...
12
votes
1answer
576 views

hexdump vs actual file contents

When I do hexdump filename.txt I get the following as output: 00000000 ac5a 5afb c08d 5d15 26d0 2491 e8c9 8917 00000010 When I do <?= bin2hex(file_get_contents('filename.txt')); ?> I get ...
0
votes
0answers
42 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 ...
1
vote
1answer
23 views

echo “something” > file not working when sh script is being executed by remote PHP server

I've got a web-server with my hardcoded webpanel for Source server management and I've got my VPS on CentOS which doesn't really want to execute sh script when asked from remote server. Web-server ...
0
votes
0answers
24 views

What are the advantages of using Named Pipes/Domain Sockets? [migrated]

So I am working on a project which involves a Python back end and a JavaScript Front end, but there is also some PHP acting as the middle man between the two and serving up the web pages. As it ...
0
votes
0answers
17 views

How to select from mysql tables randomly? [closed]

I am working on a quiz app image 1 shows the index.php page image 2 shows the first question image 3 shows the second question image 4 shows the third question image 5 shows the result after ...
1
vote
0answers
12 views

updating php 5.5 to latest stable version on gentoo

I have recently been put in charge of keeping an eye on the servers (we don't have a server admin) and I just realized that we are running a pretty old version of php which has multiple ...
0
votes
3answers
28 views

access wordpress mysql database remotely

I want to access a mysql database on a foreign host. I have permission from the owner, but they are clueless with regards to technology (and it seems, so am I). I went through the wordpress codebase ...
0
votes
0answers
18 views

Laravel session resets after reload

My laravel session doesn't seem to be working. When I reload the page all session data seems to be lost. I.e: CSRF-Token Session::put('key', 'value'); Session::get('key'); CSRF Token Login ...
0
votes
0answers
6 views

Wordpress Visual Composer Plugin Needed

Wordpress Visual Composer Plugin only allows me to add to this elements to the blog posts grid: “Thumbnail”, “Title”, “Text” and “Read more link”. Is there any add-on that will allow me to add the ...
1
vote
1answer
12 views

PHP equivalent of rbenv/rvm

I've always used Ubuntu's official repositories for installing PHP, but after playing with tools like rbenv and rubybuild for Ruby installations, I am wondering if better tools/techniques exist for ...
0
votes
1answer
14 views

Restart TOR service using PHP execution

I want to restart my TOR service with a PHP script in order to receive a new IP address. The reason why I plan to do that is because Google and some other sites start blocking me sometimes. I tried ...
-2
votes
0answers
14 views

import of google-contacts is ot possible - which separator are needed [closed]

import of google-contacts is ot possible - which separator are needed how does google use separators - and how can i import a csv-dataset i need a easy way to import data from calc - that is a ...
0
votes
0answers
27 views

Linux create zip file with custom directories in it

I'm new here. My task is to create a zip file from php code. I need to password protect it and the server runs php 5.5 and password protection is not supported there so I need to execute a command ...
0
votes
0answers
9 views

safe-mode and its effects on vhosts - why does turning off help

on a root server - with several domains with different vhost (configurations) i run several wordpress on domains - and wthin the wordpress i have a plugin that allows uploads of images -within a ...
0
votes
1answer
16 views

PHP read permissions messed up

I'll try to be as clear as possible. On my server which runs on ubuntu 14 i installed mutlicraft (a minecraft control panel). After uploading the server i noticed that the server wont run. Thats ...
0
votes
0answers
13 views

How to setup webserver with access restrictions

I need PHP webserver with two folders: www and www_hidden each will have its own database, then there will be two users: normal and admin. User normal can access only www through FTP and admin can ...
0
votes
1answer
25 views

PHP User in NGINX not Accessing File, Permission with Group

I know that nginx sets the user for php as www-data. Therefore the user www-data needs access to the entire structure as described in this blog post. To express my issues I will have to define some ...
1
vote
0answers
11 views

latest Luna eclipse PDT nolonger gives common function suggestions

I was using helios version of PDT but it was compatible only till v5.3 so I downloaded latest luna version to get v5.5 support from here. but after downloading this instead of supporting new functions ...
-2
votes
0answers
8 views

Is it possible to randomly change the positions of widgets on Wordpress? [on hold]

One of my sidebars is fulfilled with (self-made) ads. I want them to randomly rotate their positions every time somebody gets on the website. Is it possible to do that? Are there plugins or something? ...
0
votes
1answer
28 views

Unable to start VM from php

From a php page I am trying to start Virtual Machine using virsh tool on KVM hypervisor but I am getting this error. error: Failed to connect socket to '@/var/www/.libvirt/libvirt-sock': Connection ...
0
votes
0answers
10 views

Extract DSLR Live View as video feed and capture

We're working on a project where users can view themselves using a camera mounted on the wall using a live stream on their phone. They can take a picture of themselves, and it is stored on our servers ...
0
votes
0answers
35 views

Google App Engine (Help Needed)

I'm trying to set up my new website using Google App Engine (PHP). I have bought the domain and my website is working fine. Well, kind of. I have two forms on my website, one asks for just an email ...
0
votes
0answers
21 views

Only the first row is accessed on the foreach loop

What i wanna do is to pass using javascript the following values(refer to the value of the radio button) whenever i click on the radio button. I have this code on a blade template using laravel. ...
0
votes
0answers
18 views

ProFTPD Config not working [LIMIT]

Morning All, I have a user called 'ftp' I want them to be able to move files into basically an 'Archive' directory - create files etc, but NOT delete files in the config I have: <Directory ...
-1
votes
0answers
18 views

Video.js and Ima Sdk

When i visit my video url: https://www.domain.com/watch?v=videoid the ads don't work, but when i visit https://www.domain.com/watch The ads do work so its really strange. Even when i change te ...
1
vote
1answer
74 views

Microsoft PHP SQL Server Drivers not working, cant load module

I am trying to install Drivers for PHP to be able to talk to my SQL Server. I am running PHP 5.5.15 on XAMPP, and SQL Server 2014. I downloaded a driver package from here: ...
0
votes
1answer
40 views

Accessing a PHP(xampp) page on local machine from Android

I was trying to access a localhost page using 192.168.56.1. which was working fine yesterday on my emulator as well as in my device . But today when I tried, it is not working I am getting timeout ...
0
votes
0answers
9 views

Project task runner for PHP

I have a project which contains both PHP and client-side HTML, JavaScript, CSS, etc. I know that you can use GruntJS in a Node.js environment, but what tools are there for this kind of project? Is ...
1
vote
1answer
26 views

amazon ec2 intance rhel7 ftp not downloading

this is driving me insane. i am trying to download files using FTP. i tried with PHP's FTP, the FTP binary, WGET, none of them work. They all have the same problem. When get command is initiated, the ...
0
votes
0answers
27 views

PHP - Configure commands change path

I have PHP installed on my machine (os x) and am trying to get the msssql module to talk to freetds and I noticed that phpinfo() shows the following under configure commands: ...
1
vote
1answer
528 views

Error install nginx version 1.6.2 in Ubuntu 14.04

My server is Ubuntu 14.04 the info.php is blank :( I do not really know what's happening I want to install the latest version of nginx I followed these steps: install nginx apt-get install ...
0
votes
0answers
45 views

different versions of PHP for CLI and Apache resulting in extension incompatibility on ubuntu

So first of all, how this happened: I've got running server with Apache (and PHP5 and mysql) installed. Then I needed to update PHP to version 5.4.0 (at that time), so I run sudo apt-get update ...
0
votes
0answers
35 views

Xubuntu - give Apache access to user directory

I'd like to serve up a CakePHP website from a user directory: /home/myuser/Documents/project/app/webroot Everything I've tried results in 403/Forbdden when I try to access it via a browser. I've ...
0
votes
0answers
12 views

Apache compilation from source followed by php compilation as DSO and suphp. Pull up a phpinfo file under both configurations

I've followed all the steps specified here. I've done the following steps as per the link: Compile apache from source (using httpd-2.2.24.tar.gz, apr-1.4.6.tar.gz, apr-util-1.5.2.tar.gz) Compile ...
0
votes
0answers
24 views

PHPStorm comment line in css

I'm using PHPStorm when I edit websites. When I'm in the css files and I insert a comment line, it always show something like this: /**/ I want a comment line to be something like this, but I cant ...
0
votes
1answer
30 views

How to execute ffmpeg via php on Windows

This is my script: echo "Starting ffmpeg...\n\n<br>"; $cmd = "ffmpeg -i video.mp4 -ss 00:01:30.35 -vframes 1 img.png"; echo shell_exec($cmd); When I run it from CMD it works just fine but ...
0
votes
1answer
30 views

WinSCP files editing and checking in windows

I am new to PHP. I am using WinSCP to check through a few already existing files. I need to make some changes in a single file. I have made the changes but not sure how to check if the changes are ...
0
votes
1answer
34 views

How do I uninstall Apache on Windows 8, when there is no uninstaller?

I have Apache 2.4 and PHP installed, and I want to remove them in order to install WAMP. I can't find the Apache or PHP uninstallers, not inside any of the folders, and it's not even in "add/remove ...
0
votes
0answers
20 views

Trying to install sqlite through PECL results in phpize error

Running OS X Mavericks, trying to get the PHP libraries installed to interact with SQLite but end up with the following error: # pecl install sqlite ...
0
votes
1answer
47 views

Forcing SSL on phpmyadmin

I couldn't decide which website this question we be on (since I see it almost everywhere) so feel free to migrate. I've set up a self-signed SSL cert on my server to secure my installation of ...
0
votes
1answer
45 views

PHP-GD2 is activated, but doesn't create pictures

I have on my PC Ubuntu 14.04, Apache2 as webserver and PHP 5.5.9 as intepreter. I installed with APT the package php5-gd, restarted the server and checked if GD is active with: php -i | grep -i ...
0
votes
0answers
66 views

Wordpress update and install PHP Error - fileperms

this is my first question, and English is not my 1 language. My question is about my website http://noobcode.hostoi.com/ installed on Wordpress 3.9.2 . I upload files with Filezilla. Hosting – ...
0
votes
1answer
53 views

configure: error: Please install libyaml

I am following the installation of Basics of YAML Parsing in PHP to install YAML for PHP in Fedora 20. I went through all these steps: wget http://pecl.php.net/get/yaml-1.1.0.tgz tar -xvzf ...