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

Enable mysqli in my in-webserver copy of php

Note: this question is already here:http://stackoverflow.com/questions/31535173/enable-mysqli-in-my-in-webserver-copy-of-php But since i offered a bounty i cannot migrate it to serverfault. But it ...
-3
votes
1answer
26 views

Run Python and Php under same server

I am trying to run python on main domain and a wordpress blog in sub-directory. Is it possible to do so? Currently the they are running good in sub-domains i.e http://main-domain.com and ...
0
votes
0answers
8 views

Squirrel Mail - VAdmin Plugin - GDBM Error

I've got 'gdbm' installed on the server, Squirrel mail is installed and working, i'm trying to install the VAdmin plugin but keep getting this error; ERROR: Vadmin plugin requires dba handler "gdbm" ...
0
votes
0answers
10 views

A script to start live webcam streaming via Red5 [on hold]

I have a live webcam streaming app that has been using Red5 server and rtmp protocol. When I test oflaDemo (www.mydomain:5080/demos/publisher.html) I can see my streaming, so rtmp is ok. But, what is ...
0
votes
0answers
15 views

This code worked in PHP versions before 5.4 (current) - now it doesn't work [on hold]

I finally managed to get error logging turned on and am going through my PHP errors in the move up to version 5.4. I know enough PHP to be dangerous, but not enough to totally understand the ...
-1
votes
0answers
9 views

not able to call html form submit to form action through php in godaddy [on hold]

define('DB_NAME', 'abhis01_'); define('DB_USER', 'XXX'); define('DB_PASS', 'XXX'); define('DB_HOST', '182.50.133.88');
1
vote
0answers
5 views

Anonymous Authentication Identity Win 2012 r2 security

I have a web app that uses PHP on the back-end, and the PHP executes powershell scripts to reset AD passwords through system calls. EX: shell_exec("powershell.exe -file ...
1
vote
1answer
30 views

Allowed memory size of (whatever) bytes exhausted - Windows PHP

I have been trying to find advice on troubleshooting this issue for while but have been unable to find anything which relates to my situation. I am running PHP 5.6.0 on a brand new Windows 2012 R2 ...
2
votes
1answer
17 views

Launch file after PHP service restart/reload

Is it possible to execute a file after a regular PHP service restart ? service php5 restart I know that i can accomplish this like with service php restart; php -f /path/to/file.php but i don't ...
0
votes
1answer
34 views

What functions are preferred to be disabled to increase webserver security? [on hold]

I'm looking into securing my webserver additionally and thinking I could disable certain PHP functions to prevent potential issues. Could someone share some tips regarding this or guide me in right ...
2
votes
1answer
22 views

PHP/mail is sending emails to wrong mail server

Recently we have switched our email Exchange server from Intermedia to the Office 365. After that change web server (LAMP) is still sending emails to Intermedia. I have check dig MX for our domain and ...
0
votes
0answers
10 views

PHP PDO Drivers to access MSSQL DB from OSX 10.6 (snow leopard)

I've seen many a post but none make it clear or provide proof that MSSQL drivers are supported on OSX. So has anyone had any success in connecting to SQL Server using PDO Drivers? If so it would be ...
-1
votes
0answers
8 views

Difference of --enable and --with flag on PHP build from source

I am trying to build PHP from source bug it seems that in an example of .configure I see to flags which is --with and --enable what are the difference of these two flags?
0
votes
0answers
16 views

Combining .htaccess with http.conf to set https and direct all routes to index.php

I'm sure this question has been asked before, and I have tried to understand many of the answers given, however none of them seem to work with my particular set up. If the question can be answered ...
0
votes
0answers
8 views

ispconfig PHP not parsing on apache2 virtual host [on hold]

I have trouble installing ispconfig 3 on my (L)Ubuntu 15.04. I can fully install ispconfig but I can't reach the website when viewing the virtual host of apache2. I can open ispconfig from ...
-2
votes
0answers
20 views

iptables shell command from php, does not apply fully?

I run a shell script from php. shell_exec("/abs_path_to/lorem.sh"); When I run the script in Terminal # sh "/abs_path_to/lorem.sh", it works. The script consists in iptables rules. I checked it is ...
-1
votes
1answer
17 views

PHP session error: Failed to write session data (files)

I have a problem that I cannot resolve. All PHP sessions are stored in the directory /var/lib/php5/sessions/ and session files are stored there. But completely randomly I see the following error: ...
-1
votes
1answer
8 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
29 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
12 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 ...
-1
votes
0answers
18 views

Nginx with Python and Wordpress same server [duplicate]

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
vote
1answer
26 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
38 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
12 views

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

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
17 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
14 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
29 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
30 views

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

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

Safe way to access phpmyadmin on EC2 [closed]

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
18 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
36 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
35 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 ...
0
votes
1answer
35 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) ...
2
votes
0answers
31 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
41 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 ...
1
vote
1answer
22 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
22 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
44 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
40 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
34 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
149 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 [closed]

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
17 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
69 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
1answer
20 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
58 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" ...