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

issue with install ImageMagick on centos6.5/php5.4 — Unable to load dynamic liberary

I want to install imagick on centos6.5/php5.4 I did all step of this tutorial: https://www.vultr.com/docs/install-imagemagick-on-centos-6 But finaly aftet suscess install I get error with this ...
0
votes
1answer
24 views

PHP - Does it replace the index?

PHP is a mystery for me. In the FTP main directory of my website, I uploaded 2 files: a.txt and b.txt. If I enter my website address in my browser I can view both a.txt and b.txt. However when I ...
0
votes
0answers
6 views

enhancing Aptana to provide better hints about PHP errors

I use Aptana for web developement and writing PHP, Javascript, HTML, CSS and SQL codes and programs. One missing feature they really bothers my is that when you write a line of code that has a syntax ...
-5
votes
0answers
15 views

Admin and customer can not receive email after new order is arriving wamp localhost [closed]

system->configuration->sales->sales email Enabled=yes New Order Confirmation Email Sender=Sale representatives New Order Confirmation Template=New order(default template from locale) New Order ...
-3
votes
0answers
13 views

developing SMS based system to query database [closed]

I have to develop SMS based application. In which, sms sent as cost ItemName will return the cost of the item from database. I have to setup entire system from procuring the number to setting up ...
-5
votes
0answers
15 views

The requested URL /info.php was not found on this server found while running info.php file [closed]

I read your post on how to manually install Apache,PHP and MySQL. I am using windows 8.1 version i followed each of your steps precisely, but i am not able to execute the info.php file in my browser. ...
0
votes
0answers
18 views

Installing zend-server php 5.3 on debian 7.x using chef cookbook

When trying to install zend server (6.3) with php5.3 on debian 7.x (wheezy) using the zendserver cookbook for Chef I get the following error: (needs to be php5.3 because of old code in PHP ...
0
votes
0answers
22 views

CentOS Web Panel CWP Apache php scripts not working

I have installed centos web panel on my centos6 server, CWP on my HP Proliant G8 server. I installed it as localhost web server. I put php.info script in public_html folder, and it doesn't work in ...
1
vote
2answers
9 views

Show All Results From One Table Not Listed In The Other (Junction) Table By :id

I have 2 tables I'm interacting with. The first table: acl_permissions (is just a normal table). +-----------------------------------+ | acl_permissions | ...
0
votes
0answers
37 views

Apache on CWP web panel

I have installed centos web panel on my centos6 server, CWP on my HP Proliant G8 server. I installed it as localhost web server. I put php.info script in public_html folder, and it doesn't work in ...
1
vote
0answers
18 views

PHP running slow on Plesk 12 Windows VPS, IIS7.5, 6 cores, 6gb RAM [migrated]

I am having an issue where PHP is running very slow on my Plesk 12 Windows VPS. Its a high end VPS with 6 AMD Opeteron (2.4ghz) cores and 6gb RAM. The server runs Plesk 12 on Windows Server 2008 R2, ...
0
votes
1answer
17 views

Low TPS using Virtualbox + Ubuntu + Nginx + PHP-FPM + Silex

I am trying to understand why I get such a low TPS rate on my development environment. I am using the following: Mac OS X Mavericks VirtualBox Ubuntu 14.04 Nginx PHP5-FPM Silex I did not tweak ...
0
votes
0answers
8 views

Low TPS using Virtualbox + Ubuntu + Nginx + PHP-FPM + Silex

I am trying to understand why I get such a low TPS rate on my development environment. I am using the following: Mac OS X Mavericks VirtualBox Ubuntu 14.04 Nginx PHP5-FPM Silex I did not tweak ...
0
votes
1answer
41 views

Cannot install PECL ev package(OS X Yosemite)

I am trying for an hour already to install the g..amn ev package so I can use EvTimer in php but with no success. I am running sudo pecl install ev in terminal but I get the following error. /bin/sh ...
0
votes
0answers
17 views

Find issues in PHP site hosted under Nginx and PHP-FPM, no log error

I'm setting up a Wordpress site under Nginx 1.6.2 + PHP-FPM (PHP 5.5.18). This is the configuration for WP site: server { root /var/www/html/jurisprudencia.dev; index index.php ...
-1
votes
0answers
21 views

Windows 7 and xampp - unable to read My Documents - 403 Access forbidden

This is driving me crazy, please help. C:/xampp/apache/conf/extra/httpd-vhosts.conf # This one works perfectly <VirtualHost *:80> DocumentRoot "C:/xampp/projects/test" ServerName ...
0
votes
0answers
17 views

How to enable php extention in centOS 6.5 with php 5.5

I have installed ffmpeg extension using this tutorial in Cent OS 6.5 with PHP 5.5. When I check with # ffmpeg command in terminal. it shows me following output ffmpeg version 2.2.1 Copyright (c) ...
0
votes
0answers
33 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
12 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
23 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
15 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
74 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
26 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
126 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
59 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
32 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
21 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
21 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
59 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
19 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
54 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
14 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
139 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
27 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
34 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
32 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
61 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
51 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
56 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
58 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
49 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
22 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
91 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
13 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
26 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
66 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
94 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 ...