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
11 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; ...
0
votes
0answers
29 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
0answers
5 views

Php server-to-server request Not working [on hold]

I have two webservers (www.serverA.com and www.serverB.com) and I wantend to have one to them making requests to another. Im using HttpRequest2 php library to do that. When I make a GET request to ...
0
votes
1answer
26 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
10 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
11 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
18 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
28 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
23 views

How to use .htaccess and .htpasswd for selective redirects & passwords

In my /var/www/ directory I have many directories some like: /var/www/impdata/ /var/www/data/ So can I achieve this: When I go to: www.websitename.com/data/ it should give an 404 error. And when ...
0
votes
0answers
13 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
26 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
8 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
42 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
17 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
24 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
23 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
35 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
14 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
0answers
5 views

MYSQL ORDER BY THEN ORDER BY CASE Issue Wordpress [migrated]

I have a list of movies where the year and imdbTitle are stored in postmeta. I need to sort By year By imdbTitle and post_title by relavence to the search "the rundown" By post_content Here are ...
0
votes
0answers
13 views

Is there a good internet Instant message service that can send to a group of people via an API? [migrated]

I'm in charge of a group of people (500 pilots) who by the nature of their jobs are continuously in multiple countries each day. On semi-regular occasions (once/twice a week) I have to send these ...
0
votes
1answer
49 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 \ ...
-1
votes
0answers
7 views

Display out of stock products not working magento 1.9 [migrated]

BE -> Configuration -> Inventory -> Display out of stock products = No I have re-index'd I have cleared cache For some reason however it still displays in search & category lists - I have ...
0
votes
1answer
49 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
51 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
12 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
32 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
30 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
15 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
0answers
60 views

Is this spyware on my site or a real Java update? [migrated]

I run a small WordPress website for the wife http://craftybluefox.com I keep getting this java update box poping up only on her site and looking at the links they go to somesite ppv2014.info which ...
0
votes
1answer
60 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
12 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
24 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
37 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
1answer
59 views

All websites infected with PHP Malware. What to do now? [closed]

Theres around 45 websites hosted on a Ubuntu Linux server here which has been infected with a nunmber of viruses due to bad security on the servers. I believe that a chmod of 777 in various folders ...
0
votes
0answers
13 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
30 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 ...
0
votes
0answers
314 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
116 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
51 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
69 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
72 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
5k 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
148 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
628 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
171 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
52 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
23 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
51 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
71 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
15 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 ...