PHP is a widely-used general-purpose scripting language that is especially suited for Web development.

learn more… | top users | synonyms

0
votes
1answer
2 views

apt-get install libphp-phpmailer not including class.phpmailer.php

I am installing PHPMailer on a Ubuntu 14.04 LTS server. I ran the command apt-get install libphp-phpmailer. It installed the files under usr/share/doc/libphp-phpmailer as expected. However, it is ...
0
votes
1answer
8 views

Apache/PHP cannot save to the public_html

Apache and PHP are running as nobody user and group. public_html folder is set to: drwxrwx--- 11 myuser nobody 4096 Feb 11 14:39 public_html/ but when Apache and PHP (via Wordpress) tries to ...
1
vote
0answers
20 views

OCI8 extension not loading in PHP 5.4, CentOS 7

I have a CentOS environment running as a VM guest. It runs and Oracle 12.1 Database, along with PHP 5.4.16, on Apache 2.0. I've gone through the installation steps to ensure that the correct OCI ...
0
votes
0answers
36 views

phpmyadmin Fatal error: Uncaught Error: Class 'SqlParser\Lexer' not found

I'm a new XAMPP and phpmyadmin user and I don't know many things about networks etc but I am trying to install XAMPP to use phpmyadmin and learn to use it. The issue is that it was working fine at ...
-3
votes
0answers
20 views

I can't receive e-mails sent from my website's e-mail form [closed]

I created a contact form for my website using php, I want the information entered in that form to be emailed to the address assigned to the form. But I can't receive the information. I don't know if ...
0
votes
0answers
11 views

Is mod_xsendfile not compatible with Apache 2.4

I asked my VPS hosting provider to install mod_xsendfile. Here is what I got in response: "I am sorry that I forgot to respond about mod_xsendfile. My research shows that the module has not been ...
1
vote
0answers
29 views

Set up MediaWiki to host more than one wiki

I'm working on Ubuntu and have no experience in about PHP or Apache. Now I want to setup wiki-family. I looked to Manual:Wiki family. There are some steps to do that. I could do first 5 steps but 6th ...
28
votes
8answers
18k views

How do I easily highlight the syntax of PHP code in Word?

How do I easily write and syntax-highlighted PHP code (or any others programming language) in a Word 2009 document?
1
vote
0answers
14 views

Unintended multiple PHP versions on OSX

For an application i'm making i need the PHP stats functions. My OSX (10.11) came with the default PHP 5.5, but i needed 7.0 to install the PECL stats package so i updated my local PHP version to ...
1
vote
1answer
29 views

Execute an SSH command with the Apache2 www-data user

I'm working on a virtual machine project where I use two servers, let's call them server A and server B, both with Ubuntu 14.04 LTS installed. Server A runs web server Apache2 with a website where ...
-3
votes
0answers
15 views

VPS CPU HIGH LOAD

I got new vps with 256 MB RAM, 1 CPU core. I have few test php/mysql backend scripts, which is run by cronjob. But while running,i found that cpu usage are getting high to 10, and memory fulled. ...
6
votes
3answers
2k views

How can I enable readline for PHP 5.4 on Ubuntu 11.10?

I installed PHP 5.4 on my Ubuntu 11.10 PC like this: $ sudo add-apt-repository ppa:ondrej/php5 $ sudo apt-get update $ sudo apt-get install php5 It's working fine but I don't have the readline ...
0
votes
0answers
14 views

Integration of Rest API with XML data format in php [closed]

I have a XML format Rest API for hotels/flight search and bookings. The API documentation is available at https://sites.google.com/a/it.kcdataservices.com/rest-api/ however, it just has schema ...
0
votes
1answer
49 views

500 error on fresh Apache setup on Fedora 23. One file loads, and the other doesn't

Alright, I'm finding this slightly bizarre. So, most of my experience with Apache has been on an Ubuntu server install. But after my server's harddrive experienced a catastrophic failure (which I ...
0
votes
1answer
14 views

Is it possible to parse a zip file without extraction in PHP

I have 4 questions: Is it possible to scan the entire zip file and navigate inside it without extracting the entire zip using PHP? Will it be time efficient? i.e. I have a zip file of about 50GB ...
9
votes
5answers
23k views

How to rename multiple files in multiple folders with one command

We want to rename our *.html files to *.php but (sadly enough) have not enough knowledge to do it with a cmd prompt command and/or batch file. The problem is that each file is in separate folder – ...
0
votes
1answer
4k views

How to enable event MPM Apache 2.4 Ubuntu 14.04 with thread safe PHP?

I upgraded to Ubuntu server 14.04 expecting the default Apache installation would use the new event MPM, but instead I find the old memory-eating prefork. I've successfully set up event MPM in Arch ...
0
votes
1answer
3k 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
2answers
4k views

CURL Error version OPENSSL_1.0.1 'not found …'

I have the last few days, a concern with CURL. I get this error: curl: / lib/i386-linux-gnu/libssl.so.1.0.0: version `OPENSSL_1.0.1 'not found (required by / usr/lib/i386-linux-gnu / libcurl.so.4) ...
1
vote
0answers
100 views

Sublime Text: Why regex in syntax highlighting does not work?

In Sublime Text 3, a default syntax highlighting rule paints a SQL SELECT just fine if it's in the same line, but not if it's in the next line: vs After reading this question I opened the PHP ...
0
votes
0answers
11 views

Request default in Laravel 5.1 when none given not working

1 and I need to have a default request when none is given so the view looks like: <form name="search" method="POST" action="/s"> Country<input name="country" type="text"> ...
0
votes
1answer
149 views

Codeigniter Imagick warning on godaddy linux hosting

I am using godaddy linux cpanel hosting and install fresh copy of codeigniter . And getting the following error on each session. A PHP Error was encountered Severity: Core Warning Message: PHP ...
-1
votes
1answer
15 views

Prevent uninstalling phpmyadmin when uninstalling php

I have a centos 6 server and i want to upgrade my php version from 5.4 to 5.5 but as far as i know i need to uninstall version 5.4 first (most guides say so at least), when i type yum remove ...
1
vote
1answer
3k views

Failed to open stream: No such file or directory

I have made a backup of all archives from ftp, deleted them all them copied all folders to the same place. Now I got this error: Warning: require(/../private/shADMIN/fuel/app/bootstrap.php): failed ...
2
votes
1answer
8k views

apache 2.4 + php 5.4.7 cannot load php5apache2_4.dll

I am trying to make Apache (httpd-2.4.3-win32) to work with PHP 5.4.7 (VC9 x86 Thread Safe) on Windows 7. Apaches default page is working and proudly says: "It works". PHP CLI is working and ...
1
vote
0answers
86 views

Codeigniter libMagick Severity: Core Warning [closed]

I am using GoDaddy Linux cPanel hosting and install fresh copy of CodeIgniter. I'm getting the following error on each session. Each session means this message vanish after next refresh. But when I ...
0
votes
2answers
3k views

Convert PDF to JPG without Imagemagick

Is there a way to convert a common UTF-8 encoded PDF to a JPG without using ImageMagick or Ghostscript? The reason I'm asking is, that I have to replace or "simply" double layer a small part (date) ...
0
votes
3answers
3k views

How to Configure Adobe Dreamweaver CS6 with PHP and ASP .NET?

I have Wamp Server on my PC and also Visual Studio and I want to Configure Adobe Dreamweaver CS6 with ASP .NET and PHP so that I Can design Dynamic website....
0
votes
1answer
6k views

Curl returns “Connection Refused” when trying to access XAMPP via localhost

I am running XAMPP (Apache, MySQL and PHP) on my Windows Vista computer. I have curl installed on my machine. When I try to curl my localhost in the command prompt, I get the following: curl -v -i ...
0
votes
0answers
15 views

Why does GNOME have to be removed for PHP 7 on Debian 8 (Jessie)?

Just upgraded my VirtualBox VM's OS from Debian 7 (Wheezy) to Debian 8 (Jessie) and want to PHP from 5.5.x to 7.0.2. The simpliest solution seems to do this via the Synaptic Package Manager. So I ...
1
vote
1answer
23 views

How can I compress a jpg images for google insights optimisation

I m getting this error when tring to see the speed of my website in google page speed: Optimize images Properly formatting and compressing images can save many bytes of data. Optimize the following ...
0
votes
1answer
47 views

Error Installing MongoDB driver on XAMPP (OS X/El Capitan)

I'm not new to XAMPP, PHP, or MongoDB, but I'm new to Mac, so getting the PHP MongoDB driver set up is causing me more trouble than it probably should. When I try to run $ sudo pecl install mongodb ...
4
votes
3answers
5k views

How to log php error in a separate file?

I just did an upgrade of my server to Fedora 17 and merged some configuration files containing .rpmnew into the existing ones. I have been successfully logging my php errors in a separate log file by ...
1
vote
2answers
3k views

WAMP not executing PHP

My WAMP server is not executing PHP. I have already tried the following things: restarted just Apache restarted all WAMP services restarted the WAMP application restarted my whole system renamed the ...
0
votes
1answer
57 views
4
votes
2answers
4k views

How do I upgrade PHP on CentOS and Kloxo?

I need to upgrade PHP so that I can upgrade joomla on my dedicated server. I have: kloxo 6.1.6 php-5.2.17-1 Linux CentOS-55-64-minimal 2.6.18-194.32.1.el5 x86_64 x86_64 x86_64 GNU/Linux I searched ...
1
vote
2answers
13k views

How to fix: “phpMyAdmin - Error Cannot start session without errors”?

When I try to login to PHPmyadmin I get the following error: phpMyAdmin - Error Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your ...
2
votes
2answers
1k views

What is PHP's Memory Limit?

I am learning about web hosts and how to create a large website (eg. a learning platform). Is PHP Memory Limit some "RAM Memory" of a Server (like the RAM memory of my computer?) or just some kind of ...
1
vote
1answer
120 views

After upgrading PHP to version 7, why can't I use the mongodb driver?

Well here's an odd situation I've found. I've been using PHP and MongoDB together on a project, and updated the associated software. After the upgrade, I did make sure to update the new conf files and ...
2
votes
1answer
3k views

How to change cygwin hostname

I'm just searching for a way to change the default Cygwin host name. I need to change the Admin@deluxe ~ part and replace it with something else.
0
votes
0answers
120 views

Unable to install php mongodb driver on Ubuntu 14.04 LTS

I have been trying to install php driver for mongodb on Ubuntu Linux 14.04 LTS. Tried to install as follows : sudo pecl install mongodb output is No releases available for package ...
0
votes
1answer
39 views

How do I determine what's making the web server so slow (Apache)

I'm running Apache 2.4 (64bit) on a Windows server. It also uses MySQL 5.7 on the same server. It has been very, very slow recently to come up, but when I look at the access logs, there are very few ...
0
votes
1answer
3k views

PHP mail() function not working in Mac OS X

I did follow all the links given in this post, nothing worked out. Please explain me why PHP mail() does give so much problem? what exactly happening and why it will not work? I am using Mac OS X ...
3
votes
1answer
24 views

Pass arguments from script to PHP interpreter is not working with quotes, why?

I need to create a wrapper script for PHP interpreter (already in PATH): #!/bin/bash # This is a wrapper for the PHP interpreter. # # We prepare the enviroment for SQL Anywhere PHP extension sourcing ...
0
votes
0answers
14 views

How can I set xdebug.max_nesting_level to inlimited

I have sold a VPS server. I want to set xdebug.max_nesting_level to inlimited. I contact the support and they told me they can't find it. I can set it to inlimited in my local server. Please help.
0
votes
0answers
17 views

How can I minimize memory usage in WHM in order for PHP FileInfo to compile?

I have a VPS running CentOS 6.7 with WHM 11.52.2. I'm trying to run EasyApache 3 to add FileInfo for PHP 5.6.16 but I keep running out of memory (it uses about 440MB out of 1024MB when idle). What ...
0
votes
1answer
28 views

Populate command line from script

I have a PHP script that goes through a lot of complication and, in the end, produces a command for the user to run. Right now, it prints the command and then quits. The user has to copy the command ...
0
votes
2answers
2k views

Errors with a phpMyAdmin install on CentOS 7

Well, I was trying to install phpMyAdmin on CentOS 7 (64bit) and this happens. Here is a Pastebin of the output from yum install phpmyadmin because can’t get code thing to work. [root@ftb ~]# yum ...
0
votes
0answers
17 views

trying to connect ami with another ami postgresql

i have php 5.6.14, apache2, moodle 3.0 (server 1) | postgreSql 9.3 (server 2) but I have already set this error moodle. Error: database driver problem detected The site administrator ...
2
votes
1answer
147 views

Can't Compile PHP 5.6.12 on Windows 10

I setup a PHP build env as windows.php.net suggests, with php-sdk & the build tools. So I know it's not the enviroment. However, when I attempt to run my script to compile PHP: call buildconf.bat ...