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

store mysql database details in linux

I have a test server and live server which has all the files the same (a cio) except I want to connect to a test copy of my msql database on the test server. How secure would it be to have a ...
0
votes
0answers
172 views

Raspberry Pi as server - stuck with users and groups

I just installed an apache2 server with php5 and mysql on my RPi (Raspbian Wheezy). I followed this tutorial: tutorial link Everything went well, even the file transfer via FTP (FileZilla). I ...
0
votes
0answers
33 views

Bizarre lag in HTTP connection

Running on a LAMP stack, CentOS 6, Apache 2.2.3, PHP 5.4.25, MySQL 5.5.31 Have a very complex web application. It's been running pretty smoothly for about 5 years, now. Of a sudden we've run into ...
0
votes
0answers
232 views

Short URLs not working with MediaWiki on nginx

I've been trying to configure Mediawiki Short URL's with nginx, but I keep getting 404 errors when trying to access the pages of my wiki. I followed this guide but changed location / to location ...
0
votes
0answers
26 views

Metronic image tag issue on safari

Metronic theme image tag issue on safari. image tag doesn't show image when it will selected on add or selected time but in edit time it was show image.
0
votes
0answers
123 views

Somehow PHP mail() is not working but webmail is working on VPS

I'm using a vps with zpanelcp installed. Everything was working fine. But somehow all mailing capabilities using PHP mail() is not working. But Roundcube is still able to send mail perfectly. I ...
0
votes
0answers
130 views

nohup process commands to detect if process is still running and if not, re-run process in lamp stack

I am running nohup to keep a php script running in the background. Is there anyway to ensure the process keeps running? Is there a command that can check to see if the process is still running and if ...
0
votes
0answers
26 views

Why isn't Apache starting on xampp

Sorry, I searched a lot and i know that there are lots of posts reporting problems like this but none of them helped me. I installed xampp on Windows 8 but when I click to start apache it doesn't ...
0
votes
0answers
115 views

how to get php executable path file of a system remotely?

I want to debug php codes and I am using zend debugger in Eclipse environment and I have a remote server access(ftp). I used PHP_BINDIR to find out about the path file of the php executable file: ...
0
votes
0answers
18 views

No debug menu for php in Eclipse

I'd like to set up debug for PHP in Eclipse, the problem is that I don't know where to find the debug configuration. In this tutorial there's a PHP section with an item "Debug" but in my Eclipse ...
0
votes
0answers
97 views

PhpStorm 6.0 say that a built-in Web server is not available

I am currently using JetBrains PhpStorm 6.0 and when trying to add a PHP Built-in Web Server to use the Debug function with Xdebug as interpreter, and it says that it is only available since PHP 5.4. ...
0
votes
0answers
295 views

PHP 5.4.24 is upgraded, but the previous version 5.2.6 is still running in XAMPP 1.6.7

I'm using XAMPP 1.6.7 with PHP 5.2.6 on Windows 7. I'm trying to upgrade PHP 5.4.24 without upgrading XAMPP. I tried to upgrade XAMPP several times by taking a backup of the htdocs and data folder ...
0
votes
0answers
41 views

Host name of Rediffmail which can be used with IMAP

What is the host name and port number Rediff provides which can be used with IMAP to access emails received.
0
votes
0answers
43 views

How to reset the Apache web server password on Mac?

When I try to start the Apache web server on our Mac it asks for a password. I forgot the password and I know that I was the one who put the password on it because I'm the only person in our family ...
0
votes
0answers
101 views

How do I unformat unused rows in libreoffice calc columns to reduce loading time/memory use in PHPExcel

I have just started using PHPExcel to try to read data for application development. I have found that a few of my libreoffice calc 3.4 spreadsheets can be read quickly while most take a very long ...
0
votes
0answers
51 views

Enabling PHP on a SSL website in Virtualmin

I have PHPMyAdmin installed on my server (from apt-get, Ubuntu 13.10) and force it to run secure. But when I go to it it just server the PHP pages as plain text. The main/default website works fine in ...
0
votes
0answers
109 views

How do I set up an Event Viewer filter to show only PHP errors?

I'm running PHP on Windows Server 2008. I have figured out how to log errors to Event Viewer. How do I create a filtered view to show me only PHP errors? Can I set up a view that only shows PHP ...
0
votes
0answers
99 views

CentOS upgrade PHP compile modules

I'm currently using CentOS 6.4 which by default comes with PHP 5.3.3 (installed via yum install php). I now wish to upgrade to the latest version of PHP. I already downloaded and compiled PHP. ...
0
votes
0answers
205 views

set open_basedir on php.ini

some scanning tool program recommends to set my open_basedir on php.ini for one of my website inside /var/www/my_site im not running any virtualhost, so i access the website basically by typing the ...
0
votes
0answers
538 views

Can't install php-fpm: dependency issues

I'm trying to install php-fpm for my nginx server. Trying to install through yum (yum --enablerepo=remi install php-fpm php-mysql), I get the next error: Error: Package: ...
0
votes
0answers
71 views

Killing a process which ran for a lot of time or is using a lot of memory

I am not sure whether this question belong to Stack Overflow or here, but here we go. I am designing a online 'C' compiler, which will compile and invoke the program if compilation succeeded. So ...
0
votes
0answers
336 views

Apahce proxy throws error connecting to a third party

Connection to a certain thirdparty service via php curl throws this error: CURL error: Received HTTP code 403 from proxy after CONNECT The apahe error log on the proxy throws this: Connect to ...
0
votes
0answers
115 views

Automatically resize image on the shorter side regardless of orientation in imagemagick

Im struggling to resize an image regardless of orientation using imagemagick, is the program that terrible that a basic detection method is not even included? Do I have to now go and check the ...
0
votes
0answers
78 views

LAMP + SSH2 extension libraries

I'm running a Lubuntu distribution with LAMP installed trough "tasksel". I want to install the ssh2 lib extension, but I can't make it works. apt-get install libssh2-1-dev libssh2-php After ...
0
votes
0answers
46 views

Building php module on linux - lpsolve55

I'm trying to install a php model called lpsolve. I installed it on OS, now trying to make a use of it for php. I installed them as explained here: http://jeyroz.tumblr.com/post/605709794/lpsolve-php ...
0
votes
0answers
51 views

How to make Sublime Text highlight “$this->” for PHP?

How do I make Sublime Text highlight $this-> for PHP files?
0
votes
0answers
52 views

Routing SSH connection via PHP webserver

I have a interesting task I'm trying to do, looking for help :) Basically, I have a home Ubuntu server box. On this box, it has a cron job to load a webpage on my web server that is hosted on a ...
0
votes
0answers
272 views

Getting an audio file from a streaming PHP script in an HTML5 video tag

I'm trying to download the raw audio file from a specific site. The page contains the following HTML: <html> <body> <video controls="" autoplay="" name="media"> ...
0
votes
0answers
73 views

DKIM only filters from pine, not php mail

I've setup DKIM filters by following the steps on this page: http://blog.mixu.net/2009/11/03/setting-up-spf-senderid-and-dkim-on-centos-5-3-using-sendmail/ I've verified that DKIM Signature headers ...
0
votes
0answers
49 views

Apache doesn't start in Ubuntu

I'm trying to get my apache2 to work under Ubuntu. I've installed all packages from MySQL to PHP and Apache. When I program on PHP, the PHP scripts aren't recognized and aren't interpreted. I ...
0
votes
0answers
44 views

Install PHP 5.3 for one directory only

I am on a CentOS 6 VPS, with Apache & PHP 5.4. I need to have PHP 5.3 on only one folder, but no where else. How do I install PHP 5.3 without conflicting with my current PHP installation and ...
0
votes
0answers
612 views

How to install PHP driver for Informix?

In my company I am using Windows 8, IBM Informix Dynamic Server, XAMPP v3.2.1, IBM Informix Client SDK 4.10 (64-bit). I have tried downloading php_pdo_informix.dll, php_pdo.dll, all I've got was: ...
0
votes
0answers
74 views

unable to move files to others dirs on wordpress

I have a website in wordpress and something has happened that I've never seen before. I tried to do uploads, the first upload worked, but the second always show me a error message like this: Warning: ...
0
votes
0answers
365 views

How to downgrade PHP 5.4 to 5.3? Centos 6

So I need to downgrade to 5.3 because of my script uses session_register, and it has been removed in php 5.4. People have linked me to code that I should add to the script where the issue occurs, but ...
0
votes
0answers
301 views

PHP Unknown algorithm. Expected HMAC-SHA256

I am getting a constant error of mod_fcgid: stderr: Unknown algorithm. Expected HMAC-SHA256 from my apache logs. I am wondering why PHP is complaining since the hash module is installed. My PHP ...
0
votes
0answers
90 views

MySQL will not work on Windows 7

I am having problems with MySQL, basically I bought a book – PHP and MySQL in easy steps. In the book it tells you to download Abyss server, then you must download PHP and MySQL. So I done that. ...
0
votes
0answers
88 views

Installing php mail() function

I have recently set up a CentOS 6.4 server using the minimalistic installation. I have a working version of PHP up and running, but I want to be able to use the mail() function in PHP. What do I ...
0
votes
0answers
193 views

Step by Step to install postfix using putty

I have problem with my php mail(). I have check smtp server is enabled. php.ini is as follows: [mail function] ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ...
0
votes
0answers
129 views

Two errors on error log when trying to use ZF2 on CentOS with PHP 5.3.24

I am trying to use zend framework 2, i follow these instructions on centos6 via ssh. http://framework.zend.com/manual/2.0/en/user-guide/skeleton-application.html and when trying to start my website ...
0
votes
0answers
38 views

Is there a different command for php 5.4?

I have a webserver (on bluehost) that says to run php 5.4 but when I try to run php --version then I get 5.2.17 printed. Is there some special parameter or different command to get version 5.4? OR ...
0
votes
0answers
490 views

How to allow apache to execute R binary from PHP exec() without disabling SELinux?

I have R installed in /opt/R of webserver. I need to execute script.r (In R BATCH mode) that is on directory /var/www/html/ using PHP function exec(). SELinux is enabled in the webserver. I suppose ...
0
votes
0answers
254 views

nginx + php5-fpm download files error

I have a wordpress blog running on a nginx/php5-fpm combo and it works great. Hardware is a Debian Squeeze with 256mb of ram. Lately (since 3 days ago) file downloading became nearly impossible, as ...
0
votes
0answers
422 views

installed WAMP addons, now wamp won't start

I was running Apache 2.2.21 (x64) and php 5.3.10 (x64) but I need to run the x32 versions so I can get ioncube to run. The support forums on the wamp website I can install any of the addons and it'll ...
0
votes
0answers
451 views

Install Php-pear to /usr/share Raspbian (debian)

I am running Raspbian on my Pi and have installed PHP-pear, I have some software that requires PHP-pear but is normally installed on a Fedora based machine so pear is normally found at /usr/share/pear ...
0
votes
0answers
434 views

Install SOAP on PHP 5.4.13

We recently started using MediaTemple for our hosting and only just realized that SOAP is not enabled in the PHP build. None of us are very experienced system admins so we asked MediaTemple whom ...
0
votes
0answers
503 views

Apache2 HTTP Error 500 when attempting to access localhost, no error in log

In Ubuntu, I'm trying to setup my PHP website locally in Apache2. I am able to get the "It works!" page to show when I navigate to localhost in the browser. I then copied the default site in the ...
0
votes
0answers
476 views

getting following error while installing ffmpeg-php on PHP v5.4.14 / CentOS 5.9

Having trouble installing ffmpg-php on centos, SSH shows following error after commands: ./configure make make install ..... /usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:1215: warning: ...
0
votes
0answers
111 views

PHP server cache (X-cache) problems

Lately my PHP server (paid host at One.com) has been having a huge delay (approx. 15 minutes) from I change something in my code, to the actual change in the files. When I log in to the FTP, the ...
0
votes
0answers
85 views

Create two partial php.ini files

I want to two split php.ini into two files so that I can move important entries to a new file. I think it is a .ini file so, any rule for creating partial .ini files will also apply to it. Is it ...
0
votes
0answers
478 views

PHP does not work on alias (XAMPP)

I trying to make alias on my local machine with XAMPP for my PHP project. I added follow in httpd.conf: Include "conf/alias/*" And make two files for aliases, one of them is like: Alias /aiuu ...