PHP is a general-purpose scripting language that is especially suited for Web development. The online manual is an excellent resource for the language syntax and has an extensive list of the built-in and extension functions. Most extensions can be found in PECL.

learn more… | top users | synonyms

0
votes
0answers
3 views

Including PageAttachment Extension MediaWiki

I have an apache server, to run a localhost. I am trying to build-up MediaWiki. MediaWiki part was easy, but now I am trying to add an extension, PageAttachment. There is a configuration file, which I ...
-4
votes
0answers
24 views

A hacker changed my hosting password [on hold]

Im developing my own website from a template i bought from HTML5UP, my web is still under constructon, but it is uploaded to my server for testing. First suspicios things happend just after i bought ...
0
votes
0answers
9 views

install php with nginx [on hold]

I'm new to all things related to webservers. Until now, I used apache. But I want to give a try to nginx. So I decided to install it, alongside PHP. This are the steps I followed (I mention that I use ...
0
votes
0answers
13 views

Nginx with Python and Wordpress same server

I have a aplication with Python/Django running in www.mydomain.com. I want to create a blog with WordPress in the same server and I want my domain looks like this: www.mydomain.com/blog In nginx how ...
-1
votes
0answers
13 views

PHP 5 Build from source .configure for Magento 1 and 2

I am working on a VPS machine and I want to build PHP 5.5 from source. I am kinda having an OCD of what are the PHP extensions are needed to include so that my .configure so that I will able to run ...
1
vote
1answer
16 views

install sql server driver on ubuntu

I want to connect to sql server database which is placed on a remote server while my php code has been installed on an ubuntu server. I found that it needs to install sqlsrv driver or mssql driver ...
-1
votes
0answers
31 views

I can only access my wordpress site using IP address but not with domain

I uploaded a fresh copy of the latest wordpress 4.2.3 and uploaded it to a domain folder in /home/abc.com/public_html/ using Kloxo-MR file manager. After setting up the wp-config file and setting up ...
0
votes
0answers
10 views

How to install a PHP - PECL extension in Webuzo Server - Installation steps [on hold]

I have a Webuzo Server, tried installing a php extension following the steps given here.. but couldnt http://www.softaculous.com/board/index.php?tid=6034&title=Help_me_instal_pecl_apn apt-get ...
-1
votes
0answers
18 views

MultiCraft ascii codec error [on hold]

Im trying to get minecraft working on this server, but im getting this error when trying to start a new minecraft server instance through the program. Starting daemon 07.24 23:17:37 INFO ...
1
vote
0answers
16 views

Environment variables for PHP applications

A PHP application requires me to set several environment variables with things like database credentials, SMTP server, etc. Examples of variables include: ...
0
votes
1answer
12 views

How to point domain/path to a different folders inside the DocumentRoot

I have Apache 2.4 installed on Windows Server 2008. This server is dedecated for one site only i.e. https://subdomain.example.com all my files that will be executed when a user reach ...
0
votes
0answers
8 views

dnsmasq, dynamically add addresses?

Is it possible, with dnsmasq, to dynamically add/remove addresses ? For instance, executing a script from php (it's maybe bad, but theorically, is it possible ?) to add: address=/altern.org/100.2.3.4 ...
1
vote
3answers
28 views

How do I replace self compiled packages (php, mysql, memcahed) with yum version in centos6.5

I have at least 5 development servers (dev, QA, staging) that have php and other packages compiled from source. I would like to remove all of them and update those servers with yum packages. If I can ...
-1
votes
0answers
29 views

User logged in can't access .php files [on hold]

I'm using a Web server with xampp. I wrote a .htaccess to block access to the folder where my php files are. However, when a user is logged in my website, I can't access the php files. Is there any ...
-1
votes
0answers
15 views

Safe way to access phpmyadmin on EC2 [on hold]

I have a website hosted on a xampp server on ec2. How can I grant permission for a specific user or IP to access phpmyadmin ?
0
votes
0answers
13 views

E: Unable to locate package php5-apcu

trying to install APCu on Ubuntu: apt-get install php5-apcu Getting an error: E: Unable to locate package php5-apcu Following someone's suggestion I added: deb http://packages.dotdeb.org ...
-1
votes
1answer
34 views

PHP/APACHE and MySQL SERVER Setup [duplicate]

I'm about to setup a server hosting MySQL, Apache/PHP, File Uploads, and probably CCTV Storage. Planned Personal Server Specifications: ASUS H97M-E INTEL i7-4790 2 x 4GB 1600MHz RAM ...
0
votes
1answer
31 views

After upgrade of NGINX and PHP-FPM, PHP stopped working and there is no error anywhere

PHP-FPM is running, NGINX is running. NGINX does read the socket for PHP-FPM. I stopped PHP-FPM and I got bad gateway error. However, nothing gets displayed. I have checked nginx/error.log and ...
-1
votes
1answer
35 views

PHP applications worked fine on Godaddy dedicated server (which failed), now don't work at all on shared Linux hosting [closed]

The drives on the dedicated server we had with Godaddy failed (according to them) and we ended up having to get shared Linux hosting for two sites we needed up ASAP. Godaddy copied all the files over, ...
0
votes
1answer
31 views

Installed new version of php but Apache still using the old version

I manually installed php 5.4 on Ubuntu 10.04. The old version was 5.3.2. Now if i check the php version it shows 5.4: max@ubuntu:/etc/php5$ php -v PHP 5.4.0 (cli) (built: Jul 21 2015 14:04:16) ...
0
votes
0answers
48 views

Upgrade PHP 5.5.x to 5.6.11 on windows 7 manually [closed]

I'm trying to upgrade my existing PHP 5.5.x to 5.6.11 on windows 7 manually. I'm not interested in XAMPP for now. PHP 5.5.x is currently installed and works fine locally on my machine i.e. ...
2
votes
0answers
29 views

Server “shows signs of being infected” - how to resolve email blacklisting

I help manage 178.32.51.182 and noticed we were getting bounced emails because of several blacklists those are: CBL FABELSOURCES Spamhaus ZEN so I checked the first blacklist here: ...
0
votes
0answers
3 views

Apache2.2-PHP include from root folder [migrated]

I currently learning HTML, JS and PHP all at the same time (cus why not?) And implementing the header.html in PHP is not so fun. It works on the main page or "index.php" by just adding: <?php ...
0
votes
1answer
37 views

Stop Apache from spawning 100's of processes

Context: I have a video game client that requests a php page from the server to process user logins. This happens in a loop (terrible) and is therefore making MANY requests, per client. I plan to fix ...
0
votes
1answer
20 views

Apache ForceType / SetHandler not responding as expected

I am trying to force apache to handle a file (or directory of files) as php regardless of file extension. The link to the file should be as follows, Http://mysitehere.info/sig2/name.png I have ...
-1
votes
1answer
18 views

Having issues installing Pecl Phar package - make failed

On Centos 6, php 5.5 I am trying to install the PHAR package with PECL. During the installation I get an "make failed" error: creating libtool appending configuration tag "CXX" to libtool configure: ...
1
vote
0answers
37 views

Install PHP7 from Remi repo

I installed PHP7 from Remi repo with sudo yum -y install httpd sudo yum -y install epel-release wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm sudo rpm -Uvh remi-release-6*.rpm ...
0
votes
2answers
39 views

Nginx. Config two sites on the same port

I'm trying to add a wikimedia site on my server, which already has another site (which doesn't use PHP) on it. I want to put it on a different folder like www.hostname.com/wiki but it would be ...
0
votes
0answers
28 views

How do I enable opcache php 5.6?

I added the zend_extension=opcache_location line to php.ini. However when I ran php -m it says that the Zend framework too new for the extension to run on. So I tried to download the latest one ...
0
votes
1answer
111 views

Yum: php55w-common conflicts with php-common-5.4

I am trying to install mysqli on a CentOS machine using yum install php-mysqlnd.x86_64 on the command line but I keep getting the message: Error: php55w-common conflicts with ...
-1
votes
1answer
14 views

`PHP Not Running` Error [on hold]

I've successfully completed installing a LAMP stack on my brand new CentOS 7 VPS setup. After that, I went on and started installing Wordpress. Everything went fine in the terminal but when I visited ...
0
votes
0answers
15 views

PHP allow_url_fopen seciurity risks

There is theory (among some admins) that allow_url_fopen will put your server at risk because you can include external scripts (prior to PHP 5.2.0). Since PHP 5.2 there is different option ...
3
votes
1answer
62 views

/usr/bin/host executed by hacked PHP script

Today I noticed unusual high request rate on Apache webserver and also quite high incoming network traffic. Upon checking Apache's mod_status page, I found the offending URLs to be from path ...
-2
votes
0answers
17 views

Ubuntu Server; Email from PHP stopped working

I currently have a VPS server running Ubuntu. I have used this server for a while and have was using the built in mail function for PHP. Now for reason, emails are no longer sent. According to PHP, ...
0
votes
1answer
49 views

Out of memory for Wordpress sites on cPanel Nginx Hybrid VPS

I have a cPanel Hybrid VPS below are the specs: CPU (16 Core Xeon) dedicated 4GB Guaranteed RAM (dedicated) 6GB Burstable RAM 1Gbps Port Speed Installed cPanel and NginxCP All sites on server ...
-2
votes
0answers
16 views

email goes to spam when email body contain a anchor tag [duplicate]

i am facing a problem about email sending with a module named phpmailer. the problem is that, when i am tying to send a email contain a anchor tag as like <a href="example.com" ...
-1
votes
0answers
23 views

Apache webserver configuration/access to only index.php

I'm trying to the below with Apache/2.4.6 (CentOS) webserver installed using yum. I've got my php pages served from /var/ww/html/project1 index.php is a symbolic link that points to a login page ...
1
vote
0answers
77 views

Why do I get an OpenSSL Error when connecting PHPMyAdmin through SSL?

I'm running PHP 5.6.11 on Apache 2.2 with OpenSSL 1.0.1 on Ubuntu 12. I've sucessfully setup SSL in Apache and MySQL. Now I want to set up a PHPMyAdmin and connect it through SSL. I don't really need ...
0
votes
1answer
70 views

Can't connect to mysql using ssl with compiled php [closed]

I have been bashing my head against a wall for a couple of days now. I just cant figure it out. I Run ubuntu 12 with plesk 12 and apache 2.2. I have tried compiled PHP 5.6.10 and PHP 5.6.11 with ...
6
votes
7answers
473 views
+500

Multi-site hosting - important vulnerability being missed to secure sites from each other?

EDIT #2 July 23, 2015: Looking for a new answer that identifies an important security item missed in the below setup or can give reason to believe everything's covered. This is multi-site / shared ...
1
vote
1answer
35 views

Issue with local php fopen scripts returning 404 on CentOS

I'm having some trouble today with php scripts running on our server which use file_get_contents or similar fopen functions. I think this is an openssl or firewall error but I'm quite new to server ...
-1
votes
0answers
15 views

Schannel Fatal Alert 48 from failed LDAP connection over TLS, but Domain computers only [duplicate]

So I am setting up a service using PHP and it's LDAP functions to edit AD user accounts. I want to change account passwords and that requires an encrypted connection, so I use TLS. Now here's where ...
0
votes
0answers
27 views

php.d/*.ini files loading for root but not other users (CLI)

Using PHP from the commandline, as root, everything in the php.d/ directory is loaded as expected: root@tlsv2-eepweb-01:/home/web>php --ini Configuration File (php.ini) Path: /etc Loaded ...
0
votes
0answers
20 views

Using PostgreSQL at web host, editing pg_hba.conf

I have a domain at HelioHost.org, where I want to connect to a PostgreSQL server, which they supposedly support. But I get the following error message when looking at my PHP files in Firefox: ...
0
votes
0answers
25 views

Can you set up a reverse proxy to forward requests based on request content and/or parameters?

I'm trying to set up a reverse proxy that forwards requests to different servers based on content in the body of the request itself. For example, if the request has a parameter 'type' = 'A', I'd like ...
-5
votes
1answer
31 views

File not found when using PHP [closed]

Problem: PHP is not working right. My html file asks for a name and then calls the PHP will display a "Hello" message. What is happening is on the htm page I am putting in my name and hit go then ...
3
votes
0answers
40 views

LDAP over TLS fails to connect, Schannel Alert 48

I am trying to use PHP to edit users in active directory through LDAP. My test machine is using a simple WAMP setup and is NOT connected to the windows domain. This machine can connect to LDAP on the ...
0
votes
1answer
38 views

unable to find driver - lamp debian

This is my php sample script: <?php try{ $db=new PDO('mysql:dbname=_mydb;host=localhost', 'root', 'xxxxxx'); }catch(PDOException $e) { echo "Error: ".$e->getMessage(); } ?> And I ...
1
vote
1answer
18 views

Debian, kill java by it's jar name?

Okay, I am going to be running two java application on the same VPS one will be running nearly all the time. The other one will not need to be. I am wondering if there is away to kill java based on ...
0
votes
0answers
15 views

PHP extension wont load after installing MPM-ITK

I installed Phalcon on my dedicated server and everything was perfectly fine untill I installed MPM-ITK to host multiple sites with multiple users. After installing MPM-ITK phalcon is only loaded in ...