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

how to go to new server i just created - WAMP

I downloaded and installed wampserver and created a new server with password protection in http://localhost/phpmyadmin/setup/ after then I saved it and then went back to ...
0
votes
0answers
56 views

CentOS hhvm hphpize

I've installed hhvm 3.5 on CentOS 6.5 and I need mongo in it. So I'm trying to install proper extension but, it seems like my hhvm is missing hphpize needed for compilation, how should I install it? ...
0
votes
0answers
14 views

Safari won't open signnow

My website allows users to use SignNow application in <iframe> window. It Appears to work just fine on all browsers except for safari, specifically on ipad. signow crashes loading document. ...
1
vote
1answer
44 views

Connect to MySQL in VirtualBox Ubuntu

I have this code on my PC (Windows), calling a database from an Ubuntu Virtual Machine with host-only network. I'm using VirtualBox for the Ubuntu Machine $ipHost = "xxx.xxx.x.xxx"; $nombreUsuario = ...
0
votes
0answers
32 views

mod_security: Disable empty user agent checks for specific requests

I am using Ubuntu 14.04 LTS server and Apache 2.4.10 with mod_security installed. I have integrated an API from Exotel (a cloud telephony system), that calls my php script url whenever i get an ...
0
votes
1answer
214 views

How to configure phpmyadmin under Ubuntu

I've installed LAMP but when I put in apache.conf this line as is in instruction Include /etc/phpmyadmin/apache.conf and trying to restart apache I get follow error: ~$ sudo /etc/init.d/apache2 ...
0
votes
1answer
64 views

How to configure SPF and DKIM to prevent mail going to spam folder

x-store-info:4r51+eLowCe79NzwdU2kR0zqpsRfiBoycNOl1Rdc4Wf7430jtHWQcYIrKJBAYArutl6yTQ5VQNWAmHikfoeKC6OfxZYs5RQXt5EONp5Fb+tgLbPo7J+jhd2D/FrCdQyzXUlVTtfPnBo= Authentication-Results: hotmail.com; ...
3
votes
1answer
143 views

weird behaviour with forever, bash, apache and php

I'm running some node.js scripts with forever. I started them as www-data user (i.e. via ssh logging as www-data@server and typing forever start myapp.js, etc.). Ok, everything goes like a charm; my ...
0
votes
1answer
105 views

Prevent access to my PHP page source?

If I publish a PHP page (e.g. mypage.php) on my hosted web space (the URL of the PHP page is publicly known, e.g. http://example.com/mypage.php), can a hacker access in some way the PHP source of this ...
0
votes
1answer
58 views

nginx php can't write files on centos machine

I have this PHP code: <?php $myfile = fopen("testfile.txt", "w") ?> And the following permissions in my '/usr/share/nginx/html' directory drwxrwxrwx. 3 root root 4096 Nov 20 08:51 . ...
0
votes
0answers
33 views

/sbin/php-fpm works while /bin/php doesn't

Compiled php 5.6.3 on centos with the following ./configure: ./configure \ --with-zlib-dir \ --with-freetype-dir \ --enable-mbstring \ --with-libxml-dir=/usr \ --enable-soap \ --enable-calendar \ ...
0
votes
0answers
23 views

How to make folder always writeable by apache?

I want to make a folder always writeable by php. I changed the folder permission temprorarly to 777, but the content of the folder is uploaded by a ftp user, so every time I re run the script I get ...
0
votes
0answers
145 views

XAMPP Windows Server 2012 R2 and IIS - Port 80 in use

Configuration: Windows Server 2012 R2 Standard IIS 8.5 XAMPP 1.8.3 5 VC 11 Httpd.conf Listen 8080 ServerName localhost:8080 PHP.ini - extension added extension=php_sqlsrv_55_ts.dll; IIS ...
0
votes
0answers
27 views

PHP in Xampp Windows with ZTS support

i would like to add ZTS to PHP bundled in latest Xampp distribution on Windows. I need to use pthreads for a project and don't know how to do it. What's the way to enable both? Thank you very much
0
votes
0answers
103 views

How to install/run phpize along with xampp?

moving ahead with this question I want to ask queries 1. Do I need to install php5-dev separately when I have already installed xampp on my ubuntu 14.04? wheras phpize is listing inside ...
0
votes
0answers
19 views

cpanel exim mails go to spam

I installed Cpanel on my server, and no matter what I try, maill always goes to spam folder. and unless I use -f option, the mail is shown from username@serveraddres (someuser@vpsxxxxx.ovh.net) I also ...
1
vote
1answer
353 views

Apache loading PHP module - undefined symbol: unixd_config

I'm configuring a new web server on a RedHat 6.5. I try do enable the php5 module on Apache 2.4.6 as following: LoadModule php5_module /usr/path/to/libphp5.so AddType application/x-httpd-php .php ...
0
votes
0answers
39 views

'git status --porcelain' failed in submodule

Whenever I try to commit I get these errors: error: bad index file sha1 signature fatal: index file corrupt fatal: 'git status --porcelain' failed in submodule amazon-s3-php-class Why? What's ...
1
vote
1answer
52 views

Executing PHP file from command line with dynamic parameters

I need to run one script which will take one date as an argument. It is configured using cron to run on a daily basis, but I need to run it for a time range now. The issue is that this will fetch all ...
0
votes
1answer
47 views

Notepad++ syntax highlighting sql within php file

I love Notepad++, partly because of its syntax highlighting: in a .php file, it will highlight <script> blocks as javascript, <style> blocks as css and <?php blocks as php. Ideally ...
0
votes
2answers
54 views

Make-Life-Easier App for PHP Programming [closed]

Is there such an app out there that will allow me to see the parsing of a PHP script (or directory of files) in real time? Thinking of the process of going through line by line of code as a movie, I ...
0
votes
0answers
15 views

How to add PHP (and other custom logs) to Server Manager in Windows Server

Server runs on Windows Server 2012 R2 Datacenter with 9600 (Windows 8) and uses Server Manager application as central place of all server activities. After installing Apache as service it's logs show ...
0
votes
1answer
74 views

PHPFarm with jpeg integration

So I'm attempting to get phpfarm up and running, but for some reason can't get jpeg support from gd to work... Here are my config options configoptions="\ --enable-bcmath \ --enable-calendar \ ...
0
votes
1answer
57 views

cronjob not uploading to FTP

i have a php script that should take a file from one web server and upload it on another, when i run the script through a browser it works fine. when i use this cronjob it doesn't upload. 51 14 * * * ...
0
votes
1answer
62 views

Secure PHP in user directories

I'm a sysadmin for a small server at my university, which is used by students to experiment and run long jobs at their will. I enabled PHP in user directories so they could experiment with websites ...
0
votes
0answers
13 views

Is it possible to change php settings from the command line?

I have a vagrant controlled environment that uses a base box I don't have control over and is a near replica of our production servers, I do have control over the provisioning scripts, however, and ...
0
votes
0answers
107 views

How to connect to mysql database on a remote server behind a vpn requiring an ssh tunnel from another remote server using php?

I need to connect to a mysql database with php from a remote server. The mysql database is on another server owned by me. On the mysql server, the only permissions I have is to read and do database ...
0
votes
0answers
83 views

How to configure WAMP with a DocumentRoot on a mapped network drive?

I'm trying to set up WAMP server on a local machine so a PHP script on a mapped network drive can be executed, either from the local machine or from any other machine that's also mapped to that drive. ...
0
votes
0answers
45 views

Php-cgi Server Load high Every Single Visit

I Get Big Big Problem I Am Using Virtual-min in My Dedicated Server My Server Configuration IS Intel Xeon E3-1230 3.20Ghz RAM:8GB Bandwidth:1Gbps I Am Using Varnish And NGINX I See Carefully ...
0
votes
1answer
118 views

Is my router/modem hacked or compromised?

Comcast gave me a gateway (Model: Arris TG862G/CT), and I was in the web interface setting up a static IP. I clicked Connected Devices (which has worked previously) and I got a blank white page (the ...
1
vote
0answers
14 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 ...
2
votes
1answer
27 views

Linux : Setting which php bin to use in CLI

Hi i'm trying to use php command in linux. However I have two installations of php, one I got from the sudo-apt-get and one from a stack, Lappstack. Don't ask how I got there, but nevertheless i'm ...
1
vote
1answer
106 views

How to remove error “Warning: ini_set() has been disabled for security reasons”, *without* enabling ini_set?

I don't want to turn on ini_set() for security reasons. So per CSF's recommendation, I did add it to be unset. However, a drupal site gives this error, but I want to remove the error (or hide it) ...
0
votes
0answers
18 views

Changing Pecl installation directory

Hi i'm having trouble with pecl installation, the problem i'm having is i'm installing gearman , and i'm now at the stage of installation of the pecl PHP extension. it should be a simple as executing ...
1
vote
0answers
72 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
524 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 ...
0
votes
0answers
214 views

How to install Horde Webmail on Ubuntu 14.04?

Am using Ubuntu 14.04. Am stuck with the following issue: My goal is to install and have running HORDER GROUPWARE 5.2 on my Domain/Hosting: Download on Github: https:// github ...
0
votes
1answer
123 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
313 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 ...
0
votes
1answer
229 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 ...
4
votes
5answers
6k 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
vote
0answers
205 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 ...
13
votes
1answer
650 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
1answer
429 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
81 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 ...
1
vote
0answers
36 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
102 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
2answers
232 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
42 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
55 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 ...